Skip to main content
Question

Removing Jamf didn't remove MDM profile

  • February 12, 2018
  • 26 replies
  • 442 views

Show first post

26 replies

  • New Contributor
  • October 9, 2025

I know this is an older topic, but I just came across this issue as well and wasn't able to remove using sudo jamf removeFramework or sudo jamf removeMdmProfile. I also attempted sudo rm /var/db/.AppleSetupDone to no avail.

My device was enrolled via Pre-stage enrollment, and my profiles were not removed whenever I tried to run the above scripts. However, I was able to get back online using sudo profiles renew -type  enrollment. 

Hope this helps anyone else that is having this trouble!

After running sudo jamf removeFramework in termial I had the issue with the MDM Profile remaining on the machine and there for could not renroll it. Tried all the other suggestions and this was the only thing that worked for me. Didnt want to rebuild the machine as it would have taken ages to install all the applications again. Thanks ​@QGJZerk