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

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.



Comments

  1. Good article .This trick will help to delete OU's .Thanks for sharing this article

    ReplyDelete

Post a Comment

Popular posts from this blog

Enabling Webcam on RDS

Best Practices for Deploying User Profile Disks

Deploying FSLogix Office 365 Containers