Re: Enumerate Windows NT4 *Servers*



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


.



Relevant Pages

  • Re: Enumerate Windows NT4 *Servers*
    ... snippet that also excludes domain controllers from the search results: ... Are you saying the value of operatingSystem is the same for member servers ... Can't use the nTDSDSA object I'm afraid - as I'm looking for NT4 ...
    (microsoft.public.windows.server.scripting)
  • nt4emulator
    ... I have spent the last one year on a migration project from windows NT4 to ... replace all the NT4 domain controllers at once. ... coexist with the new 2003 servers. ... When i disable the nt4emulator settings. ...
    (microsoft.public.windows.server.active_directory)
  • nt4emulator key.
    ... I have spent the last one year on a migration project from windows NT4 to ... replace all the NT4 domain controllers at once. ... coexist with the new 2003 servers. ... When i disable the nt4emulator settings. ...
    (microsoft.public.windows.server.migration)
  • VB.NET Find Windows NT 4 *Servers* in an AD Domain
    ... I have a VB.NET application that is required to find Windows NT4 ... I can find NT BDCs by doing an AD query however NT4 Member Servers ... report the OS as the same as NT4 Workstations. ...
    (microsoft.public.dotnet.languages.vb)
  • Enumerate Windows NT4 *Servers*
    ... I have a VB.NET application that is required to find Windows NT4 ... I can find NT BDCs by doing an AD query however NT4 Member Servers ... report the OS as the same as NT4 Workstations. ...
    (microsoft.public.windows.server.scripting)