共用方式為


Repadmin Overview

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Tool Location

The Repadmin command-line tool is included when you install Windows Server 2003 Support Tools from the product CD or from the Microsoft Download Center (https://go.microsoft.com/fwlink/?LinkId=100114). For more information about how to install Windows Support Tools from the product CD, see Install Windows Support Tools (https://go.microsoft.com/fwlink/?LinkId=62270).

Repadmin.exe: Replication Diagnostics Tool

This command-line tool assists administrators in diagnosing replication problems between Windows domain controllers.

Administrators can use Repadmin to view the replication topology (sometimes referred to as RepsFrom and RepsTo) as seen from the perspective of each domain controller. In addition, Repadmin can be used to manually create the replication topology (although in normal practice this should not be necessary), to force replication events between domain controllers, and to view both the replication metadata and up-to-dateness vectors.

Repadmin.exe can also be used for monitoring the relative health of an Active Directory forest. The operations replsummary, showrepl, showrepl /csv, and showvector /latency can be used to check for replication problems.

Usually, the Knowledge Consistency Checker (KCC) manages the replication topology for each naming context held on domain controllers.

Important

During the normal course of operations, there is no need to create the replication topology manually. Incorrect use of this tool can adversely impact the replication topology. The primary use of this tool is to monitor replication so that problems such as offline servers or unavailable LAN/WAN connections can be identified.

Corresponding UI

Repadmin is used to troubleshoot replication issues in Active Directory. Many of the actions performed at the command line with Repadmin can be accomplished by using Replmon Overview.

Concepts

For more information about replication, see Active Directory Replication Technologies.

System Requirements

The following are the system requirements for Repadmin:

  • Windows XP Professional, Windows Server 2003, or Windows Server 2003 with Service Pack 1 (SP1)

  • Administrator rights on the domain controller

File Required

  • Repadmin.exe

See Also

Concepts

Repadmin Remarks Repadmin Syntax Repadmin Examples Alphabetical List of Tools Search Overview Replmon Overview Movetree.exe Ldp Overview Dsastat Overview Clonepr Overview ADSI Edit (adsiedit.msc) Acldiag Overview