<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Goodness that is Repadmin.exe</title><link>http://blogs.technet.com/b/ad/archive/2006/06/12/435501.aspx</link><description>For the first technical post I thought it would be best to lay the groundwork and mention a tool which can be used in a wide variety of AD replication scenarios. We'll talk about one of the useful features in this post, and follow up with one other for</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: The Goodness that is Repadmin.exe</title><link>http://blogs.technet.com/b/ad/archive/2006/06/12/435501.aspx#437062</link><pubDate>Sun, 18 Jun 2006 22:03:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:437062</guid><dc:creator>Yann</dc:creator><description>Just a little mistake in my repadmin command above. So just correct with the right user that is &amp;quot;yann&amp;quot; and not &amp;quot;dac&amp;quot;; the latter one was the user i had investigated last year in my AD environnement. &lt;br&gt;repadmin /showobjmeta DC1 &amp;quot;CN=yann\0ADEL:2a299250-27ea-4a05-bdf7-5ca9558ff733,CN=Deleted Objects,DC=mydomain,DC=fr&amp;quot; | find /i &amp;quot;isdeleted&amp;quot;.&lt;br&gt;Regards,&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=437062" width="1" height="1"&gt;</description></item><item><title>re: The Goodness that is Repadmin.exe</title><link>http://blogs.technet.com/b/ad/archive/2006/06/12/435501.aspx#437059</link><pubDate>Sun, 18 Jun 2006 21:16:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:437059</guid><dc:creator>Yann</dc:creator><description>Hello Tim,&lt;br&gt;&lt;br&gt;Thanks for clarification.&lt;br&gt;Endeed, when an object is deleted, in our case a user yann ;), the DN's changed to this one for example;&lt;br&gt;CN=yann\0ADEL:2a299250-27ea-4a05-bdf7-5ca9558ff733,CN=Deleted Objects,DC=mydomain,DC=fr.&lt;br&gt;Adrestore permits me to find this DN. And when we put all together with repadmin, the command looks like:&lt;br&gt;repadmin /showobjmeta DC1 &amp;quot;CN=dac\0ADEL:2a299250-27ea-4a05-bdf7-5ca9558ff733,CN=Deleted Objects,DC=mydomain,DC=fr&amp;quot; | find /i &amp;quot;isdeleted&amp;quot;. The results of this is:&lt;br&gt;17730966 SITE1\DC2 &amp;nbsp;17730966 2005-10-27 10:37:11 &amp;nbsp;1 isDeleted.&lt;br&gt;So u can find where and when a user was deleted. That works for me.&lt;br&gt;Why using the deleted object DN instead of guid ? &lt;br&gt;Because I remembered I was not able to work with the guid of the object , so i tried with the DN of the deleted object and that works fine.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Yann&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=437059" width="1" height="1"&gt;</description></item><item><title>re: The Goodness that is Repadmin.exe</title><link>http://blogs.technet.com/b/ad/archive/2006/06/12/435501.aspx#437049</link><pubDate>Sun, 18 Jun 2006 20:14:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:437049</guid><dc:creator>Tim Springston [MS]</dc:creator><description>Thanks for the post! &amp;nbsp;The above will work very well, but you may hit one snag. &amp;nbsp;When an object is marked for deletion the distinguishename changes since it is then in the &amp;quot;container&amp;quot; for Deleted Items. &amp;nbsp;So the repadmin command may struggle with that...&lt;br&gt;&lt;br&gt;But, your comment reminded me about being able to insert the objectGUID of te object in and track it that way.&lt;br&gt;&lt;br&gt;So, get the objectGUID of the object that was deleted and try using that. &amp;nbsp;Just substitute the DN string entry for the syntax with this:&lt;br&gt;&lt;br&gt;&amp;quot;&amp;lt;GUID=guidnumber&amp;gt;&amp;quot;&lt;br&gt;&lt;br&gt;You can get the objectGUID by using LDP.EXE to view it, or by dumping the database using LDP.EXE.&lt;br&gt;&lt;br&gt;Let me know if I misunderstood something from your comment. &amp;nbsp;Thanks again for reading!&lt;br&gt;&lt;br&gt;Tim&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=437049" width="1" height="1"&gt;</description></item><item><title>re: The Goodness that is Repadmin.exe</title><link>http://blogs.technet.com/b/ad/archive/2006/06/12/435501.aspx#436909</link><pubDate>Sat, 17 Jun 2006 14:39:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:436909</guid><dc:creator>Yann</dc:creator><description>Hi Ian,&lt;br&gt;&lt;br&gt;To figure out where a user was deleted (and how to reanimate it assuming u are in AD w2k3 *only*),you need 2 (free) tools:&lt;br&gt;-&amp;gt; Adrestore, where u can donwload here &lt;a rel="nofollow" target="_new" href="http://www.sysinternals.com/Utilities/AdRestore.html"&gt;http://www.sysinternals.com/Utilities/AdRestore.html&lt;/a&gt;&lt;br&gt;-&amp;gt; repadmin /showobjmeta dcname deletedobjectDN | find /i &amp;quot;isdeleted&amp;quot;&lt;br&gt;-&amp;gt; and obviously, auditing already activated on your Default Domain Controler Policy :).&lt;br&gt;Here we go ! &lt;br&gt;Suppose that yann was deleted:&lt;br&gt;1) in a command shell, enter adrestore yann. Adrestore will query the tombstone to list all users deleted objects that contains &amp;quot;yann&amp;quot; in their CN. &lt;br&gt;Adrestore will also output the DN of the deleted user yann. Focus on the right yann.&lt;br&gt;&lt;br&gt;2)Enter the second command with repadmin and just replace deletedobjectDN by the one u found&lt;br&gt;with adrestore, and also replace dcname with the name of one of your domain controllers. Make sure u put the strings corresponding to deletedobjectDN in quotations if there are any spaces in it. Reapdmin will show u where(on which DC) and when(time/date) yann was deleted thanks to the &amp;quot;isdeleted&amp;quot; attribute that was piping.&lt;br&gt;&lt;br&gt;Next, go to your DC, and search for eventID 630 to find occurences corresponding to &amp;quot;deleted object user&amp;quot;. Done !&lt;br&gt;&lt;br&gt;If u are in ad2k3 u can reanimate yann by entering adrestore -r yannn and choose the right user to restore.&lt;br&gt;&lt;br&gt;NB1: in order to use adrestore, u *must* be domain admins.&lt;br&gt;NB2: are u from Papeete tahiti ? because it's my homeland man ! I leave tahiti for now 10 years to France where i work in an AD &amp;amp; Exchange team. So .... iaorana ! ;o)&lt;br&gt;NB3: for those whose wondering what i am talking about.... iaorana means both &amp;quot;hello&amp;quot; &amp;nbsp;or &amp;quot;goodbye&amp;quot; in tahitian language, depending if u arrive or leave :).&lt;br&gt;NB4: Tim, thanks a lot for your blog. It will leverage our skills on the underground technology of AD . Keep up the good work !&lt;br&gt;&lt;br&gt;Yann&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=436909" width="1" height="1"&gt;</description></item><item><title>re: The Goodness that is Repadmin.exe</title><link>http://blogs.technet.com/b/ad/archive/2006/06/12/435501.aspx#435929</link><pubDate>Wed, 14 Jun 2006 22:40:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:435929</guid><dc:creator>IanCurtis</dc:creator><description>&lt;br&gt;Looking at your blog, can I use this to see where a user account was deleted. &amp;nbsp;I've got doubts about my office in Papeete.&lt;br&gt;&lt;br&gt;IC&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=435929" width="1" height="1"&gt;</description></item></channel></rss>