Created
March 6, 2020 17:59
-
-
Save flit/3080e1f77cbe4f4540502345eb4e8ccb to your computer and use it in GitHub Desktop.
Disabling macOS MDM notification on Catalina 10.15
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 | |
csrutil disable | |
# Restart into normal user mode | |
sudo mount -uw / | |
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 | |
csrutil enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment