Link to home
Start Free TrialLog in
Avatar of picsnet
picsnet

asked on

Find Active Directory

Does anyone know how to find out which computer is the domain controller.  I remoted into a network, and they have several servers, and I went to the one he told me thought it was on, and I didn't see it.  

How would I find out which server its on without having to remote into each server to see if it is there.  

Tony
Avatar of Joe
Joe
Flag of United States of America image

This link should help you. The easiest way is to go to the command prompt and type in the below.

http://codeidol.com/active-directory/active-directory/Domain-Controllers,-Global-Catalogs,-and-FSMOs/Finding-the-Domain-Controllers-for-a-Domain/



To list all DCs in a domain, you can use netdom, dsquery, or adfind as follows:

      > netdom query dc /Domain:<DomainDNSName>


Joe
ASKER CERTIFIED SOLUTION
Avatar of dhoffman_98
dhoffman_98
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
FYI, netdom query dc /Domain:<DomainDNSName will show you all of your DCs
Avatar of picsnet
picsnet

ASKER

I know it probably will, but his solution was simpler and it was the one that I used.
It's ok, I was just letting you know.
Joe is correct with his solution, but I think if I read the question correctly, the original poster was looking for a quick solution to find one DC. While netdom will give a list of all of them, that may be more than what the OP really needed.