How do I enable the Active Directory Recycle Bin in Windows Server 2008 R2 ?
07/1/2009Launch the PowerShell under Administrator’s account context, and type this cmdlet.
Enable-ADOptionalFeature -Identity ‘CN=Recylcle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=yourdomain,DC=com
Read and understand the warning of this action’s irreversebility, and hit “Y” for yes to continue.
In following screenshot I show you an error not neccesarily applicable to you, the cmdlet complained about not being able to verify the FSMO ownership role. The reason for this was the fact that in my VM Lab environment I had shut down another DC for maintenance and it had not been replicated or talked to.
As I brought that downed DC back online, forced the replication, I was able to proceed. You can then confirm with this cmdlet.
Get-ADOptionalFeature ‘Recycle Bin Feature’
Here is a great post on this hot feaure of Windows Server 2008 R2.
http://msmvps.com/blogs/ad/archive/2009/03/31/taking-out-the-trash.aspx



No comments yet.