Pcornel
Windows · Active Directory Replication

Replication Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3253

Back to the Topic

Answer

Troubleshoot AD replication with repadmin /replsummary and /showrepl, dcdiag /test:replications, DNS and time checks on all DCs, firewall ports and the Directory Service event log for errors like 1311 or 2042.

Remember

  • Check DNS and time on all DCs before anything else.
  • Each repadmin error code points to a specific cause.
  • Past tombstone lifetime, a DC must be rebuilt, not fixed.

First checks

  • repadmin /replsummary — replication status summary
  • repadmin /showrepl <dc> — inbound partners and last results
  • repadmin /queue <dc> — pending inbound replication
  • Get-ADReplicationFailure -Target <dc> — failures
  • dcdiag /test:replications — replication test

Commands

repadmin /replsummary
Summarizes Active Directory replication for every domain controller: largest delta, failures and errors.
repadmin /showrepl
Shows inbound replication status for each partner and naming context on a domain controller.

Verify in this order

failure → error code → network/DNS/time/permission cause → fix → sync

Where it usually breaks

First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3253

Confirmation

Confirm action

Continue?