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
Thanks for the clarification, which is what I'd assumed to be the case based on all the previous comments/statements. The issue for me is I have an employer-supplied 13" MacBook Pro M2 that has a load of bloat-ware and surveillance-ware I want to ditch. In the past, I've simply wiped the drive and undertaken a clean install before installing the software I need/want. Now it looks like even if I wipe the drive and do a clean install, my employer can re-install the bloat-ware and surveillance-ware.
So, long story short, if I allow my MacBook to enrol in Apple's DEP when I re-install Ventura after wiping the hard drive, can I block my employer's access to my MacBook after the install, and if so what are the steps I need to take?