I recently took over a contract for a customer where the previous IT apparently did a half-ass job of migrating from SBS Server to Server 2016.
In AD there's an OU called MyBusiness which has two subfolders: SBSComputers and SBSUsers. I've moved all of the computers out of SBSComputers to the top level Computers OU and the same for SBSUsers. The folders are empty.
Now I'm trying to delete the two OU's but they have the isCriticalSystemObject attribute set as TRUE. When I try to set the attribute to FALSE I get the following error:
Operation failed. Error code: 0x2077
Illegal modify operation. Some aspect of the modification is not permitted.
00002077: SvcErr: DSID-03190CD8, problem 5003 (WILL_NOT_PERFORM), data 0
Thanks for any help guys, pulling my hair out with this one!