Pcornel
Windows

Active Directory Replication

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

Back to the Topic

Answer

Active Directory replication copies directory changes between domain controllers using multi-master replication, so every DC eventually holds the same objects. Sites, site links and the KCC control the topology.

Remember

  • Replication is eventually consistent; a change can take minutes or hours between sites.
  • Successful replication ≠ healthy DNS or SYSVOL.
  • USN rollback from a restored DC snapshot breaks replication silently.

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

Get-ADReplicationPartnerMetadata -Target <dc>
Returns replication partner data for a domain controller, including last success, last attempt and last result.
repadmin
Check and manage Active Directory replication.
dcdiag
Run domain controller diagnostics.

Verify in this order

change on a DC → USN → partners pull changes per topology → converge

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=3246

Confirmation

Confirm action

Continue?