Search This Blog

What is REPADMIN?

REPADMIN.EXE is a command line tool used to monitor and troubleshoot replication on a computer running Windows. This is a command line tool that allows you to view the replication topology as seen from the perspective of each domain controller. It performs the following actions:

  • Checks replication consistency between replication partners.
  • Monitors replication status.
  • Displays replication metadata.
  • Forces replication events.
  • Knowledge Consistency Checker (KCC) recalculation
  • Important Usage
    • In order to replicate the new NS record to all the domain controllers, run the REPADMIN /syncall command from the command prompt.
    • To immediate replicate the AD information, choose either of two- From the AD Sites and Services console, select the existing connection objects and force replication. Or, use REPADMIN.EXE to force replication between the site connection objects.
    • Use the REPADMIN tool to synchronize new user information between all sites to enable new users to log on to the domain in a remote site.

If you're just looking for a "health" report of your replication I think these are the commands that will give you a quick answer.

repadmin /replsum (forestwide replication status. If you are having some problems you investigate further with repadmin /showrepl)

repadmin /latency <Netbios name of HUB> to see replication latency between sites.

The "repadmin /latency" can be inaccurate in a 2008 domain

To make it accurate you should run:

repadmin /showutdvec londc01 cn=configuration,dc=domain,dc=net /latency