次の方法で共有


Repadmin /kcc

 

Applies To: Windows Server 2003, Windows Server 2008, Windows Server 2003 with SP2, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012, Windows Server 2003 with SP1, Windows 8

Forces the Knowledge Consistency Checker (KCC) on each targeted domain controller to immediately recalculate the inbound replication topology.

By default, each domain controller performs this recalculation every 15 minutes. Run this command to troubleshoot KCC errors after you remove suspected fault conditions or to re-evaluate whether new connection objects must be created on behalf of the targeted domain controllers.

For examples of how to use this command, see Examples.

Syntax

repadmin /kcc [<DSA_LIST>] [/async]

Parameters

Parameter

Description

<DSA_LIST>

Specifies the host name of a domain controller or a list of domain controllers that are separated in the list by single spaces. For detailed syntax, see Repadmin.

/async

Specifies that replication is asynchronous. That is, Repadmin starts the replication event, but it does not expect an immediate response from the destination domain controller. Use this parameter to start the KCC if you do not want to wait for the KCC to finish. Repadmin /kcc is typically run without the /async parameter.

Examples

The following example triggers the KCC to run on each of the domain controllers that are in the site named HQ:

repadmin /kcc site:HQ

Additional references

Command-Line Syntax Key

Repadmin