Domain controller down or AD replication broken
A domain controller died or stopped replicating. Keep sign-in working on the healthy DCs, find what is broken, and avoid the moves that damage AD permanently.
What you are probably seeing
- Monitoring says a domain controller (DC) is down, or a DC shows replication errors in the Directory Service event log.
- Some users get old passwords accepted and new ones rejected, or group changes “do not arrive” at some sites.
- New computers fail to join the domain, or logons are slow at one site.
- If this was your only DC: nobody can sign in to domain resources, and file shares and printing fail. That is a restore, see Decision points.
First 5 minutes
- Write the time, the DC name and the symptoms in the log.
- From a healthy DC or an admin workstation, find which DCs still answer (check below).
- Get a replication summary across all DCs (check below).
- Find out which operation master (FSMO) roles the broken DC holds (check below). Write them in the log.
- Check that clients and servers do not point their DNS only at the broken DC. If DHCP hands out that DC as the only DNS server, users will fail even though other DCs are healthy.
Do not touch yet
- Do not seize FSMO roles in the first hour.
- Do not revert a DC to a VM snapshot or copy its disk from another machine. Microsoft lists these among the causes of USN rollback (USN rollback, Microsoft Learn).
- Do not delete the broken DC’s computer object or run metadata cleanup yet.
- Do not force replication from a DC that has been offline longer than the tombstone lifetime (Event ID 2042, Microsoft Learn).
Checks
Which DCs answer?
Get-ADDomainController -Discover -Service PrimaryDC
Get-ADDomainController -Filter *
Source: Get-ADDomainController, Microsoft Learn
The first line finds the DC that holds the PDC emulator role, if it answers. The second lists every DC registered in the domain, so you can compare it with what answers.
Replication summary across all DCs
On a healthy DC, in an elevated prompt:
repadmin /replsummary
repadmin /showrepl
Source: Repadmin command reference, Microsoft Learn and Diagnose replication failures, Microsoft Learn
Or in PowerShell:
Get-ADReplicationFailure -Target <yourdomain.example> -Scope Domain
Source: Get-ADReplicationFailure, Microsoft Learn
How-to: H3 Check AD replication health with repadmin and dcdiag
- Failures only to and from one DC: the problem is that DC or its network path. The rest of AD is healthy.
- Failures between many DCs: look at DNS and the network first, then escalate.
- The last successful replication of a DC is older than the tombstone lifetime: stop. That DC must not replicate again until you follow Microsoft’s guidance for Event ID 2042.
Run the DC health tests
dcdiag /s:<dc-name> /test:Replications
dcdiag /e /q
Source: dcdiag, Microsoft Learn
/e tests every DC in the forest and /q shows only errors. Write the failing test names in the log.
Which FSMO roles did the broken DC hold?
Get-ADDomain | Select-Object PDCEmulator, RIDMaster, InfrastructureMaster
Get-ADForest | Select-Object SchemaMaster, DomainNamingMaster
Source: Get-ADDomain and Get-ADForest, Microsoft Learn
Decision points
- One of several DCs is down and it holds no FSMO roles: users keep working on the others. Fix DNS settings that point only at it, then repair or rebuild the DC in working hours.
- It holds FSMO roles and you expect it back within hours: wait. Transfer the roles cleanly once it is back, if you still want to move them.
- It holds FSMO roles and it will not come back: seizing the roles is the path, but it is permanent. Microsoft’s guidance says that if you seized the roles, you remove the previous role holder from the domain (transfer or seize, Microsoft Learn), followed by metadata cleanup. Do this in daylight with that guidance open, not at 3am.
- It was your only DC: this is a restore from a system-state or full backup of that DC, following your backup product’s procedure and Microsoft’s forest recovery guide. Not a snapshot revert.
- Every 30 minutes: update management.
Alone?
You drive and you write the log. Seizing roles and metadata cleanup are permanent: if nobody can check your plan, wait for daylight and run degraded on the healthy DCs.
Stop and escalate when
- More than one DC is failing, or replication fails between many DCs.
- A DC’s last replication is older than the tombstone lifetime.
- You see signs of USN rollback (see the Microsoft article above).
- Accounts, groups or Group Policy changed that nobody on your team changed. Treat it as a security incident: R1 Ransomware covers containment.
- It was your only DC and you have no backup of it that you have restored before.
What to tell management
“One of our domain controllers [failed / stopped replicating] at [time]. Sign-in [still works through the other controllers / is down]. I am [repairing it / restoring it]. Next update at [time + 30 min].”
Points of no return
- Seizing FSMO roles: the old holder must never come back on the network.
- Metadata cleanup removes the DC from AD for good.
- A snapshot revert of a DC can cause USN rollback.
After it is back up
Check replication again with the checks above and log the result. Make sure every site has more than one DNS server it can use. Run the incident review: P6 Handover, drills and learning after incidents, and schedule a DC restore test in P2 Backup verification cadence.