Domain Controller Query Command Line
Checking which domain controller is being used is a quick and easy process.
Domain controller query command line. Still i want to write this post to present simplest way of doing it from a windows xp windows 2003 machine using my favorite command nltest. Netdom query fsmo command line tool. The command completed successfully this output shows the status of your secure channel and the name of the domain controller you are querying.
Jun 18 2013 1 minute read. This must be in domain user format. This article explains dsquery command line tool and hows how you can use this command line tool to get the list of domain controllers based upon your requirement.
Nltest exe dclist domain name example. List of all domain controllers in the forest that hold the fsmo role schema master. Click on command prompt.
On any domain controller open the command prompt. To display all dcs that also hold the global catalog role. The netdom tool is built into windows server 2003 and up.
We can find the domain name of a computer by running the following commnad from command line. Click the start feature and choose run to open the command prompt. A description of this command is.
Dsquery server o rdn forest. On windows 2012 server click the start button and type cmd windows will search and return the command prompt. A quick and easy way to check which domain controller your windows pc is authenticated to via the command line.