This article was previously published under Q284928
This article describes how to search for objects in the Deleted Objects container that have been deleted but not yet "garbage collected." These objects are called tombstones. After they are deleted by the garbage collection process, they no longer exist in the directory database.
When an Active Directory object is deleted, it is stored in the Deleted Objects container for a configurable period of time so that the deletion can replicate. To view tombstone objects in the Deleted Objects container, follow these steps:
Click Start, click Run, and then type ldp.exe.
Connect to a domain controller. Then, bind to the domain controller.
On the Browse menu, click Search.
In the BaseDN box, type the distinguished name of the domain or path for the tombstone that you want to retrieve.
For example, to retrieve the tombstone for the domain "myDomain.com," type DC=myDomain,DC=com.
In the Filter box, click (isDeleted=*).
In the Scope section, click Subtree.
In the Search Options dialog box, click Extended in the Search Call Type section, and make sure that the Timeout(s) box contains a value that is larger than zero (0).
Click Controls, and then type 1.2.840.1135126.96.36.1997 in the Object Identifier box.
In the Control Type section, click Server.
To add the control to the Active Controls list, click Check in, and then click OK.
In the Search Options dialog box, click OK.
In the Search dialog box, click Run.
Note After you add the "Control for Deleted Objects" in step 9, you can use the Ldp.exe tool to view the Deleted Objects container in all naming contexts for which your connected domain controller is authoritative. For example, you can view the Deleted Objects container in the following naming contexts:
For more information about how to use the Ldp.exe tool, refer to the Microsoft Windows 2000 Resource Kit Tools Help file.
Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Standard x64 Edition, Microsoft Windows Server 2003, Enterprise x64 Edition, Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server