Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dinhkhanh/4234181664a873e13f91aed9b6086fdc to your computer and use it in GitHub Desktop.
Save dinhkhanh/4234181664a873e13f91aed9b6086fdc to your computer and use it in GitHub Desktop.
Disable MDM, DEP notification on Big Sur

Disable MDM, DEP notification on Big Sur

Step 1. Disable SIP. Boot into Recovery Mode. Open Terminal, type this and hit Enter

csrutil disable

Step 2. Reboot into Recovery Mode again. Open Terminal, using these commands

mount -uw /Volumes/{name of your macOS volume}
cd /Volumes/{name of your macOS volume}/
rm /System/Library/LaunchAgents/com.apple.ManagedClient*
rm /System/Library/LaunchDaemons/com.apple.ManagedClient*
# or back it up if you like, but I think you can completely remove it without harm.

Step 3. Enable SIP again.

csrutil enable

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment