How to check whether AD recycle bin is enabled on AD 2008R, 2012, 2012R2 or AD 2016

Use below power shell command to check whether AD recycle bin is enabled or not.


Open Active Directory power shell module from Admin tools or Server manager.
 Get-ADOptionalFeature -Filter 'name -like "Recycle bin feature"'

 If “Enabled Scope” is empty then AD recycle bin is not enabled.

Run below power shell command to enable it.
Enable-ADOptionalFeature –identity ‘CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,dc=test,dc=com’ –scope ForestConfigurationSet –Target test.com




Replace test.com with your corresponding domain name




Comments

Popular posts from this blog

The System could not log you on. The revocation status of the smart card certificate used for authentication could not be determined

The System could not log you on. The revocation status of the smart card certificate used for authentication could not be determined

Unblock gemalto .net smart cards using Gemalto response calculator