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

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


Related content

JAMF - How to Remove Automatically Applied Profiles In Terminal App - That Can Not Be Removed in System Settings
JAMF - How to Remove Automatically Applied Profiles In Terminal App - That Can Not Be Removed in System Settings
More like this
JAMF - How to Delete a local user account
JAMF - How to Delete a local user account
More like this
JAMF - How to Delete a Computer from JAMF COMM dashboard
JAMF - How to Delete a Computer from JAMF COMM dashboard
More like this
JAMF - How to Change the Computer Name
JAMF - How to Change the Computer Name
More like this
Jamf - Mac Computer Enrollment - How to get the MDM Profiles to install on a Macintosh
Jamf - Mac Computer Enrollment - How to get the MDM Profiles to install on a Macintosh
More like this
Mac Jamf enrollment
Mac Jamf enrollment
More like this