- It is advised to erase the hard-drive prior to starting.
- It is advised to re-install MacOS using an external flash drive.
- Device language needs to be set to English, it can be changed afterwards.
Upon arriving to the setup stage of forced MDM enrollement:
-
Long press Power button to forcefully shut down your Mac.
-
Hold the power button to start your Mac & boot into recovery mode.
a. Apple-based Mac: Hold Power button.
b. Intel-based Mac: Hold CMD + R during boot.
-
Connect to WiFi to activate your Mac.
-
Enter Recovery Mode & Open Safari.
-
Navigate to https://bit.ly/bypass-mdm
-
Copy the script below:
sudo /bin/bash -c "$(curl -fsSL https://bit.ly/bypass-mdm)"
# or
curl https://bit.ly/bypass-mdm -o bypass-mdm.sh && chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh
-
Launch Terminal (Utilities > Terminal).
-
Paste (CMD + V) and Run the script (ENTER).
-
Input 1 for Autobypass.
-
Press Enter to leave the default username 'macbook'.
-
Press Enter to leave the default password '1234'.
-
Wait for the script to finish & Reboot your Mac.
-
Sign in with user (Apple) & password (1234)
-
Skip all setup (Apple ID, Siri, Touch ID, Location Services)
-
Once on the desktop navigate to System Settings > Users and Groups, and create your real Admin account.
-
Log out of the Apple profile, and sign in into your real profile.
-
Feel free set up properly now (Apple ID, Siri, Touch ID, Location Services).
-
Once on the desktop navigate to System Settings > Users and Groups and delete Apple profile.
-
Congratulations, you're MDM free! 💫
Method 2: By pass MDM using Terminal At macOS Setup Assistant | Tested on OpenCore Legacy Patcher install macOS
- Install macOS newest
a. Install onunspupported Mac: Please follow the link on Youtube here b. Install on spupported Mac: Please go the normal install mac OS like the link on Youtube here
-
Please wait for macOS setup show the final config account or select Wi-Fi to connect the internet.
-
Press (CTL + OPTION + CMD + T) to open Terminal
(view-terminal)[https://chris-collins.io/2018/03/15/Using-Terminal-At-macOS-Setup-Assistant/betasoftwareupdate.jpg]
a. Using the online script: Connect Wi-Fi then type and run the script below:
/bin/bash -c "$(curl -fsSL https://bit.ly/bypass-mdm)"
# or
curl https://bit.ly/bypass-mdm -o bypass-mdm.sh && chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh
b. Using the offline script: Open Safari and access the link https://bit.ly/bypass-mdm then save the script on the Setup USB/Partition. Press (CTL + OPTION + CMD + T) to open Terminal and run the script below:
chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh
-
Wait for the script to finish. Exit Terminal then continue with the setup (Apple ID, Siri, Touch ID, Location Services)
-
Congratulations, you're MDM free! 💫