Deleting Objects from Active Directory Using Ldp.exe

Article translations Article translations
Article ID: 244344 - View products that this article applies to.
This article was previously published under Q244344
Expand all | Collapse all

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:
  1. Connect to one of the available domain controllers (DCs) in the domain using the default port number (389). In the Connect dialog box, type server.domain_name.com for the server name, where server is the name of one of your DCs, and domain_name is the domain name. Type 389 for the port number
  2. 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 domain_name for the domain name. Note that if you bind using a user account other than the Administrator account, you cannot delete the object.
  3. 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
  4. 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.

Properties

Article ID: 244344 - Last Review: March 1, 2007 - Revision: 2.2
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
Keywords: 
kbhowto KB244344

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com