Duplicate Active Directory replication connections are created


In Active Directory Sites and Services, duplicate Active Directory replication connections are created for one or more domain controllers across one or more sites.


This issue is caused by either a lack of network connectivity or by another problem that disrupts replication on the Intersite Topology Generator (ISTG) in the site. If the ISTG cannot reach other domain controllers, it tries to create new (duplicate) Active Directory replication connections for domain controllers in the same site.  

Note If this is a transient condition, nothing will clean up the duplicate connection objects. If the connectivity and replication problem is no longer occurring on the ISTG, you must manually delete the duplicate connection objects and then rerun repadmin /kcc against the ISTG to make sure that the duplicates are not re-created.

Data collection

To collect the relevant data for this issue, follow these steps.

  • Repadmin /kcc <DCNAME> is the command to force KCC to run. However it won’t create a new connection if the other one is still in place.
  • Replace <DCNAME> with the name of the domain controller that serves as the ISTG for the site.
  1. Run repadmin /showconn <DCNAME> >showconn.txt.
  2. Run repadmin /failcache <DCNAME> >failcache.txt.
  3. Run PortQRYUI on <DCNAME>, and target a remote domain controller that you have duplicate connections with, as follows:
    • “Domains and Trusts test” File / Save Result
  4. On <DCNAME>, run repadmin /bind RemoteDC ( from step 3).
    • Example: repadmin /bind RemoteDC1
  5. If repadmin /bind fails to connect, take a network trace by using netsh on both domain controllers, as follows:
    1. Run netsh trace start capture=yes tracefile=c:\%computername%.etl.
      1. Run repadmin /bind <DCNAME>.
      2. Connect by using the FQDN instead of the host name, if possible.
    2. Run netsh trace stop.
  6. Run repadmin /showrepl * /csv >showrepl.csv.
  7. Run repadmin /viewlist * >DCs.txt.
  8. Run repadmin /istg >istg.txt.


To resolve this issue, open ports in the site to allow the ISTG to connect to the domain controllers. After the connectivity issue is resolved, delete the duplicate connection objects, and then rerun KCC on the ISTG.

More Information

For more information about this issue, see How Active Directory replication topology works. Particularly focus on the KCC and topology generation section and the “Excluded nonresponding servers” subtopic.

Article ID: 3207569 - Last Review: Jan 5, 2017 - Revision: 1