Re: Enumerate Windows NT4 *Servers*
- From: "Richard Mueller" <rlmueller-NOSPAM@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 8 Jan 2007 14:51:28 -0600
Dave wrote:
I have a VB.NET application that is required to find Windows NT4
Servers on a network. It currently does this by using the Browse List.
This isn't exactly ideal.
I can find NT BDCs by doing an AD query however NT4 Member Servers
report the OS as the same as NT4 Workstations. I've checked the Account
Control attribute too but this is the same.
Any ideas how I can find these member servers without finding
workstations either. Also I don't want to connect to each and every NT4
box to do this.
I am sure there is a way as Windows NT Server manager can do
it...........
If you have Active Directory, domain controllers have objects in the
Configuration container with child objects of class nTDSDSA. The domain
controller objects are in a cn=Servers container in the appropriate Site
container. You can see this using ADSI Edit. The method I use is to use ADO
to find all objects of class nTDSDSA and then the parent object of each is
the domain controller. I have an example VBScript that retrieves the names
of all domain controllers in a domain linked here:
http://www.rlmueller.net/Enumerate%20DCs.htm
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
.
- Follow-Ups:
- Re: Enumerate Windows NT4 *Servers*
- From: davidhomer
- Re: Enumerate Windows NT4 *Servers*
- References:
- Enumerate Windows NT4 *Servers*
- From: davidhomer
- Enumerate Windows NT4 *Servers*
- Prev by Date: listing printer share names on a windows 2000 server
- Next by Date: Re: List all users with Domain administrative priviliges
- Previous by thread: Enumerate Windows NT4 *Servers*
- Next by thread: Re: Enumerate Windows NT4 *Servers*
- Index(es):
Relevant Pages
|