How to enable Recycle bin in ADDS 2008 R2

Hi!

To enable Recycle bin feature in ADDS 2008 R2 you need to do the following steps:

  1. Connect to a domain controller and open Active Directory Module for Powershell.
  2. Execute the command: Get-ADOptionalFeature ‘recycle bin feature’.With this line you can see if Recycle bin is enabled or not if EnabledScopes is blank.recyclebin00
  3. Copy DistinguishedName showed on the executed command and execute the following command: Enable-ADOptionalFeature -identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=YourDomainXXX,DC=XXX’ -Scope ForestOrConfigurationSet -Target ‘YourDomainXXX.XXX’
  4. Push Y.recyclebin01

Regards!