Specifications
1.
2.
1.
2.
3.
4.
Before enabling AD Recycle Bin, you must first raise the forest functional level of your AD domain services (DS):
Log in to the Windows Server, and open Windows PowerShell.
At the PowerShell command prompt, enter the following cmdlet on a single line:
Set-ADForestMode -Identity contoso.com -ForestMode Windows2008R2Forest
-Confirm:$false
Where represents the fully qualified DNS name:-Identity
Step 2. Enable Acitve Directory Recycle Bin
Complete the following steps to enable AD Recycle Bin in Active Directory Administrative Center (ADAC) on the target domain:
Log in to the Windows Server, and open Windows PowerShell .
At the PowerShell command prompt, enter the following command; note that some wrapping may occur due
to formatting constraints:
Enable-ADOptionalFeature -Identity 'CN=Recycle Bin Feature,CN=Optional
Features,CN=Directory Service,CN=Windows
NT,CN=Services,CN=Configuration,DC=contoso,DC=com' -Scope
ForestOrConfigurationSet -Target 'contoso.com
Press Enter:
AD Recycle Bin is now enabled.
How to Restore a Microsoft Server 2008 R2 Active Directory Object from the Active Directory Recycle
Bin
This article refers to Barracuda Backup firmware version 5.0 or higher, and Microsoft Active Directory (AD) on Microsoft Windows
®
Server 2008 R2.
®
Related Articles
How to Back Up Microsoft Active Directory