Pcornel
Windows · Active Directory Replication

KCC

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

Back to the Topic

Answer

The KCC (Knowledge Consistency Checker) runs on every domain controller and automatically builds the replication topology within a site, creating connection objects so every DC is reached within three hops.

Remember

  • The KCC runs on every DC about every 15 minutes.
  • It never deletes manually created connections.
  • It keeps every DC within three hops inside a site.

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

KCC → computes topology → connection objects

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

Confirmation

Confirm action

Continue?