How to remove or check profile installed in mac

You can remove all profiles using.

/usr/bin/profiles -D  ( enable root user then switch user to root)

You can check how many profiles are installed

/usr/bin/profiles -L

/usr/bin/profiles -P


I usually run the command to remove the mdm profile then do a jamf manage command to bring it back. Seems to work.
#!/bin/sh
sudo jamf removemdmprofile
#!/bin/sh
sudo jamf manage

Comments

Popular posts from this blog

Restore macOS Server from a Time Machine backup

JAMF Server Upgrade process

Creating a Custom Installer for Mac (PKG Package)