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

DC rename doesn't rename all AD DFSR SYSVOL objects

· 52CE 我爱测

Fixes an issue where the SYSVOL msDFSR-Member container used by DFS Replication isn't updated.

This article provides resolutions to fix the issue where the domain controller rename doesn't rename all AD DFSR SYSVOL objects.

Applies to:   Windows Server 2003
Original KB number:   2001271

Symptoms

The SYSVOL msDFSR-Member container used by DFS Replication (DFSR) isn't updated when a domain controller is renamed. For example, when renaming a DC named "OldName" to a DC named "NewName", the following object doesn't get renamed:

CN=OLDNAME,CN=Topology,CN=Domain System Volume,CN=DFSR-Globalsettings,CN=System,DC=contoso,DC=com

File replication will continue to work correctly and normally, and sysvol folder won't be affected for group policy processing or scripts.

However, the CN won't be updated or removed during later demotions or via Metadata Cleanup. This will leave orphaned DFSR topology objects in the Active Directory domain indefinitely. In addition, if a new domain controller - with the previously renamed DC's old name - were to be promoted in the domain, it would take over the old object and temporarily stop replication on the renamed domain controller until an administrator manually recreated a new object for the renamed domain controller using ADSIEDIT.MSC.

Cause

A code defect in the domain controller rename process.

Resolution

Workaround 1:

Before running DCPROMO.EXE, rename computers to the final intended name using the System control panel applet or NETDOM.EXE.

Workaround 2:

When renaming an existing DC, first demote it gracefully with DCPROMO.EXE, rename it, then promote it back to being a DC.

Workaround 3:

Use ADSIEDIT.MSC to correct the AD objects manually, using the following steps:

  1. Sign in as a Domain Administrator on a DC in the affected domain.

  2. Start ADSIEDIT.MSC.

  3. Connect to the default naming context.

  4. Navigate to the DFSR Topology container. For example, in a domain called contoso.com, it will be:

    CN=Topology,CN=Domain System Volume,CN=DFSR-Globalsettings,CN=System,DC=contoso,DC=com

  5. Rename the msDFSR-Member CN object that has the old computer name and give it the new computer name.

    Was: CN=OLDNAME,CN=Topology,CN=Domain System Volume,CN=DFSR-Globalsettings,CN=System,DC=contoso,DC=com

    Change to: CN=NEWNAME,CN=Topology,CN=Domain System Volume,CN=DFSR-Globalsettings,CN=System,DC=contoso,DC=com

More information

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

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)

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

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