Check and Force Active Directory Replication with repadmin

Run these from an elevated prompt on a domain controller (or a machine with RSAT).

1. Replication health summary

repadmin /replsummary

2. Inbound replication requests in the queue

repadmin /queue

3. Replication status per partner and partition

repadmin /showrepl
repadmin /showrepl * /csv > repl.csv

4. Synchronize with all replication partners

repadmin /syncall /AdeP

A = all partitions, d = show DNs, e = across sites, P = push changes out from this DC.

5. Make the KCC recalculate the topology

repadmin /kcc

The KCC (Knowledge Consistency Checker) checks and creates the connections between DCs. It runs on its own every 15 minutes; this forces it now.

6. Force replication of one partition from a specific DC

repadmin /replicate <DestinationDC> <SourceDC> <NamingContext>

Extra check:

dcdiag /test:replications

More info.

Written by Daniel Ruiz Peláez, Systems & Infrastructure Engineer (Linux, VMware, Proxmox, Active Directory, networking and security). These are notes from real problems I have solved.

← Back to all posts