Skip to content

Instantly share code, notes, and snippets.

View ParkerPerry's full-sized avatar

Parker Perry ParkerPerry

View GitHub Profile
@MScottBlake
MScottBlake / 1-Reboot to Recovery.command
Last active October 26, 2023 15:20
Removing a Non-Removable MDM Profile
#!/bin/zsh
# Elevate permissions, if needed
if [ $USER != 'root' ]; then
sudo $0
exit 0
fi
# Reboot to Recovery
/usr/sbin/nvram "recovery-boot-mode=unused"

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable