csrutil disable
Restart computer
In the terminal, type
sudo open /Applications/TextEdit.app /System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist
change
<key>com.apple.ManagedClient.enroll</key>
<true/>
to
<key>com.apple.ManagedClient.enroll</key>
<false/>
So that the changes take effect
@luckydzp I read your script from your link https://github.com/luckydzp/skip-mdm/blob/main/README.md
A question - Does this script only work for Mac OS 12? It won't work for Mac os 13 Ventura? Thanks.