Replication
Cheat sheet · https://pcornel.dk/topic.php?topic=3247
Answer
AD replication sends changes from the DC where they were made to other DCs, tracked by update sequence numbers. Intra-site replication is quick and notification-based; inter-site follows site link schedules.
Remember
- Each change gets an update sequence number (USN) on the originating DC.
- Partners pull changes they have not yet seen.
- Conflicts are resolved by version, then time, then originating DC.
First checks
repadmin /replsummary— replication status summaryrepadmin /showrepl <dc>— inbound partners and last resultsrepadmin /queue <dc>— pending inbound replicationGet-ADReplicationFailure -Target <dc>— failuresdcdiag /test:replications— replication test
Verify in this order
changes → replication partners → convergence
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=3247