How network discovery works in terminal server?

  • Thread starter Thread starter Jassi
  • Start date Start date
J

Jassi

Guest
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
 
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.
 
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.

>
 
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?
 
Back
Top