Created
January 7, 2021 15:51
-
-
Save hungdh0x5e/a6a2cc4f269c00ac6f8b5bcabcd3b920 to your computer and use it in GitHub Desktop.
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/Macintosh\ -\ Data; | |
Mount -uv /Volumes/Macintosh\ -\ Data; | |
cd /Volumes/Macintosh\ -\ Data/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/Macintosh\ -\ Data/System/Library/CoreServices --bootefi --create-snapshot; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment