Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zipmegabyte/dfdad319864720304c144b19a92db2a6 to your computer and use it in GitHub Desktop.
Save zipmegabyte/dfdad319864720304c144b19a92db2a6 to your computer and use it in GitHub Desktop.
Disable Device Enrolment Notification on MacOS without messing with the readonly filesystem

Disable Device Enrolment Notification on MacOS in 4 easy steps

Attention: Doesn't seem to work. More investigation is necessary. Will update if able to fix.

1. Open Terminal.app

2. Copy the readonly plist file to your userspace

mkdir ~/Library/LaunchDaemons
cp /System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist ~/Library/LaunchDaemons

3. Change its value to false

perl -i -pe's|<true/>|<false/>|g' ~/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist

4. That's it. You can either restart your machine now or apply this setting immediately:

defaults write com.apple.ManagedClient enroll -boolean False
@SkynetVirus
Copy link

didn't work for me :(.
Macbook Pro 2015. Big Sur beta 4.

@zipmegabyte
Copy link
Author

zipmegabyte commented Aug 17, 2020 via email

@teppi210
Copy link

bigsur remove mdm ok

@burnstop
Copy link

Not work on macbook pro 2017 15" bigsur. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment