Diagnose Active Directory replication problems between domain controllers.
Repadmin may be installed if you select the Active Directory Domain Services Tools as part of the RSAT feature or
by default, with the AD DS or AD LDS server roles.
The syntax for Repadmin does vary by server version, so it is important to check using the help available locally.
Syntax repadmin command args [/u:{domain\user}] [/pw:{password | *}] [/retry[:retries][:delay]] [/csv] repadmin /replsummary dc_name Summary view of current replication health. repadmin /Queue dc_name Display items in the queue waiting to be replicated. repadmin /Showrepl dc_name Display the GUID of each object and the replication result. repadmin /? Display commands that are available. repadmin /?:command Display possible arguments args, appropriate syntaxes, and examples for command. repadmin /experthelp Displays commands that are available for advanced users only. repadmin /listhelp Display the variations of syntax that are available for the DSA_NAME, DSA_LIST, NCNAME and OBJ_LIST strings. Note The DSA_LIST parameter is the same as the DC_LIST parameter in the Windows Server 2003 version of Repadmin.exe. repadmin /oldhelp Display help for commands in the Windows 2000 Server and Windows Server 2003 versions of Repadmin.exe.
Starting with Windows Server 2012, Microsoft has also included the ability to check AD replication status using Windows PowerShell.
Get-ADDomainController Get-ADReplicationFailure Get-ADReplicationAttributeMetadata Get-ADReplicationPartnerMetadata Get-ADReplicationQueueOperation Get-ADReplicationUpToDatenessVectorTable Sync-ADObject
Examples
Sync any server changes inwards to the domain controller dc_name:
C:\> repadmin dc_name /syncall /Adeq
Sync outwards from the domain controller dc_name to all other DCs:
C:\> repadmin dc_name /syncall /AdeqP
“One resolution I have made, and try always to keep, is this: To rise above little things” ~ John Burroughs
Related:
Repadmin - help for Windows Server 2003 - Windows Server 2012.
Active directory PowerShell cmdlets - in particular the -adReplication* cmdlets.