Giter Club home page Giter Club logo

bypass-mdm's Introduction

Bypass-MDM for MacOS ๐Ÿ’ป

mdm-screen

Prerequisites โš ๏ธ

  • It is advised to erase the hard-drive prior to starting.
  • It is advised to re-install MacOS using an external flash drive.

Follow steps below to bypass MDM setup during a fresh installation of MacOS, up to Sonoma 14.4.1 (23E224).

Upon arriving to the setup stage of forced MDM enrollement:

  1. Long press Power button to forcefully shut down your Mac.

  2. 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.

  1. Connect to WiFi to activate your Mac.

  2. Enter Recovery Mode & Open Safari.

  3. Navigate to https://www.github.com/assafdori/bypass-mdm

  4. Copy the script below:

curl https://raw.githubusercontent.com/assafdori/bypass-mdm/main/bypass-mdm.sh -o bypass-mdm.sh && chmod +x ./bypass-mdm.sh && ./bypass-mdm.sh
  1. Launch Terminal (Utilities > Terminal).

  2. Paste (CMD + V) and Run the script (ENTER).

  3. Input 1 for Autobypass.

  4. Press Enter to leave the default username 'Apple'.

  5. Press Enter to leave the default password '1234'.

  6. Wait for the script to finish & Reboot your Mac.

  7. Sign in with user (Apple) & password (1234)

  8. Skip all setup (Apple ID, Siri, Touch ID, Location Services)

  9. Once on the desktop navigate to System Settings > Users and Groups, and create your real Admin account.

  10. Log out of the Apple profile, and sign in into your real profile.

  11. Feel free set up properly now (Apple ID, Siri, Touch ID, Location Services).

  12. Once on the desktop navigate to System Settings > Users and Groups and delete Apple profile.

  13. Congratulations, you're MDM free! ๐Ÿ’ซ

Although it's virtually impossible to catch that you've removed the MDM (because it wasn't even configured), be aware that the serial number of the laptop will still be shown in the inventory system of your company. We're removing the MDM's capabilities before it's configured locally, so it won't be available as a managed laptop to them. Use with caution. Probably a good idea to have a valid excuse as well.

bypass-mdm's People

Contributors

assafdori avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.