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 2008 R2

  • Last updated on

This article refers to the Barracuda Backup Legacy Release firmware or newer, and Microsoft Windows Server 2008 R2. If you are running Windows Server 2012, refer to How to Enable Active Directory Recycle Bin on Windows Server 2012.

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

Once you enable Active Directory (AD) Recycle Bin in your environment, you cannot disable it.

At a minimum, you must have membership in Enterprise Admins, or equivalent access privileges. For additional information, refer to the Microsoft TechNet article Local and Domain Default Groups.

Enable Active Directory Recycle Bin

You must use Active Directory Module for Windows PowerShell to run the commands described in this set of steps or an error will occur. To run these commands using Windows PowerShell directly, run the command import-module activedirectory to import the Active Directory cmdlet.

Use the following steps to enable AD Recycle Bin using the Enable-ADOptionalFeature cmdlet:

  1. Log in to the Windows Server, and go to Start > Administrative Tools.
  2. Right-click Active Directory Module for Windows PowerShell, and click Run as administrator:

  3. At the PowerShell command prompt, enter the following command, replacing the bracketed variable as appropriate:
    Enable-ADOptionalFeature -Identity ADOptionalFeature -Scope ADOptionalFeatureScope -Target ADEntity

  4. Press Enter:
  5. AD Recycle Bin is now enabled.


Last updated on