Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleting OUs in Active Directory Users and Computers

I need to delete few Organizational units in Active Directory users and computers that were created for testing purposes.

When I try to delete them, following error occurred: “You don’t have sufficient privileges to delete TestDevs, or this object is protected from accidental deletion.” I am logged on as domain admin and I guess I do have sufficient privileges to delete OU.

I tried to change properties of OU, but I don’t see anything except “General”, “Managed by” and “COM+” tab in OU properties – no options for un-protecting object from deletion.

Do you have any suggestions?

like image 428
William Johnson Avatar asked May 10 '13 11:05

William Johnson


People also ask

How do I delete protected items from accidental deletion?

Select the Organizational Unit and select Properties in the Tasks pane on the right. Uncheck the "Protect from accidental deletion" check box and click OK. Select Delete in the Tasks pane on the right.

Can accidental deletion of OU in Active Directory can be prevented?

To "protect an OU from accidental deletion", do the following: Open Active Directory Users and Computers. Right click the OU that you want to protect from accidental deletion, and click Properties. Go to the tab Object, check "Protect object from accidental deletion" and click OK.


1 Answers

To un-protect object from accidental deletion, you need to un-check proper box in “Object” tab in OU properties. In order to see this tab, you need to configure the ADUC by going to the View option on the toolbar, and then check “Advanced Features”.

This will add some new containers and tabs in OU properties. In “Object” tab in OU properties you will see check box “Protect object from accidental deletion” – un-check the box and you should be able to delete OU.

like image 127
Maisie John Avatar answered Sep 20 '22 19:09

Maisie John