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?
LVL 17
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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 :

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:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.