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
Ahhh that’s the one thing I forgot to mention. I never had the MDM fully enrolled or installed. I was getting notifications and popups to enroll.
I wiped my computer and reinstalled a fresh version of Ventura as well.
Hope that helps.