Article ID: 887424 - View products that this article applies to.
When you use the Ntdsutil command-line tool to try to remove metadata for a domain controller that was removed from your network, you may receive the following error message:
DsRemoveDsDomainW error 0x2015 (The directory service can perform the requested operation only on a leaf object.)
This issue may occur when the application partition naming context (DC=DomainDnsZones) for the child domain is not removed when Active Directory is removed from the domain controller.
To resolve this issue, follow these steps:
Article ID: 887424 - Last Review: October 30, 2006 - Revision: 2.2