Pcornel
Windows · Active Directory Replication

Sites

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

Back to the Topic

Answer

AD sites map subnets to physical locations so clients find a nearby domain controller and replication between locations is controlled. Each subnet must be assigned to a site in AD Sites and Services.

Remember

  • A client in an unmapped subnet may authenticate to a distant DC.
  • nltest /dsgetsite shows the site a client thinks it is in.
  • Each site with users should have a DC or a planned fallback.

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

Verify in this order

intra-site (change notification) and inter-site (schedule) replication

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

Confirmation

Confirm action

Continue?