
A key employee may be unable to complete critical tasks, or a service might be unable to function. If an Active Directory user account is improperly deleted or modified, the effect on your business can be significant. Get-ADObject -Filter -IncludeDeletedObjects | Restore-ADObject To restore the object to its original container, click Restore:Īlternatively, you can restore an AD object using the Restore-ADObject PowerShell cmdlet:.In the center pane, select the Deleted Objects container: In the left pane of the ADUC,select the domain in which the deleted object resided.(Alternatively: Open the “run” box (click Start -> Run or use the Win-R keyboard shortcut) -> Type dsac.exe -> Click OK. Restore an Object with the Active Directory Administrative Center (ADUC) In the Tasks pane, click Enable Recycle Bin. (Alternatively: Open the “run” box (click Start -> Run or use the Win-R keyboard shortcut) -> Type dsac.exe -> Click OK.) Open the Server Manager management console -> Click Tools -> Active Directory Administrative Center.Prerequisite: Enable the Recycle Bin in Active Directory

Note that Recycle Bin can be enabled only once without a possibility to disable it afterwards.

You cannot restore any objects deleted before Recycle Bin was enabled. In order to use it to restore deleted objects, you must enable it. The Active Directory Recycle Bin is disabled by default.
