How can I check which domain controller I am logged on to?

Problem:

How can I check which domain controller I am logged on to?

Solution:

Open a command prompt and run either of the commands:

nltest /dsgetdc:mydomain.com

echo %logonserver%

Leave a Reply

Your email address will not be published. Required fields are marked *