Use this when changes made on one domain controller do not appear on others, or when planning sites and replication between locations.
Active Directory Replication
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.
1. repadmin /replsummary — fails/largest delta.
2. repadmin /showrepl <dc> — error per partner.
3. Common errors: 1722 (RPC), 8453 (access), 1256, 8524 (DNS).
4. DNS and time first.
5. Force: repadmin /syncall /AdeP.
change on a DC → USN → partners pull changes per topology → converge
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
repadminPrimary Commands
Configuration and operational commands for this Topic.
repadminReferenceCheck and manage Active Directory replication.
Windows / Windows Server / PowerShell · mixeddcdiagReferenceRun domain controller diagnostics.
Windows / Windows Server / PowerShell · mixedGet-ADReplicationPartnerMetadata -Target <dc>ReferenceReturns replication partner data for a domain controller, including last success, last attempt and last result.
Use when: You want replication status as objects for a report or a script.
Quick note: Use -Target * -Scope Server to query all DCs. LastReplicationResult 0 means success.
Windows / Windows Server / PowerShell · control plane · verifiesVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- DCs restored from snapshots without VM-GenerationID support (USN rollback).
- Site and subnet definitions missing, so clients use far-away DCs.
Subtopics
Go one level deeper into this subject.
AD replication sends changes from the DC where they were made to other DCs, tracked by update sequence numbers.
Subtopic Naming ContextsNaming contexts (directory partitions) are the separately replicated parts of AD: Schema and Configuration for the whole forest, one Domain partition per domain, and application partitions such as DomainDnsZones.
Subtopic SitesAD sites map subnets to physical locations so clients find a nearby domain controller and replication between locations is controlled.
Subtopic Site LinksSite links connect AD sites and define the cost, replication interval and schedule between them.
Subtopic KCCThe 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.
Subtopic ISTGThe ISTG (Inter-Site Topology Generator) is one domain controller per site that creates the replication connections between sites, choosing bridgehead servers based on site links and costs.
Subtopic Replication TroubleshootingTroubleshoot 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.
- 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.
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
ReferenceWhy it matters1 section · depth on demand
How it works
Every DC holds a writable copy of the directory (except RODCs). Changes are tracked with USNs and replicated as attributes, not whole objects. Within a site, DCs notify partners about changes within seconds; between sites, replication follows the site link schedule (default every 180 minutes). The KCC builds the topology automatically. Conflicts are resolved by version number, then timestamp.
ReferenceImportant terms & boundaries1 section · depth on demand
Commands
repadmin /replsummary
repadmin /showrepl * /csv > repl.csv
dcdiag /test:replications
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Active Directory Replication. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/ · confidence 94%