curl https://raw.githubusercontent.com/gdanko/mdm-bypass/main/mdm-bypass.sh -o mdm-bypass.sh && chmod +x ./mdm-bypass.sh && ./mdm-bypass.sh
- The device can't be bios-locked.
- M-Series only.
- Freshly installed MacOS Ventura/Sonoma.
-
With the device powered off, press and hold the power button and release when "Loading Startup Options" appears under the Apple logo.
-
Connect to WiFi and Activate the Mac.
-
Open Safari and go back to this repo. (https://www.github.com/gdanko/mdm-bypass)
-
Copy this command:
curl https://raw.githubusercontent.com/gdanko/mdm-bypass/main/mdm-bypass.sh -o mdm-bypass.sh && chmod +x ./mdm-bypass.sh && ./mdm-bypass.sh
-
Quit Safari. (At the top left of the screen, next to the Apple logo, click Safari --> Quit Safari)
-
Open the Terminal (Tools --> Terminal).
-
Paste the command in the terminal (Command + V) and press enter.
-
Type 1 and press Enter.
-
Type your full name or leave it empty and press enter.
-
Type your username or leave it empty and press enter. (Default username is Apple)
-
Type your password or leave it empty and press enter. (Default password is 1234)
-
Wait for it to complete and reboot. (Type "reboot" and press enter)
-
Profit.
- Delete the drive.
- Activate the Mac.
- Reinstall macOS from recovery.
- At the "Select Your Country or Region" screen, press and hold the power button until the screen goes black to shut down.
- Follow the installation instructions.
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
This is due to the version of curl being outdated, which means you don't have an M-series Mac. Therefore, this won't work for you.