In the previous Step-By-Step post, we showcased how to enable the Active Directory Recycle Bin function in  Windows Server 2012. Once completed you now have the capability to restore deleted objects from within Active Directory.  Next step is to learn how to restore said objects.  This as mentioned will save time and hassle should an object be "accidentally" deleted.

 

Resorting an object in Active Directory

  1. In the management console, go to ToolsActive Directory Administrative Center



  2. Click the Deleted Objects folder



  3. Search the list of deleted objects for the object that needs to be restored.



  4. Right-click the selected object and select Restore from the shortcut menu.



 

Depending on your business practices and environment, object lifetime and the tombstone lifetime can be increased or decreased. Tombstone lifetime is determined via the value of the tombstoneLifetime attribute and the deleted object lifetime is determined by the value of the msDS-deletedObjectLifetime attribute. By default, tombstoneLifetime is set to null, which expires the tombstone lifetime defaults after 60 days. By default, msDS-deletedObjectLifetime is also set to null and changes to the value of the tombstone lifetime should it ever be changed.

 

Be sure to test Active Directory Recycle Bin in your lab by downloading Windows Server 2012, and  Hyper-v Server 2012.