Remove broken MDM Profiles

Ogut
New Contributor

Hello this is my first posting.

I have an issue on one of our iMac, I tried to re-enroll and install MDM profile but says cannot install the profile. tried to remove is using "sudo JAMF removeFramework" but says "command not found!" tried to checked the but no "JAMF" folder exist. MDM profile exist in System Preferences.

Is there a way to manually remove the MDM Profiles?

1 ACCEPTED SOLUTION

You're thinking of this one, right?

http://www.whoopis.com/core/mac-related/removing-a-non-removable.html

It will fix a non-removeable profile. If it's removeable you can just delete the MDM profile under System Preferences > Profiles.

View solution in original post

7 REPLIES 7

ajaysutton
New Contributor III

Often times when get things that are mixed up like that, the easiest thing for me to do is remove them from the MDM, uncheck them in pre-stage and re-image.  This usually gets me back to a place where the machine works normally, albeit with no MDM.  Then I can add it back to the prestige and re-image a second time and it usually picks things up properly.  Sometimes I do this on 6 or 8 Macs per week, so it’s not uncommon for me.  I’m sure there’s a more appropriate work around, but I often haven’t got time to sit down and sort through it.

kgam
Contributor

Is your MDM profile removable or nonremoveable?

Is Jamf still able to send MDM commands to the iMac? Then you should be able to use the "Remove MDM Profile" command from Jamf. 

ajaysutton
New Contributor III

That's a better answer than my "wipe and reload" solution.  😊

junjishimazaki
Valued Contributor

Follow this guide on how to remove a locked MDM. Look at the steps further down which requires you to boot to recovery mode to do this. This has always worked for me.

You're thinking of this one, right?

http://www.whoopis.com/core/mac-related/removing-a-non-removable.html

It will fix a non-removeable profile. If it's removeable you can just delete the MDM profile under System Preferences > Profiles.

junjishimazaki
Valued Contributor

Yes, that's it. I can't believe I forgot to include the link. 

Ogut
New Contributor