We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Backup

How to Enable Active Directory Recycle Bin on Windows Server 2012

  • Last updated on

This article refers to the Barracuda Backup Legacy Release firmware or newer, and Microsoft Windows Server 2012. For information on backing up the Active Directory (AD), refer to  How to Back Up Microsoft Active Directory.

Before attempting to recover a domain controller, first review the Microsoft TechNet article Domain Controller Recovery for a complete list of recommendations.

Warning
Once you enable AD Recycle Bin in your environment, you cannot disable it.

Requirements

To manage the Recycle Bin feature through a user interface, you must install Active Directory Administrative Center in Windows Server 2012.

Step 1. Raise the Forest Functional Level

Before enabling AD Recycle Bin, you must first raise the forest functional level of your AD domain services (DS):

  1. Log in to the Windows Server, and open Windows PowerShell.
  2. At the PowerShell command prompt, enter the following cmdlet on a single line:
    Set-ADForestMode -Identity contoso.com -ForestMode Windows2008R2Forest -Confirm:$false 
    Where -Identity represents the fully qualified DNS name:
    Powershell-2012_01.png

Step 2. Enable Active Directory Recycle Bin

Complete the following steps to enable AD Recycle Bin in Active Directory Administrative Center (ADAC) on the target domain:

  1. Log in to the Windows Server, and open Windows PowerShell.
  2. 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
  3. Press Enter:
    AD-Command.PNG
  4. AD Recycle Bin is now enabled.

Last updated on