Saturday, May 8, 2010

Domain and DNS Troubleshooting

These are some of the commands I commonly run to troubleshoot Domain and DNS problems.

Repadmin /bind

dcdiag /s:DomainControllerName /u:DomainName\Username

dcdiag /s:DomainControllerName /u:DomainName\Username /test:Connectivity

dcdiag /s:DomainControllerName /u:DomainName\Username /test:Replications

dcdiag /s:DomainControllerName /u:DomainName\Username /test:Topology

dcdiag /s:DomainControllerName /u:DomainName\Username /test:NetLogons

dcdiag /s:DomainControllerName /u:DomainName\Username /test:KnowsOfRoleHolders

dcdiag /s:DomainControllerName /u:DomainName\Username /test:FsmoCheck

dcdiag /s:DomainControllerName /u:DomainName\Username /test:kccevent

dcdiag /s:DomainControllerName /u:DomainName\Username /test:DcPromo

              /DnsDomain:DomainDNSName /ChildDomain

dcdiag /s:DomainControllerName /u:DomainName\Username /test:DNS

nltest /server:TargetDCname /sc_query:TargetTrustedDomain

nltest /server:TargetDCname /dcname:TargetTrustedDomain

nltest /server:TargetDCname /sim_sync:TargetDomain

Published: 3/13/2008 8:44 PM

No comments:

Post a Comment