Jump to content

How network discovery works in terminal server?


Recommended Posts

Posted

Hi,

 

I am developing an application which shows the user all the terminal servers

in a network.

 

So can you explain the working of network discovery or direct me to some

article which does so.

--

thanks

  • Replies 3
  • Created
  • Last Reply
Guest Vera Noest [MVP]
Posted

Re: How network discovery works in terminal server?

 

You could use "query termserver" and then pipe the output into "query

user". Or use WTSEnumerateServers. Check on MSDN:

 

http://msdn2.microsoft.com/en-us/library/aa383832(VS.85).aspx

 

_________________________________________________________

Vera Noest

MCSE, CCEA, Microsoft MVP - Terminal Server

TS troubleshooting: http://ts.veranoest.net

___ please respond in newsgroup, NOT by private email ___

 

=?Utf-8?B?SmFzc2k=?= <Jassi@discussions.microsoft.com> wrote on 13

feb 2008 in microsoft.public.windows.terminal_services:

> Hi,

>

> I am developing an application which shows the user all the

> terminal servers in a network.

>

> So can you explain the working of network discovery or direct me

> to some article which does so.

Posted

Re: How network discovery works in terminal server?

 

Hi,

 

If I use WTSEnumerateServers API then whether it will be enumerate all the

Terminal Servers in the domain even if there is no Active Directory in that

domain.

 

Is it correct that if there is no active directory in the network the

Terminal Server uses NetBios broadcast to discover other terminal servers in

the network

else if there is Active Directory then it use LDAP query to active directory?

 

--

thanks

Jassi

 

"Vera Noest [MVP]" wrote:

> You could use "query termserver" and then pipe the output into "query

> user". Or use WTSEnumerateServers. Check on MSDN:

>

> http://msdn2.microsoft.com/en-us/library/aa383832(VS.85).aspx

>

> _________________________________________________________

> Vera Noest

> MCSE, CCEA, Microsoft MVP - Terminal Server

> TS troubleshooting: http://ts.veranoest.net

> ___ please respond in newsgroup, NOT by private email ___

>

> =?Utf-8?B?SmFzc2k=?= <Jassi@discussions.microsoft.com> wrote on 13

> feb 2008 in microsoft.public.windows.terminal_services:

>

> > Hi,

> >

> > I am developing an application which shows the user all the

> > terminal servers in a network.

> >

> > So can you explain the working of network discovery or direct me

> > to some article which does so.

>

Guest Vera Noest [MVP]
Posted

Re: How network discovery works in terminal server?

 

I'm sorry, I haven't the faintest idea.

Someone else, maybe?

_________________________________________________________

Vera Noest

MCSE, CCEA, Microsoft MVP - Terminal Server

TS troubleshooting: http://ts.veranoest.net

___ please respond in newsgroup, NOT by private email ___

 

=?Utf-8?B?SmFzc2k=?= <Jassi@discussions.microsoft.com> wrote on 14

feb 2008 in microsoft.public.windows.terminal_services:

> Hi,

>

> If I use WTSEnumerateServers API then whether it will be

> enumerate all the Terminal Servers in the domain even if there

> is no Active Directory in that domain.

>

> Is it correct that if there is no active directory in the

> network the Terminal Server uses NetBios broadcast to discover

> other terminal servers in the network

> else if there is Active Directory then it use LDAP query to

> active directory?


×
×
  • Create New...