Posted on 01-20-2022 06:12 AM
So the first time around the MDM profiles didn't install correctly. Now when I try to manually delete the old profiles it won't let me because of the above error. Even if I logon with local admin rights ...
I even tried to logon with local admin rights and run sudo /usr/bin/profiles remove -all
But it errors and says profiles: There are profiles installed that marked non-removable
I need to get this laptop built today can anyone help?
Posted on 01-20-2022 07:28 AM
You are running into non-removable MDM. This article explains more of the challenges with non removable-MDM profiles: http://rachelviniar.com/non-removable-mdm/
If there is not really anything on the computer, it might be the best approach just to erase the computer and re-enroll it and making sure that your prestage enrollment does not have the MDM profile set to be non-removable if you want it to be able to be removed in the future
Posted on 01-20-2022 08:46 AM
I was able to fix it from the other threat on this board by doing this:
You can try this first:
sudo /usr/bin/profiles -D
If that does not work, try this:
This is what worked for me on a few machines that had locked profiles from a previous MDM. After this I was able to enroll the machine in to JAMF without the need to wipe the machine.
Posted on 04-26-2023 12:20 AM
Thank you for sharing the solution as well. I am also facing the same issue and I got irritated solving this issue. You made my day :)