Identify whether the affected domain controllers use DFS Replication (DFSR), then classify each controller by its SYSVOL share, replication state, and DFSR event ID before attempting recovery.
1. Inventory SYSVOL and DFSR state
Run these commands from an elevated Command Prompt on a domain controller:
For /f %i IN ('dsquery server -o rdn') do @echo %i && @(net view \\%i | find "SYSVOL") & echo
For /f %i IN ('dsquery server -o rdn') do @echo %i && @wmic /node:"%i" /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo WHERE replicatedfoldername='SYSVOL share' get replicationgroupname,replicatedfoldername,state
repadmin /replsummary
DFSR state 4 is normal; 2 means initial synchronization, and 5 means an error. A missing WMI instance can also indicate that the controller cannot report its DFSR state. Microsoft recommends diagnosing the affected and upstream controllers before reinitializing SYSVOL; deleting the DFSR database is discouraged and can make local data non-authoritative.^1^
These procedures apply only when SYSVOL uses DFSR. Evidence includes a SYSVOL Share WMI instance and events under Event Viewer → Applications and Services Logs → DFS Replication. If the domain still uses FRS, do not apply the msDFSR-* recovery procedure; use the separate FRS checks, including REPADMIN /SHOWREPS, NTDS connection objects, DNS resolution, replica-set membership, and subscription validation.^2^
2. Select the recovery branch by event ID
Before changing replication membership, copy every DC’s SYSVOL contents—including PreExisting and Conflict and Deleted, if present—to a safe location.
3. Non-authoritative recovery for individual affected DCs
Use this when at least one DC has a verified, current SYSVOL and only selected DCs need repair:
- Open
adsiedit.msc and locate the affected DC’s object:
CN=SYSVOL Subscription,CN=Domain System Volume,
CN=DFSR-LocalSettings,CN=<server>,OU=Domain Controllers,DC=<domain>
- Set
msDFSR-Enabled=FALSE.
- Force AD replication using Active Directory Sites and Services → NTDS Settings → connection → Replicate Now. Validate both partners:
REPADMIN /SHOWREPS <sourceDC>
REPADMIN /SHOWREPS <affectedDC>
- Run
DFSRDIAG POLLAD on the affected DC and confirm event 4114.
- Set
msDFSR-Enabled=TRUE, replicate AD again, and rerun DFSRDIAG POLLAD.
- Confirm events 4614, followed by 4604, and verify
net view \\<affectedDC> lists SYSVOL.^3^
4. Authoritative recovery only when the entire domain requires it
Use this domain-wide operation only when every DC requires initialization—for example, all DCs are state 5 with event 4012—and after identifying the DC containing the newest valid SYSVOL:
- Set DFSR startup to Manual and stop DFSR on every DC.
- In ADSI Edit, set
msDFSR-Enabled=FALSE on every DC’s SYSVOL Subscription.
- On the chosen authoritative DC only, also set
msDFSR-options=1.
- Replicate AD throughout the domain and validate with
REPADMIN /SHOWREPS.
- Start DFSR only on the authoritative DC; confirm 4114.
- Set its
msDFSR-Enabled=TRUE, replicate AD, then run:
DFSRDIAG POLLAD
- Confirm 4602 on the authoritative DC.
- Start DFSR on every other DC; confirm 4114.
- Set
msDFSR-Enabled=TRUE on each non-authoritative DC and run DFSRDIAG POLLAD.
- Confirm 4614, then 4604, verify the SYSVOL shares, and restore DFSR startup to Automatic on every DC.^3^
References
- How to troubleshoot missing SYSVOL and Netlogon shares
- Troubleshoot missing SYSVOL and NETLOGON shares on Windows domain controllers
- How to force authoritative and non-authoritative synchronization for DFSR-replicated sysvol replication