Microsoft KB Archive/244344

= Deleting Objects from Active Directory Using Ldp.exe =

Article ID: 244344

Article Last Modified on 3/1/2007

-

APPLIES TO


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

-



This article was previously published under Q244344



SUMMARY
This article describes how an administrator can remove objects from Active Directory by using the Ldp.exe tool.



MORE INFORMATION
To delete objects from Active Directory, administrators can use the Ldp.exe tool, which is located in the Support\Tools folder on the Windows 2000 Server CD-ROM. To delete an object:  Connect to one of the available domain controllers (DCs) in the domain using the default port number (389). In the Connect dialog box, type. .com for the server name, where  is the name of one of your DCs, and   is the domain name. Type 389 for the port number Bind to the domain by logging on as the administrator. In the Bind dialog box, type administrator for the user name, type the password for the Administrator account, and then type for the domain name. Note that if you bind using a user account other than the Administrator account, you cannot delete the object. On the Browse menu in Ldp.exe, click Delete to delete the orphaned object. In the Delete dialog box, type the distinguished name (DN) for the object you want to delete. For example, if you want to remove the "Remote Support" Organizational Unit object in the support.microsoft.com domain, type the following DN:

OU=Remote Support, DC=support, DC=microsoft, DC=com

 Click to select the Synchronous check box, and then click OK.

NOTE: You can delete only "leaf" objects in this manner. If you attempt to delete an object that is not empty, you receive an error message similar to the following message:

Error: Delete: Not allowed on non-leaf. <66>

Therefore, to delete a container object, you must delete all objects in the container.

Keywords: kbhowto KB244344

-

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

© Microsoft Corporation. All rights reserved.