Tuesday, November 24, 2015

Enable Active Directory Recycle Bin using Ldp.exe


  1. To open Ldp.exe, click Start, click Run, and then type ldp.exe.
  2. To connect and bind to the server that hosts the forest root domain of your AD DS environment, under Connection, click Connect, and then click Bind.
  3. Click View, click Tree, in BaseDN, select the configuration directory partition, and then click OK.
  4. In the console tree, double-click the distinguished name of the configuration directory partition, and then navigate to the CN=Partitions container.
  5. Right-click the CN=Partitions container’s distinguished name, and then click Modify.
  6. In the Modify dialog box, make sure that the DN box is empty.
  7. In the Modify dialog box, in Edit Entry Attribute, type enableOptionalFeature.
  8. In the Modify dialog box, in Values, type CN=Partitions,CN=Configuration,DC=mydomain,DC=com:766ddcd8-acd0-445e-f3b9-a7f9b6744f2a. Replacemydomain and com with the appropriate forest root domain name of your AD DS environment.
  9. In the Modify dialog box, under Operation click Add, click Enter, and then click Run.
  10. To verify that Active Directory Recycle Bin is enabled, navigate to the CN=Partitions container. In the details pane, locate the msDS-EnabledFeature attribute, and confirm that its value is set to CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration, DC=mydomain,DC=com, where mydomain and com represent the appropriate forest root domain name of your AD DS environment.

No comments:

Post a Comment