JAMF - How to un-enroll a computer / Delete the MDM Profile (User-initiated & Prestage enrolled)

User Initiated

Login to the computer as an administrator (ex commpower)


Open a terminal window


Type the following command:
sudo jamf removeFramework


Enter the admin password


It should list the different pieces that it is removing


Once it is complete, open the system settings and navigate to Profiles.

Double check that the MDM Profile and any other profiles related to jamf are removed


Prestage Enrollment

If you know System Integrity protection is already disabled,
skip this step.

Reboot the computer into recovery mode

If you have to, select an admin account presented and enter the password

Go to Utilities on the top left of the page and select Terminal

Enter the following command:

csrutil disable

It should confirm that System integrity is disabled, and tell you to reboot

Enter the following command:

reboot now


Login to the computer as an administrator (ex commpower)


Open a terminal window


Type the following commands:

cd /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/
Replace "Macintosh\ HD" with your system partition if it is different. If there is a space or special characters, add an \ before. (ex Kat\'s\ HardDrive)

sudo rm -rf Store/ && sudo rm -rf Settings/ && sudo rm -f .profilesAreInstalled


Enter the admin password


once the prompt returns, enter this command to reboot the computer:

sudo reboot now


Once the computer finishes rebooting, login and check for profiles in System settings