{"id":142,"date":"2010-09-23T15:24:29","date_gmt":"2010-09-23T14:24:29","guid":{"rendered":"https:\/\/harun.se\/blog\/?p=142"},"modified":"2010-09-29T09:53:46","modified_gmt":"2010-09-29T08:53:46","slug":"how-to-enable-active-directory-recyclebin","status":"publish","type":"post","link":"https:\/\/harun.se\/blog\/?p=142","title":{"rendered":"How To Enable Active Directory RecycleBin"},"content":{"rendered":"<div><span style=\"color: #ff0000; font-size: small;\"><span style=\"color: #ff0000; font-size: small;\"><span style=\"color: #ffffff;\">After raising the Forest and the Domain level to Windows Server 2008 R2 it is possible to enable the AD recycleBin which Enables u to Recover deleted objects , this comes very handy when objects are deleted by an accident and you have to recover those very fast to keep the bussiness rolling.<\/span><\/span><\/span><\/div>\n<div><span style=\"color: #ff0000; font-size: small;\"><span style=\"color: #ff0000; font-size: small;\"><span style=\"color: #ffffff;\">Following\u00a0 the steps below to enable ur recyclebin.s<\/span><\/span><\/span><\/div>\n<div><span style=\"color: #ff0000; font-size: small;\"><span style=\"color: #ff0000; font-size: small;\"><span style=\"color: #ffffff;\">Start powershell as Administrator by right clicking on the Powershell Icon and write the command marked in <strong><span style=\"color: #ff0000;\">RED<\/span><\/strong> below<\/span><\/span><\/span><\/div>\n<p><span style=\"color: #ffffff;\">PS C:\\Windows\\system32&gt;<\/span> <strong><span style=\"color: #ff0000;\">Import-Module activedirectory<\/span><\/strong><\/p>\n<p><span style=\"color: #ffffff;\">Next Command is the following code marked in<\/span> <strong><span style=\"color: #ff0000;\">RED<\/span>, <\/strong><span style=\"color: #ffff00;\"><strong>please dont forget to change <\/strong><strong>yourdomain.com <\/strong><strong>with the FQDN of yours<\/strong><\/span><\/p>\n<p>PS C:\\Windows\\system32&gt; <strong><span style=\"color: #ff0000;\">Enable-<\/span><span style=\"color: #ff0000;\">ADOptionalFeature -Identity &#8216;CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration, DC=<\/span><\/strong><span style=\"color: #ff0000;\"><strong><span style=\"color: #0000ff;\">yourdomain<\/span><\/strong><strong>,DC=<\/strong><strong><span style=\"color: #0000ff;\">com<\/span><\/strong><strong>&#8216; -Scope ForestOrConfigurationSet -Target &#8216;<\/strong><strong><span style=\"color: #0000ff;\">YourDomain.com<\/span><\/strong><strong>&#8216;<\/strong><\/span><\/p>\n<p><span style=\"color: #ffffff;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #ffffff;\">You will see the following message<\/span><\/p>\n<p><span style=\"color: #ffffff;\">WARNING:<\/span><\/p>\n<p><span style=\"color: #ffffff;\">\u00a0Enabling &#8216;Recycle Bin Feature&#8217; on &#8216;CN=Partitions,CN=Configuration,DC=yourdomain,DC=com&#8217; is an irreversible action!You will not be able to disable &#8216;Recycle Bin Feature&#8217; on &#8216;CN=Partitions,CN=Configuration,DC=yourdomain,DC=com&#8217; if youproceed.\u00a0<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Confirm<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Are you sure you want to perform this action?<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Performing operation &#8220;Enable&#8221; on Target &#8220;Recycle Bin Feature&#8221;.<\/span><\/p>\n<p><span style=\"color: #ffffff;\">[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is &#8220;Y&#8221;):<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Type<span style=\"color: #ff0000;\">\u00a0<\/span><strong><span style=\"color: #ff0000;\">Y<\/span> <\/strong>and press Enter<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Thats it folks, ur<\/span> <span style=\"color: #00ff00;\">Recyclebin is <strong>enabled<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After raising the Forest and the Domain level to Windows Server 2008 R2 it is possible to enable the AD recycleBin which Enables u to Recover deleted objects , this comes very handy when objects are deleted by an accident and you have to recover those very fast to keep the bussiness rolling. Following\u00a0 the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/harun.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/142"}],"collection":[{"href":"https:\/\/harun.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harun.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harun.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harun.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=142"}],"version-history":[{"count":12,"href":"https:\/\/harun.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/harun.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/142\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/harun.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harun.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harun.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}