• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Active Directory OU deleted?

Besides the human error.  Is there a reason why OU would be gone from AD with all the servers hostnames?  Any ideas?
2 Solutions
Seth SimmonsSr. Systems AdministratorCommented:
besides human error - not that i can think of

that is why the AD BPA always mentions protecting your OUs from accidental deletion
SandeshdubeySenior Server EngineerCommented:
There could be many reasons it could be the script which may be excuted to deleted the same.If there are multiple admin then they can perform the same.It could be also that OU can be made hidden to some domain admin,etc.To track the delete you should enable auditing.If auditing is not enable the event will be not logged.

In order to find out changes, creation or deletion events, you must keep the “Account Management” auditing enabled.

Apart from the auditing, you can use third party tools like Quest and Ntewrix to find out WHO changed WHAT, WHEN, and WHERE to list additions, deletions, and modifications made to Active Directory users, groups, computers, OUs, group memberships.
NetWrix tool :http://www.netwrix.com/active_directory_change_reporting_freeware.html
Quest: http://www.quest.com/changeauditor-for-active-directory/

If auditing is not enabled, still you can find out changes were made on which DC and when using repadmin /showobjmeta

How can restore deleted OU

If your all DC is Win2008 R2 and above enable AD recycle bin:http://technet.microsoft.com/en-us/library/dd392261(v=ws.10).aspx
Will SzymkowskiSenior Solution ArchitectCommented:
Typically not. if you are viewing advanced folders and you dont have the advanced feature selected you will not see all of the system folders. Also, if you are using 2008 and higher there is a new security feature called "Protect Object from accidential deletion". You need to enable advanced features in ADUC first. From there you can go to the properties of an OU or object and click on the object tab and then select this option.

This makes it even more difficult to remove objects "by accident" because you have to remove that check box before "anyone" i.e. domain admins enterprise admins etc can delete it.

If you are concerned about a missing OU and want to know who removed it you'll need to check the security Logs on all of the domain controllers in your environment in order to find out which account deleted it.

Out side of that you will need to restore the OU with all of the computer objects in it if it has been removed.

A product that i strongly recommend is ADAudit Plus by Manage Engine.

You can get a free trial.

Hope this helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now