Apr
13

How to run DCDIAG to test the health of an active directory network

DCDIAG stands for domain controller diagnostics is a free tool from Microsoft to test the overall health of an active directory network. This tool (support tool is the exact name) can be download from Microsoft website or can be found as part of the resource kit on a windows 2003 server CD. I will list the command that I usually suggest to run to test various items. You can copy and paste it a text file and save it as a command or batch file to run it. The output will be copied to the root of the C drive as you can see from the script. Please leave me comments as I am interested in your suggestions.

dcdiag /test:Connectivity /e /f:c:\dnsConnectivity.log
dcdiag /test:Replications /e /f:c:\dnsReplications.log
dcdiag /test:Topology /e /f:c:\dnsTopology.log
dcdiag /test:CutoffServers /e /f:c:\dnsCutoffServers.log
dcdiag /test:NCSecDesc /e /f:c:\dnsNCSecDesc.log
dcdiag /test:NetLogons /e /f:c:\dnsNetLogons.log
dcdiag /test:Advertising /e /f:c:\dnsAdvertising.log
dcdiag /test:KnowsOfRoleHolders /e /f:c:\dnsKnowsOfRoleHolders.log
dcdiag /test:Intersite /e /f:c:\dnsIntersite.log
dcdiag /test:FsmoCheck /e /f:c:\dnsFsmoCheck.log
dcdiag /test:RidManager /e /f:c:\dnsRidManager.log
dcdiag /test:MachineAccount /e /f:c:\dnsMachineAccount.log
dcdiag /test:Services /e /f:c:\dnsServices.log
dcdiag /test:OutboundSecureChannels /e /f:c:\dnsOutboundSecureChannels.log
dcdiag /test:ObjectsReplicated /e /f:c:\dnsObjectsReplicated.log
dcdiag /test:frssysvol /e /f:c:\dnsfrssysvol.log
dcdiag /test:frsevent /e /f:c:\dnsfrsevent.log
dcdiag /test:kccevent /e /f:c:\dnskccevent.log
dcdiag /test:systemlog /e /f:c:\dnssystemlog.log
dcdiag /test:RegisterInDNS /DnsDomain:nrdc.net /e /f:c:\dnsRegisterinDNS.log
dcdiag /test:CrossRefValidation /e /f:c:\dnsCrossRefValidation.log
dcdiag /test:CheckDRefDom /e /f:c:\dnsCheckDRefDom.log
dcdiag /test:VerifyReplicas /e /f:c:\dnsVerifyReplicas.log
dcdiag /test:VerifyReferences /e /f:c:\dnsVerifyReferences.log
dcdiag /test:VerifyEnterpriseReferences /e /f:c:\dnsVerifyEnterpriseReferences.log
dcdiag /test:CheckSecurityError /e /f:c:\dnsCheckSecurityError.log
dcdiag /test:DNS /e /f:c:\dnsDNS.log

Comments

  1. TW says:

    Hi this is great however i have an issue with deploying Windows RT 2008 and it states Broken Delegated domain http://www.domain.local

    Auth – pass
    Basc – pass
    Forw – pass
    Del – Fail
    Dyn – pass
    RReg – pass

    I just need to know what to do to have my tests pass and not fail

  2. Rick says:

    Howdy! I’m trying to run this as a .vbs but I keep getting an error on character 8, the “/” character. Is there anything I can do to fix this?

Speak Your Mind

*

© tecmaze.com . The content is copyrighted to tecmaze.com and may not be reproduced on other websites