Posts

Showing posts from January, 2020

Can't Delete Organizational Unit Even when Protect Object From Accidental Deletion is Disabled

Image
I recently ran into an issue where I did not have the option to delete an Organizational unit. I made sure to uncheck "Protect Object From Accidental Deletion", and I had the appropriate permissions on the security tab.
Attempting to delete from ADSI edit resulted in the error below:

Operation failed. Error code: 0x20ce
The requested delete operation could not be performed. 
000020CW: SvcErrL DSID-0315370F, problem 5003 (WILL_NOT_PERFORM), data 0


The solution was to use redircmp to redirect new PCs to a different OU.
redircmp "OU=Servers,OU=Computers,DC=example,DC=com"

Restart Active Directory Users and Computers, and the delete option should be available for the OU.