RepAdmin Commands

RepAdmin Commands

RepAdmin Commands

Repadmin is a command-line tool in Windows operating systems used to manage and troubleshoot Active Directory replication. It's particularly useful for administrators to monitor and diagnose replication issues in a Windows domain environment. Below are some commonly used repadmin commands:

  1. View Replication Status:

repadmin /showrepl: Displays the replication status for all domain controllers in the domain.

repadmin /replsummary: Provides a summary of the replication status for each partition on each domain controller.

Article content
Article content

  1. Force Replication:

repadmin /syncall: Initiates an immediate replication for all domain controllers.

repadmin /syncall <source_dc> <destination_dc>: Forces replication between the specified source and destination domain controllers.

Article content

  1. Check Last Successful Replication:

repadmin /showvector /latency <DC_DN>: Displays the replication vector and latency for a specific domain controller.


  1. Show Inbound Replication Partners:

repadmin /showrepl <DC_DN> /partners: Lists the partners from which a specific domain controller receives replication.

  1. Show Outbound Replication Partners:

repadmin /showrepl <DC_DN> /conn: Lists the domain controllers to which a specific domain controller sends replication.

Article content

  1. View Replication Metadata:

repadmin /showmeta <DC_DN> <Naming_Context>: Displays metadata information about replication partners for a given domain controller and naming context.

  1. Diagnose Replication Topology:

repadmin /istg <DC_DN>: Shows the Inter-Site Topology Generator (ISTG) for a specific site.

Article content

  1. Force KCC Recalculation:

repadmin /kcc <DC_DN>: Forces the Knowledge Consistency Checker (KCC) to recalculate the replication topology on a specific domain controller.

  1. Check Replication Bridgeheads:

repadmin /bridgeheads <site>: Displays the preferred bridgehead servers for a specified site.

  1. Reset Replication Security:

repadmin /options <DC_DN> -DISABLE_INBOUND_REPL: Disables inbound replication.

repadmin /options <DC_DN> +DISABLE_OUTBOUND_REPL: Disables outbound replication.

  1. Check Replication Latency:

repadmin /showutdvec <DC_DN> <NC_DN>: Displays the update sequence number (USN) and replication latency information for a given domain controller and naming context.

Remember to replace <DC_DN> with the distinguished name of the domain controller and <NC_DN> with the distinguished name of the naming context. Additionally, proper care should be taken while using repadmin commands, as they can have significant impacts on the Active Directory replication environment. Always refer to the official Microsoft documentation or seek guidance from experienced administrators when using these commands

To view or add a comment, sign in

More articles by Dulaj Chamikara

Others also viewed

Explore content categories