Forked from joshkitt/gist:f163614b831fd246bb0a78dc61df2248
Created
July 24, 2020 01:39
-
-
Save Bios597407/ead3afda17782c65c297f194db9a2b65 to your computer and use it in GitHub Desktop.
Disable MacBook Device Enrollment Notification nag popup
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
Restart into recovery mode | |
Terminal: csrutil disable | |
Restart into normal user mode | |
Terminal: sudo mount -uw / | |
Terminal: sudo mkdir /System/Library/LaunchAgentsDisabled; sudo mkdir /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchAgents/com.apple.ManagedClientAgent.agent.plist /System/Library/LaunchAgentsDisabled; sudo mv /System/Library/LaunchAgents/com.apple.ManagedClientAgent.enrollagent.plist /System/Library/LaunchAgentsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.cloudconfigurationd.plist /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.plist /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.startup.plist /System/Library/LaunchDaemonsDisabled | |
Restart into recovery mode | |
Terminal: csrutil enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment