Check AD replication health with repadmin and dcdiag
A routine health check of domain controller replication, what the results mean, and when to stop and escalate.
Before you start
- Where: an elevated prompt on a domain controller, or on an admin workstation with the AD DS tools (RSAT) installed.
- Rights: a Domain Admins member, or delegated rights to read replication status.
- Timing: run it when nothing is being changed, and keep the output. The value of this check is in comparing today with last month.
- If a DC is actually down tonight, use R6 Domain controller down instead of this routine check.
Steps
1. One summary for the whole forest
repadmin /replsummary
Source: Repadmin command reference, Microsoft Learn
Microsoft: this “identifies domain controllers that are failing inbound replication or outbound replication, and summarizes the results in a report”. Look at the largest delta and the fails column for every DC.
2. Detail for one DC that looks wrong
repadmin /showrepl <dc-name>
Source: Repadmin command reference, Microsoft Learn
It shows, per partition and per partner, when inbound replication was last tried and whether it worked. Write down the partner, the partition and the error number of anything that failed.
3. The same failures in PowerShell
Get-ADReplicationFailure -Target <yourdomain.local> -Scope Domain
Source: Get-ADReplicationFailure, Microsoft Learn
Useful in a script that runs every week and saves the result.
4. DC health tests
dcdiag /s:<dc-name> /q
Source: dcdiag, Microsoft Learn
/q prints only errors. For the replication test alone, use dcdiag /s:<dc-name> /test:Replications. Microsoft warns to use /e (all servers in the enterprise) with care over slow WAN links.
5. Look up each error number
For each error number from steps 2 to 4, start at Microsoft’s Diagnose Active Directory replication failures, which links to a page per common error.
What good and bad look like
- Good:
failsis 0 for every DC, and the largest delta is in the range of your normal replication schedule (minutes inside a site, the site link interval between sites). dcdiag/qprints no failed tests. - Bad, fix this week: one partner fails with the same error on every partition, or the largest delta keeps growing between checks.
- Bad, stop and escalate: a DC has not replicated for longer than the tombstone lifetime, or the errors mention lingering objects. Microsoft explains why such a DC must not simply be forced to replicate (lingering objects).
- Bad, maybe not AD: errors that point at name resolution or RPC. Check DNS and firewalls between the DCs before touching AD.
Traps
- Forcing replication to “fix” it.
repadmin /syncallmakes the DC replicate with all partners. It does not fix the cause and can spread a problem. Read the error first. - Running from the broken DC only. Its own view may be stale. Compare with a healthy DC.
- Ignoring old warnings. A DC that fails quietly for months is the one that goes past the tombstone lifetime.
- Cleaning up metadata of a “dead” DC that is only switched off. Confirm it will never return first.
Undo
Steps 1 to 5 only read. There is nothing to undo.
Record it
Example included. The row marked Example is made up to show the format. Delete it and add your own rows.
| Date | DCs checked | Fails | Largest delta | dcdiag errors | Action | Initials |
|---|---|---|---|---|---|---|
| Example: 2026-12-03 | DC01, DC02 | 0 | 14 minutes | None | None | AB |