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
Can anyone explain why this is happening? My Mac is not supposed to be under MDM and in Venture it was not. Is this a bug in Sonoma? Or should I contact the previous owner of my Mac to get it removed from the past company's MDM setup?