Thursday, January 31, 2013

Find Domain Controller using Command prompt

How to find Domain Controller on your network using Command line??


  1. Open the "Command Prompt" 
  2. Type "net view /domain" (without quotes) into the Command Prompt window to view a list of all the domains on the network , and then press "Enter." 
  3. Write down the name of the domain that you want to find the domain controller for.
  4. Type "nltest /dsgetdc:domainname" (without quotes) into the "Command Prompt" window, where "domainname"  is the name of the domain you selected in step 3. Press "Enter."
  5.  The name of the domain controller is given to the right of the label "DC:"

No comments:

Post a Comment