Created
November 15, 2020 02:25
-
-
Save letranloc/675ef60cac18dc20ef4030e1b53c2f8b to your computer and use it in GitHub Desktop.
Disable Device Enrollment Notification on Mac - Big Sur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csrutil authenticated-root disable; | |
diskutil mount /Volumes/Mac; | |
mount -uv /Volumes/Mac; | |
cd /Volumes/Mac/System/Library/LaunchAgents; | |
mkdir tmp; | |
mv com.apple.ManagedClientAgent.* tmp/; | |
mv com.apple.mdmclient.* tmp/; | |
cd ../LaunchDaemons | |
mkdir tmp; | |
mv com.apple.ManagedClient.* tmp/; | |
mv com.apple.mdmclient.* tmp/; | |
bless --folder /Volumes/Mac/System/Library/CoreServices --bootefi --create-snapshot; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment