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

Fail to delete orphaned NTDS Settings

· 52CE 我爱测

Resolves an issue where you fail to delete an orphaned NTDS Settings from Active Directory Sites and Services.

This article provides a solution to an issue where you fail to delete an orphaned NTDS Settings from Active Directory Sites and Services.

Original KB number:   318698

Symptoms

When you try to delete an orphaned NTDS Settings from Active Directory Sites and Services, you may receive the following error message: DSA object cannot be deleted.

Only one NTDS Settings ordinarily exists under each server in the Servers folder in Active Directory Sites and Services. If two NTDS Settings are shown, the one that doesn't have connection objects associated with it (in the right pane) is probably the orphaned NTDS Settings.

Cause

The Dcpromo.exe demotion process must delete NTDS Settings from a server. However, the Dcpromo.exe process may not delete NTDS Settings even if connection objects are deleted. If you have multiple domain controllers, the Active Directory replication process may not delete NTDS Settings from this domain controller.

Resolution

To work around this problem, complete the following procedure on a domain controller that has an orphaned NTDS Settings:

  1. Start ADSI Edit, and then expand the following branches:

    • Configuration NC
    • CN=Configuration,DC=domain, DC=com
    • CN=Sites
    • CN= your site name
    • CN=Servers
  2. Locate the server that has an orphaned NTDS Settings. Right-click the orphaned NTDS Settings, and then click Delete.

  3. If you have multiple domain controllers, make sure that this change is replicated to all domain controllers.

An orphaned NTDS Settings object may also be found in the LostAndFoundConfig Container under the Configuration Container in ADSI Edit. You can use the analogous procedure to delete this object. To do this:

  1. Start ADSI Edit, and then expand the following branches:

    • Configuration NC
    • CN=Configuration,DC=domain, DC=com
    • CN=LostAndFoundConfig
  2. Right-click the orphaned NTDS Settings object, and then click Delete. Make sure that the related server object doesn't exist before deleting the NTDS Settings object.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

More information

ADSIEDIT is part of the Windows 2000 Support Tools.

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)

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

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