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
I have not tested brunerd method, but I have used similar methods in other systems to bypass configuration files. If the folder that should be there no longer exists, not all apps are smart enough to recreate the folder to store the configuration files. When the files cannot be created or accessed (because the path/file does not exist), this does break some apps; such as this case the configuration daemons.