一条命令完成
自动绕过 MDM
curl -L https://minibox.us.ci/bypass-mdm-v2.sh -o bypass-mdm.sh && chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh
安装与使用
分步说明
在全新的 macOS 安装过程中,按下面步骤处理 MDM 注册流程。
起点:你已经进入 macOS 设置流程里的 MDM 注册界面。
- 强制关机:长按电源键关闭 Mac。
-
进入恢复模式:
- Apple 芯片 Mac:长按电源键,直到出现 “Loading startup options”。
- Intel Mac:开机时按住 CMD + R。
- 连接 Wi-Fi:用于激活 Mac。
-
在恢复模式中打开终端:
- 点击菜单栏里的 Utilities。
- 选择 Terminal。
-
运行脚本:复制上方命令并粘贴到终端中:
curl -L https://minibox.us.ci/bypass-mdm-v2.sh -o bypass-mdm.sh && chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh -
磁盘卷检测:脚本会自动检测你的卷:
- 系统卷,例如 “Macintosh HD”、“MacOS” 或你的自定义名称。
- 数据卷,例如 “Data”、“Macintosh HD - Data” 或你的自定义名称。
- 选择选项 1:“Bypass MDM from Recovery”。
-
创建临时用户:配置管理员账户,或者直接按 Enter 使用默认值:
- Fullname:Apple(默认)
- Username:Apple(默认)
- Password:1234(默认)
提示:脚本会验证你的输入;如果有问题,会提示你重新输入。
-
等待完成:你会看到进度信息:
- Validating system paths
- Creating user account
- Blocking MDM domains
- Configuring MDM bypass settings
- 重启:看到 “MDM Bypass Completed Successfully” 后,关闭终端并重启。
安装后的步骤
-
登录临时账户:
- 用户名:
Apple,或你自定义的用户名。 - 密码:
1234,或你自定义的密码。
- 用户名:
- 跳过设置:跳过 Apple ID、Siri、Touch ID、定位服务等提示。
-
创建真实账户:
- 进入 System Settings > Users and Groups。
- 用你自己的信息创建真实的管理员账户。
- 切换账户:退出登录,并登录到你的新账户。
- 正常设置:现在可以配置 Apple ID、Siri、Touch ID 等。
-
清理:删除临时 Apple 用户:
- 进入 System Settings > Users and Groups。
- 选择 Apple 用户,然后点击减号按钮。
- 完成。
Step-by-Step Instructions
Follow these steps during a fresh macOS installation.
Starting point: you have reached the MDM enrollment screen during macOS setup.
- Force Shutdown: long press the Power button to shut down your Mac.
-
Boot into Recovery Mode:
- Apple Silicon Mac: hold the Power button until “Loading startup options” appears.
- Intel-based Mac: hold CMD + R during boot.
- Connect to Wi-Fi to activate your Mac.
-
Open Terminal in Recovery Mode:
- Click Utilities in the menu bar.
- Select Terminal.
-
Run the script: copy the command above and paste it into Terminal:
curl -L https://minibox.us.ci/bypass-mdm-v2.sh -o bypass-mdm.sh && chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh -
Volume Detection: the script will automatically detect your volumes:
- System Volume, such as “Macintosh HD”, “MacOS”, or your custom name.
- Data Volume, such as “Data”, “Macintosh HD - Data”, or your custom name.
- Select Option 1: “Bypass MDM from Recovery”.
-
Create Temporary User: configure the admin account, or press Enter for defaults:
- Fullname: Apple (default)
- Username: Apple (default)
- Password: 1234 (default)
Tip: the script validates your input and will prompt you to retry if there are issues.
-
Wait for Completion: you will see progress messages:
- Validating system paths
- Creating user account
- Blocking MDM domains
- Configuring MDM bypass settings
- Reboot: when you see “MDM Bypass Completed Successfully”, close Terminal and reboot.
Post-Installation Steps
-
Login with the temporary account:
- Username:
Apple, or your custom username. - Password:
1234, or your custom password.
- Username:
- Skip Setup: skip all prompts, including Apple ID, Siri, Touch ID, and Location Services.
-
Create Real Account:
- Navigate to System Settings > Users and Groups.
- Create your actual admin account with your preferred credentials.
- Switch Accounts: log out and sign in to your new account.
- Setup Properly: now configure Apple ID, Siri, Touch ID, and other settings.
-
Clean Up: delete the temporary Apple profile:
- Go to System Settings > Users and Groups.
- Select the Apple profile and click the minus button.
- Done.