Created
February 9, 2021 20:20
-
-
Save developerinlondon/c5b0f05eaebd9ca2357edabbfa593a80 to your computer and use it in GitHub Desktop.
Big Sur Remove Device Enrollment
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
This works for macOS Big Sur to Disable MDM notifications | |
Restart in Recovery Mode Restart your Mac then hold down the Command & R keys together until you're in the Recovery Mode menu (Command+R) | |
Click on Utilities (top menu bar) then select: Startup Security Utility | |
A 3-choices popup appears: select (No security) (there is no confirmation button to press) | |
Restart again in Recovery Mode (Command+R) | |
Click on Utilities (top menu bar) then select Terminal | |
type in: mount then click enter/return | |
A list of things will show up once you enter in (mount) in Terminal Write down the disk associated with /Volumes/Macintosh HD (mine was /dev/disk2s5) Note: it's not "/", and it's not /Volumes/Macintosh HD - Data | |
Next, in Terminal, write: umount /Volumes/Macintosh\ HD | |
then: mkdir /Volumes/Macintosh\ HD | |
then: mount -t apfs -rw /dev/disk2s5 /Volumes/Macintosh\ HD | |
then: cd /Volumes/Macintosh\ HD/System/Library/LaunchAgents | |
then: mkdir xtemp | |
then: mv com.apple.ManagedClientAgent.* xtemp/ | |
then: mv com.apple.mdmclient.* xtemp/ | |
then: cd ../LaunchDaemons | |
then: mkdir xtemp | |
then: mv com.apple.ManagedClient.* xtemp/ | |
then: mv com.apple.mdmclient.* xtemp/ | |
then: csrutil authenticated-root disable (this will Turn off Signed System Volume SSV) | |
then lastly: bless --folder /Volumes/Macintosh\ HD/System/Library/CoreServices --bootefi --create-snapshot (this will Save the current disk status in the boot snapshot) | |
Now you can restart your Mac, DEP notification is disabled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment