How to Restore an Active Directory Object

ADRestore
()

Have you ever been in a postition where someone has deleted something that they shouldn’t have done in Active Directory and you desperately need to restore it?

Well you can go through your backups and look at restoring that way, but there is a much simplier way to restore any Active Directory object.

ADRestore Tool

The first thing you will need to do is to download the ADRestore Tool which you can grab below:

ADRestore Tool Download

Click the button below to download the ADRestore tool.

Unzip the downloaded file and put the adrestore.exe file in a location on the Domain Controller.

Restore an AD Object

To restore an AD Object now is extremely simple, just follow this steps:

  • Remote onto your local Domain Controller where you want to carry out the restore from.
  • Open an elevated command prompt on the Domain Controller.
  • Navigate to the folder location where you saved the adrestore.exe file

Search for deleted objects

To search for all deleted AD objects, run this command from the file location as below:

adrestore

This will bring back a full list of all deleted objects withint your Doman Controller.

To scale this down to a user, use this command:

adrestore "SEARCH CRITERIA" (i.e adrestore users name)

Once you have found the object you are looking to, make a note of its name and then to fully restore the object, type the following command:

adrestore "SEARCH CRITERIA" -r
  • where “SEARCH CRITERIA” = i.e users name

This will then find your object and the -r switch tells the command to restore it.

Active Directory Check

Now go into your Active Directory and make a visual check that the object has now returned.

Feedback

If you have any questions about this guide, please feel free to leave us a message below in the comments section and we will get back to you as soon as possible.

Related...  KidStart - Cashback to your child's bank account

In the meantime, if you are happy that this guide helped you out, please leave the article a nice star rating below!

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 21 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.