Skip to content

Instantly share code, notes, and snippets.

@flit
Created March 6, 2020 17:59
Show Gist options
  • Save flit/3080e1f77cbe4f4540502345eb4e8ccb to your computer and use it in GitHub Desktop.
Save flit/3080e1f77cbe4f4540502345eb4e8ccb to your computer and use it in GitHub Desktop.
Disabling macOS MDM notification on Catalina 10.15
# 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