{"id":353732,"date":"2010-02-23T04:00:00","date_gmt":"2010-02-23T08:00:00","guid":{"rendered":"tag:blogger.com,1999:blog-1652419620964346731.post-2659333075275094700"},"modified":"2010-02-23T04:00:00","modified_gmt":"2010-02-23T08:00:00","slug":"easily-restore-deleted-active-directory-objects","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/353732","title":{"rendered":"Easily Restore Deleted Active Directory Objects"},"content":{"rendered":"<p>Today I walked into the office with a little bit of a shocker. One of the Help Desk users said that his, and another user\u2019s active directory accounts on our parent company\u2019s domain had miraculously vanished. <strong><font color=\"#ff0000\">WTF?<\/font><\/strong> The only changes to active directory the previous day was my co-worker was setting up OCS, and that require some schema changes. I am not sure why those schema changes would delete accounts, but whatever, this is the problem I was facing when I walked in <strong>(Still no coffee yet either).<\/strong><\/p>\n<p>Well it turned out to not be that huge of a deal because I found a really awesome free tool that easily finds deleted active directory objects, and with a click of the button restores them. The way active directory deletes objects is pretty cool, and it also makes it relatively easy to recover. According to <a href=\"http:\/\/www.petri.co.il\/recovering-deleted-items-active-directory.htm\" >Petri<\/a>, <em><font color=\"#0000ff\">\u201cWhen an object is deleted from Active Directory, it is not immediately erased, but is marked for future deletion\u2026The marker used to designate that an AD object scheduled to be destroyed is called &quot;tombstone&quot;. A tombstone is an object whose <strong>IsDeleted<\/strong> property has be set to <strong>True<\/strong>, and it indicates that the object has been deleted but not removed from the directory, much like a deleted file is removed from the file allocation table but the data is not actually removed from the drive.\u201d<\/font><\/em><\/p>\n<p>The tool I used to recover the objects is called <a href=\"http:\/\/blogs.microsoft.co.il\/blogs\/guyt\/archive\/2007\/12\/15\/adrestore-net-rewrite.aspx\" >ADRestore.net<\/a>. To use it you simply install it on one of your domain controllers, then click Enumerate Tombstones. Find the missing object (User, OU, Computer, Etc) click on it and hit restore. Easy as pie!<\/p>\n<p><a href=\"http:\/\/lh6.ggpht.com\/_jLaEIqL6T8Y\/S4Qcn3KetOI\/AAAAAAAACU4\/Itir_dxmUFI\/s1600-h\/ADRestore%5B8%5D.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto\" title=\"ADRestore\" border=\"0\" alt=\"ADRestore\" src=\"http:\/\/lh4.ggpht.com\/_jLaEIqL6T8Y\/S4QcoNU7T8I\/AAAAAAAACU8\/op51hN8bRIw\/ADRestore_thumb%5B6%5D.png?imgmax=800\" width=\"536\" height=\"399\" \/><\/a> <\/p>\n<\/p>\n<p>Yes! This works on 2008 Active Directory\u2019s as well as 2003. How do I know? Because we are a 2008 native shop! Here is a list of the main features available:<\/p>\n<ul>\n<li><em><font color=\"#0000ff\">Browsing the tombstones <\/font><\/em><\/li>\n<li><em><font color=\"#0000ff\">Domain Controller targeting <\/font><\/em><\/li>\n<li><em><font color=\"#0000ff\">Can be used with alternative credentials (convenient if you do not logon to your desktop as Domain Admin, which you should never do anyway) <\/font><\/em><\/li>\n<li><em><font color=\"#0000ff\">User\/Computer\/OU\/Container reanimation <\/font><\/em><\/li>\n<li><em><font color=\"#0000ff\">Preview of tombstone attributes<\/font><\/em> <\/li>\n<\/ul>\n<p>Know of some other good, free tools for recovering deleted AD objects? Hit us up in the comments!<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:94a5b8f3-e3b6-4555-80eb-7f6a17e6ca6a\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/how+to\" rel=\"tag\">how to<\/a>,<a href=\"http:\/\/technorati.com\/tags\/recover\" rel=\"tag\">recover<\/a>,<a href=\"http:\/\/technorati.com\/tags\/deleted\" rel=\"tag\">deleted<\/a>,<a href=\"http:\/\/technorati.com\/tags\/active+directory\" rel=\"tag\">active directory<\/a>,<a href=\"http:\/\/technorati.com\/tags\/objects\" rel=\"tag\">objects<\/a>,<a href=\"http:\/\/technorati.com\/tags\/2008\" rel=\"tag\">2008<\/a>,<a href=\"http:\/\/technorati.com\/tags\/ad\" rel=\"tag\">ad<\/a><\/div>\n<div class=\"blogger-post-footer\"><Br \/><center><a href=\"http:\/\/www.anrdoezrs.net\/click-3773910-10438541?cm_mmc=CJ-_-2769020-_-3773910-_-Home_468x60-Anim_8-24-2006\" ><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.ftjcfx.com\/image-3773910-10438541\" width=\"468\" height=\"60\" alt=\"Great Deals @ Geeks.com!\" border=\"0\"\/><\/a><\/center><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/1652419620964346731-2659333075275094700?l=www.bauer-power.net' alt='' \/><\/div>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:dnMXMwOfBR0\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=dnMXMwOfBR0\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:V_sGLiPBpWU\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:V_sGLiPBpWU\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:gIN9vFwOqvQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:gIN9vFwOqvQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:YwkR-u9nhCs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=YwkR-u9nhCs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:F7zBnMyn0Lo\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:F7zBnMyn0Lo\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:wF9xT3WuBAs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:wF9xT3WuBAs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:jTJX5pvEcCQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:jTJX5pvEcCQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:TzevzKxY174\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=TzevzKxY174\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:nHK9nIK91uw\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:nHK9nIK91uw\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=X0wjp3LAOr0:3bJ7vbSkddI:tdI4wLSbWXI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=X0wjp3LAOr0:3bJ7vbSkddI:tdI4wLSbWXI\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Bauer-power\/~4\/X0wjp3LAOr0\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I walked into the office with a little bit of a shocker. One of the Help Desk users said that his, and another user\u2019s active directory accounts on our parent company\u2019s domain had miraculously vanished. WTF? The only changes to active directory the previous day was my co-worker was setting up OCS, and that [&hellip;]<\/p>\n","protected":false},"author":1521,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-353732","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/353732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/1521"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=353732"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/353732\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=353732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=353732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=353732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}