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 Restore a Microsoft Server 2008 R2 Active Directory Object from the Active Directory Recycle Bin

  • Last updated on

This article refers to the Barracuda Backup Legacy Release firmware or newer, and Microsoft Active Directory (AD) on Microsoft Windows Server2008 R2. 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.

Use the steps in this article to restore an AD Object from the AD Recycle Bin.

  1. Log in to the Windows Server 2008 R2 as the administrator.
  2. Go to Start > Administrative Tools, right-click Active Directory Module for WIndows PowerShell, and click Run as administrator.
  3. At the command prompt, enter the following command to verify that the object has been deleted:
    Get-ADObject -Filter {displayName -eq "Shawn Lubahn"} -IncludeDeletedObjects
    Where displayName is the name of the deleted user object:
  4. Press Enter.

  5. At the command prompt, enter the following command to restore the deleted object:
    Get-ADObject -Filter {displayName -eq "Shawn Lubahn"} -IncludeDeletedObjects | Restore-ADObject
  6. Verify the user has been restored.



Last updated on