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
How would I find out which server its on without having to remote into each server to see if it is there.
Tony
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
FYI, netdom query dc /Domain:<DomainDNSName will show you all of your DCs
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.
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