Active Directory

repadmin

SafeAD replication

repadmin /replsummary

Checks replication status and errors between DCs.

Examples

  • repadmin /replsummaryShow replication summary
  • repadmin /showreplInbound replication detail per DC
  • repadmin /replsummary /errorsonlyOnly DCs with errors
  • repadmin /syncall /AdePForce sync of all partitions to all DCs
  • repadmin /queueCheck the replication queue

Syntax

repadmin /replsummary | /showrepl

Key points

  • In replsummary, any DC with non-zero fails/total is where to look. A long largest delta means replication has been stuck for that long.
  • Error 1722 means the RPC server is unreachable (network or firewall), 8453 is an access problem, 8524 is a DNS lookup failure.
  • A DC that has not replicated for longer than the tombstone lifetime (180 days by default) can reintroduce lingering objects if brought back as is.

When it does not work

  • Access denied: run it with Domain Admins rights.
  • If repadmin is missing, add the RSAT AD DS tools.

Before you run it

Read-only.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store