Microsoft KB Archive/229763

= Error Message: DsRemoveDsDomainW Error 0x20ce =

Article ID: 229763

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q229763



SYMPTOMS
When you try to use the "Remove Selected Domain" feature in the Ntdsutil tool, you may receive the following error message:

DsRemoveDsDomainW error 0x20ce (The requested delete operation could not be performed.)



CAUSE
This issue can occur if Ntdsutil determines that there are still domain controllers defined (servers with a NTDS Settings object) in the Active Directory for the domain you specify.



RESOLUTION
To resolve this issue, locate the domain controllers that still have objects in the Active Directory before you try to remove the domain:  Click Start, point to Programs, and then click Command Prompt. At the command prompt, type ntdsutil . Type metadata cleanup, and then press ENTER. Type connections, and then press ENTER.

NOTE: You can use this menu to connect to the specific server where the changes occur. For the removal of a domain, this requires connecting to a server in the parent domain or root domain of the forest. If the currently logged on user does not have administrative permissions, alternate credentials can be supplied by specifying the credentials to use before making the connection. To do so, type set creds  , and then press ENTER. For a null password, type null for the password parameter. Type connect to server, and then press ENTER.

NOTE: You should receive confirmation that the connection is successfully established. If an error occurs, verify that the domain controller being used in the connection is available and the credentials you provided have administrative permissions on the server. Type quit, and then press ENTER. The Metadata Cleanup menu is displayed.</li> Type select operation target, and then press ENTER.</li> Type list domains, and then press ENTER. A list of domains in the forest and their associated numbers should be displayed.</li> If the domain to be removed is not present in the list, the metadata has already been removed from the Active Directory, and you should skip the following steps. If it is present, type select domain, and then press ENTER, where   is the number associated with the domain that is being removed. The domain you select is used in the following steps to determine which servers exist for that domain.</li> Type list sites, and then press ENTER.</li> Type select site, and then press ENTER, where  is the number associated with the site you want to search for domain controllers. You should receive a confirmation listing the site and domain you chose.</li> Type list servers for domain in site, and then press ENTER.</li> If any servers are displayed, each one must be removed before Ntdsutil can successfully remove the domain metadata. For more information about removing remaining objects from servers that no longer exist, please refer to the following article in the Knowledge Base:

216498 Removing Active Directory Data After an Unsuccessful Demotion

</li> Repeat steps 9-13 for each site defined in the Active Directory. After all servers have been removed, you can retry the operation to remove the domain from the Active Directory.</li></ol>

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

MORE INFORMATION
Before a selected domain is removed from the Active Directory, Ntdsutil confirms that all objects representing domain controllers for this domain have been removed. The objects in the Active Directory that represent configuration data for domain controllers take the form of "NTDS Settings" objects that exist as a child to the server object in the Active Directory Sites and Services Manager.

For more information about the Ntdsutil tool, refer to the Support Tools documentation located in the Support\Reskit folder on the Windows 2000 CD-ROM. The Microsoft Windows 2000 Resource Kit contains an Ntdsutil.doc file that describes the NTDSUTIL utility in greater detail.

Additional query words: 2000

Keywords: kberrmsg kbnetwork kbprb KB229763

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.