大网数据广告活动
域与目录服务

Duplicate Active Directory replication connections are created

· 52CE 我爱测

Provides a solution to an issue where duplicate Active Directory replication connections are created for one or more domain controllers across one or more sites.

This article provides a solution to an issue where duplicate Active Directory replication connections are created for one or more domain controllers across one or more sites.

Original KB number:   3207569

Symptoms

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

Cause

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 can't 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.

Note:

  • 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). For 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 or repadmin /showrepl * /csv | convertfrom-csv | out-gridview from elevated PowerShell windows to send the output to an interactive table in a separate window.

  7. Run repadmin /viewlist * >DCs.txt.

  8. Run repadmin /istg >istg.txt.

Resolution

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.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for Active Directory replication issues.

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.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。