dcdiag

 

 


dcdiag Usage

 

options:

/a                         # Tests all AD servers on this site.

/v                         # Verbose. Prints extended information.

/q                         # only display the errors

/test:<Test>          # Runs this <test> only. i.e. "/test:dns"

/fix

# Affects the MachineAccount test only.

# This parameter causes the test to fix the Service Principal Names (SPNs) on the Machine Account object of the domain controller.

/f:<LogFile>          # Redirects all output to a log file (LogFile)

 

Example:

dcdiag /f:c:\dcdiag.log

 

Successful result:


Domain Controller Diagnosis

Performing initial setup:
   Done gathering initial info.

Doing initial required tests
   
   Testing server: Default-First-Site\AD03
      Starting test: Connectivity
         ......................... AD03 passed test Connectivity

Doing primary tests
   
   Testing server: Default-First-Site\AD03
      Starting test: Replications
         ......................... AD03 passed test Replications
      Starting test: NCSecDesc
         ......................... AD03 passed test NCSecDesc
      Starting test: NetLogons
         ......................... AD03 passed test NetLogons
      Starting test: Advertising
         ......................... AD03 passed test Advertising
      Starting test: KnowsOfRoleHolders
         ......................... AD03 passed test KnowsOfRoleHolders
      Starting test: RidManager
         ......................... AD03 passed test RidManager
      Starting test: MachineAccount
         ......................... AD03 passed test MachineAccount
      Starting test: Services
         ......................... AD03 passed test Services
      Starting test: ObjectsReplicated
         ......................... AD03 passed test ObjectsReplicated
      Starting test: frssysvol
         ......................... AD03 passed test frssysvol
      Starting test: frsevent
         There are warning or error events within the last 24 hours after the

         SYSVOL has been shared.  Failing SYSVOL replication problems may cause

         Group Policy problems.
         ......................... AD03 failed test frsevent
      Starting test: kccevent
         ......................... AD03 passed test kccevent
      Starting test: systemlog
         ......................... AD03 passed test systemlog
      Starting test: VerifyReferences
         ......................... AD03 passed test VerifyReferences
   
   Running partition tests on : Schema
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
   
   Running partition tests on : Configuration
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
   
   Running partition tests on : scfulfil
      Starting test: CrossRefValidation
         ......................... scfulfil passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... scfulfil passed test CheckSDRefDom
   
   Running enterprise tests on : mydomain.local
      Starting test: Intersite
         ......................... mydomain.local passed test Intersite
      Starting test: FsmoCheck
         ......................... mydomain.local passed test FsmoCheck

 


Test replication only

 

dcdiag /test:replications

 

Creative Commons license icon Creative Commons license icon