Re: Enumerate Windows NT4 *Servers*



Hey Richard! I think I've used your Scripts before - remember the name
:)

Can't use the nTDSDSA object I'm afraid - as I'm looking for NT4
*MEMBER* Servers - already got the Domain Controllers sorted (probably
using snippets of your code actually)

Any ideas about NT4 Member Servers?


Dave




Richard Mueller wrote:

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: NT4 Member server in Acitve Directory
    ... You can run in Windows 2003 interim mode to work together with NT4, if you have no 2000 DC's. ... The functional mode's are valid for Domain controllers. ... I am planning on running the upgrade from NT4 to 2K3 on my NT4 PDC. ... already have several Server 2K3 member servers in the current NT4 ...
    (microsoft.public.windows.server.active_directory)
  • 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)
  • Re: Unable to authenticate to untrusted domain NTLM v2 related issue
    ... computers via a local user account. ... I am having a problem getting XP SP1 clients using NTLM v2 (AD domain ... to authenticate (NT4 SP6 domain B) user credentials. ... afterwards) - but not to any of the member servers which are a mixture ...
    (microsoft.public.win2000.security)
  • Re: NT4 servers wont join the domain
    ... are you talking about NT4 BDCs or normal member servers? ... the AD domain doesn't need to be be in mixed mode - this is just applicable ... AD DC running PDC emulator FSMO is available (if you didn't change it, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Remove Nt4 DC From Active directory
    ... Power down the BDCs and then delete them from the Domain Controllers OU in ... This will handle all replication issues with an NT4 DC. ... need to upgrade them or any of that. ... Windows Server MVP ...
    (microsoft.public.windows.server.migration)