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
Does anyone know if there is a way to remove remote management from a 2019 iMac but keep all the data as is.
We were upgrading to Monterey at work since our software is compatible now but forgot a few were 2019 ex-remote managed.
Cheers