How to test if AD Connect server has access to Domain Controller (DC).

Published: 06/23/2016
Test if AD Connect server can access Domain Controller (DC).
Login to AD Connect server and run the command below on Command prompt.
nltest /dsgetdc:<Domain>
If AD Connect server can access the DC it will return something similar to the example below.
nltest /dsgetdc:hq
           DC: \\FS2
      Address: \\172.17.9.***
     Dom Guid: 2baf915d-***-408d-****-060fa945b38b
     Dom Name: HQ
  Forest Name: hq.com
 Dc Site Name: Default-First-Site-Name
Our Site Name: Default-First-Site-Name
        Flags: GC DS LDAP KDC TIMESERV WRITABLE DNS_FOREST CLOSE_SITE FULL_SECRET WS
The command completed successfully

 
Category:
ADConnect , 
KB or other URL: