Article Summary: This article provides information on using the Active Directory Recycle Bin to recover deleted objects in Windows Server 2008 R2.
For general information about the Active Directory Recycle Bin, see Information About the Active Directory Recycle Bin in Windows Server 2008 R2 and 2012.
For information on enabling the AD Recycle Bin, see How to Enable the Active Directory Recycle Bin in Windows Server 2008 R2.
For information on recovering deleted objects in Windows Server 2012, see How to Recover Deleted Objects Using the Active Directory Recycle Bin in Windows Server 2012.
Follow this procedure to restore a deleted object using Windows PowerShell:
The Restore-ADObject cmdlet uses the lastKnownParent attribute of a deleted object to determine the location in AD to which it should be restored. To restore objects to a different location, use the -TargetPath parameter.
The location to which a deleted object is restored must be a "live" location; it cannot also be a deleted object. In other words, if a hierarchy of deleted objects must be restored, the highest-level object in the hierarchy must be restored first. For example, if an organizational unit (OU) named Sales is deleted along with all of the user accounts it contains, the Sales OU must be restored before the user accounts can be restored, unless the user accounts are restored to a different, valid location.
Detailed steps for restoring a hierarchy of deleted objects are given in Step 2: Restore a Deleted Active Directory Object. The same TechNet article also gives instructions for restoring deleted objects using the ldp.exe utility.
Datum der letzten Änderung: 09/04/2014 10:47 AM