|
|
ICT-Hotlist Topic
How to force the Knowledge Consistency Checker (KCC) on each targeted domain controller to immediately recalculate the inbound replication topology
Published : 2015-03-19.
Last updated : 2017-05-02.
When you have updated the Active Directory
Domain replication in the "Active Directory Sites and Services" administrative tool, you can force the KCC to
immediately recalculate the inbound replication topology with the following command:
Syntax:
RepAdmin /kcc [<DSA_LIST>] [/async]
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. If left blank, RepAdmin uses the domain controller you are currently logged on. |
/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. |
Special operation
When you want to initiate the KCC to run on every domain controller, you can use the following syntax.
RepAdmin /kcc *
Running RepAdmin may build the "automatically created" partner connections in
"Sites and Services"
Scripts and programming examples disclaimer
Unless stated otherwise, the script sources and programming examples provided are copyrighted freeware.
You may modify them, as long as a reference to the original code and hyperlink to the source page is included in the modified code and documentation.
However, it is not allowed to publish (copies of) scripts and programming examples on your own site, blog, vlog, or distribute them on paper or any other medium, without prior written consent.
Many of the techniques used in these scripts, including but not limited to modifying the registry or system files and settings, impose a risk of rendering the Operating System inoperable and loss of data.
Make sure you have verified full backups and the associated restore software available before running any script or programming example.
Use these scripts and programming examples entirely at your own risk. All liability claims against the author in relation to material or non-material losses caused by the use, misuse or non-use of the information provided, or the use of incorrect or incomplete information, are excluded. All content is subject to change and provided without obligation.
|