Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac






I just tried it on my test MacBook Pro, and the enrolment message popped up. ### 🚀 Bypassing MDM/DEP Enrollment on macOS Tahoe (Apple Silicon)
This guide provides a technical walkthrough for removing persistent "Remote Management" or "Device Enrollment" notifications on a MacBook Pro with Apple Silicon (M1/M2/M3) running macOS Tahoe.
Warning
This process requires disabling System Integrity Protection (SIP). Proceed with caution as this reduces certain system security layers to allow for the modification of enrollment records.
1. Enter Recovery Mode & Disable SIP
On Apple Silicon, the standard keyboard shortcuts have changed.
y, then enter your admin password.2. Wipe Local Enrollment Records (Recovery Terminal)
To ensure the OS doesn't "remember" its corporate status, you must gut the local configuration directory. It is most effective to do this while still in Recovery Mode Terminal.
Macintosh HD):3. Block Apple Enrollment Servers (Network Muzzle)
Even with local files deleted, macOS Tahoe will attempt to "phone home" to Apple’s servers. Editing the
hostsfile redirects these requests to a dead end.4. Disable the Enrollment Daemon
Stop the background service responsible for triggering the "Device Enrollment" pop-up.
5. Verification
To confirm the Mac is no longer communicating with the enrollment servers, run:
Success Criteria:
Enrolled via DEP: NoMDM enrollment: No📝 Important Notes
/etc/hostsfile. If the pop-up returns, simply re-add the domains listed in Step 3.csrutil enable.