Skip to content

Instantly share code, notes, and snippets.

  • Save 9bow/9dfc582115e8d26748383815829ec1b1 to your computer and use it in GitHub Desktop.
Save 9bow/9dfc582115e8d26748383815829ec1b1 to your computer and use it in GitHub Desktop.
Disable Device Enrollment Program (DEP) notification on macOS BigSur and Monterey

Disable Device Enrollment Program (DEP) notification on macOS BigSur and Monterey

Requirements

  1. Restart in Recovery Mode

    Restart your Mac then hold down the Command & R keys together until you're in the Recovery Mode menu

  2. Click on Utilities then select: Startup Security Utility

  3. The 3-choices popup appears: select (No security) (no confirmation button to press)

  4. Restart again in Recovery Mode (Command+R)

  5. Open Utilities → Terminal and type

    csrutil disable

  6. Restart in Recovery Mode again and continue with Main Procedure

Main Procedure

  1. Enter Disk Utility, and mount the Macintosh HD volume (or whatever your main volume is named). (It might already be mounted.)

  2. Open UtilitiesTerminal and type

    curl -L https://raw.githubusercontent.com/luminositystudio/mactuts/main/disable_DEP.sh -O

  3. Then

    chmod 775 disable_DEP.sh

  4. Then

    ./disable_DEP.sh

  5. Reboot

Verification

  1. After a normal boot, you can verify the DEP status in Terminal.

    profiles status -type enrollment

  2. Disable DEP Status successful.

    Enrolled via DEP: No
    MDM enrollment: No
    

Notes

  1. After each upgrade to the latest BigSur and Monterey, apply this method again to disable DEP.

  2. Method has been tested and worked on following macOS BigSur and Monterey version:

    • 12.1 (Monterey)
    • 12.0.1 (Monterey)
    • 11.5.2 (BigSur)
    • 11.3.1
    • 11.3
    • 11.2.3
    • 11.2.2
    • 11.2.1
    • 11.2
    • 11.1
    • 11.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment