Enable the Active Directory Recycle Bin in Windows Server 2012

How do I enable the Active Directory Recycle Bin in Windows Server 2012?

First introduced in Windows Server 2008 R2, the Active Directory recycle bin builds on AD’s tombstoning feature to allow administrators to easily restore deleted directory objects. Prior to Windows Server 2012, the recycle bin was accessible only from the command line using PowerShell. Windows Server 2012 contains a graphical user interface for working with and enabling the recycle bin as part of the Active Directory Administrative Center.

Before following this procedure, it’s important to understand that once enabled, the recycle bin can’t be disabled. You’ll need to make sure that your forest is running at the Windows Server 2008 R2 forest function level or higher, that you have at least one Windows Server 2012 domain controller (DC) in the domain, and that all other DCs in the domain are running Windows Server 2008 R2 or higher.

Enabling the Active Directory Recycle Bin

  • Log on to a domain controller or a machine with the Remote Server Administration Tools (RSAT) installed as an enterprise administrator.
  • Open the Active Directory Administrative Center from the Start screen (or Start menu if not using Windows 8 or Windows Server 2012). Alternatively, the AD Administrative Center can be opened from the Tools menu in Server Manager.
  • In the left pane of the Active Directory Administrative Center, select the Active Directory domain that you want to connect to.
  • Right click the AD domain in the left pane and select Raise the forest functional level.
  • The dialog will show the current forest functional level. If the forest function level is not at least Windows Server 2008 R2, you will need to raise the level to Windows Server 2008 R2 or higher. This process is irreversible. In this case, my forest is already at the Windows Server 2012 forest function level, so I can click Cancel in the dialog and proceed to enable the AD recycle bin.
  • In the Tasks pane of the Active Directory Administrative Center, click Enable Recycle Bin.

Enable AD Recycle Bin

 

  • Click OK in the confirmation dialog.
  • You’ll now see another dialog asking you to refresh the Administrative Center. Click OK in the dialog. In the Administrative Center, click on the Refresh icon in the top right corner.

Any AD objects that you delete will now be moved to the Deleted Objects container.