About Me

My photo
This blog has been created to share technical information, interesting innovations that I notice on daily basis and Architectural/Consulting overview of various technologies. My areas of interest, on which I would be blogging, are VMware, Microsoft and Citrix Technologies. I hope you will enjoy this blog and share your experience with me.

ADRestore GUI version

Accidentally deleted user, computer account or OU’s from Active Directory. Don’t worry, now you can get them back using ADRestore tool using GUI interface.

Though there is a command line version of tombstone reanimation tool called adrestore - sysinternals, many people are not CLI savvies and having a GUI version of this functionality could really help them out.

Insight on tombstone: Reanimating Active Directory Tombstone Objects - By Gil Kirkpatrick
Gil Kirkpatrick's article at Technet

Main features:

  • Browsing the tombstones
  • Domain Controller targeting
  • Can be used with alternative credentials (convenient if you do not logon to your desktop as Domain Admin, which you should never do anyway)
  • User/Computer/OU/Container reanimation
  • Preview of tombstone attributes

Here are some sceenshots:

Enumerating tombstones

Previewing the tombstone attributes

Restoring a deleted user account

Notice that if you delete an OU with accounts in it, you will have to restore first the OUs the accounts were in, otherwise the reanimation of the child object will fail. It is not enough to create an OU with the same name as this will be a totally new object in AD and child object's lastKnowParent attribute will still reference the deleted OU. Here is a walthrough:

Initial state:

TestOU organizational unit is deleted:

State of tombstones (notice that lastKnownParent attribute of user and computer accounts reference the deleted OU):

OU is restored (lastKnowParent points to the restored OU's distinguished name):

Both computer and user accounts that resided in TestOU are reanimated:

Download ADRestore.NET

Don't forget to post your comments :)


Useful Blogs:

ADRestore Rewrite: http://blogs.microsoft.co.il/blogs/guyt/ 
Reanimating Active Directory Tombstone Objects: http://technet.microsoft.com/en-us/magazine/cc137800.aspx


mooP said...
This comment has been removed by the author.
Xavier said...

Great tool!!! thanks!!

JD said...

Thank you very much. This is a very easy to use tool.

JSM said...

Hello Aresh,
I have no enough words to thank you... This tool help me to restore a "RMS Shared Identity user FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042" account in exchange 2010.

MS Directory recovery mode did not help me.

Keep on doing great work.

meep said...

your download link seems to be dead.. :(

Graeme Davie said...

I am trying to download this as I have deleted an OU with 200+ user in but the .zip file is empty.I have tried with Crome and IE can you please advise

Martin velez said...


My Blog List