Archive for September, 2010
How To Enable Active Directory RecycleBin
by admin on Sep.23, 2010, under Active Directory
PS C:\Windows\system32> Import-Module activedirectory
Next Command is the following code marked in RED, please dont forget to change yourdomain.com with the FQDN of yours
PS C:\Windows\system32> Enable-ADOptionalFeature -Identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration, DC=yourdomain,DC=com‘ -Scope ForestOrConfigurationSet -Target ‘YourDomain.com‘
You will see the following message
WARNING:
Enabling ‘Recycle Bin Feature’ on ‘CN=Partitions,CN=Configuration,DC=yourdomain,DC=com’ is an irreversible action!You will not be able to disable ‘Recycle Bin Feature’ on ‘CN=Partitions,CN=Configuration,DC=yourdomain,DC=com’ if youproceed.
Confirm
Are you sure you want to perform this action?
Performing operation “Enable” on Target “Recycle Bin Feature”.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”):
Type Y and press Enter
Thats it folks, ur Recyclebin is enabled