Announcement

Collapse
No announcement yet.

Bypass mdm macbook m2 ventura

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bypass mdm macbook m2 ventura

    1. RESET MACOS WITH IPSW

    a. Power off MacBook, press and hold the power button to enter Recovery
    b. Open Disk Utility, remove Macintosh HD
    c. Reboot, connect to the network to Activate Mac.
    d. Plug the C cord in the first port of the MacBook into the other Mac, then power off the MacBook
    d. Hold down the Control (L) + Option (L) + Shift (R) + Power key combination for 10 seconds
    e. Release the other keys, but keep holding the Power key for another 10 seconds
    f. MacBook is returned to DFU, open Apple Configurator 2 on the other Mac, right-click and select Restore
    g. After about 10 minutes, the installation is successful, MacBook will reboot into macOS

    2. BYPASS CONNECTING NETWORK IN MACOS VENTURA's ASSISTANT SETUP

    a. Power off MacBook, press and hold the power button to enter Recovery
    b. Open the Terminal tool, type the following command to enable the root account and set a password for the root account:

    dscl -f /Volumes/Data/private/var/db/dslocal/nodes/Default localhost -passwd /Local/Default/Users/root

    (Depending on how macOS is installed, the Data partition path may be different. In the case of USB installation, the Data partition will be named "Macintosh HD - Data")

    Enter the password for the root account (need to meet the security criteria, different from the user account password).
    c. Restart the MacBook, manipulate the steps to set the language, region... to the Wi-Fi connection, stop (do not enter the Wi-Fi password).
    d. Press 4 keys Command + Option + Control + T at the same time to open Terminal
    e. Select the Apple logo in the upper left corner of the screen, select System Settings -> User & Groups -> Add Account.
    f. macOS will ask for user authentication, enter user as root and password as the password you created earlier.
    g. Create a new user account for macOS, the New Account section should be Administrator.
    h. After creating the account, power off the MacBook and then hold the power button to enter Recovery.

    Open the Terminal tool, type the following command and press enter:

    touch /Volumes/Data/private/var/db/.AppleSetupDone

    (Depending on how macOS is installed, the Data partition path may be different. In the case of USB installation, the Data partition will be named "Macintosh HD - Data")

    k. Restart your MacBook, then log in to the user account you just created.

    Note: After successful login, you should actively disable the root account by opening Terminal and typing the command:

    dsenableroot -d

    l. Once inside, to block the connection to the MDM server.(block hosts)

    #2
    Re: Bypass mdm macbook m2 ventura

    1. Open Utilities → Terminal and type
    $ csrutil disable
    $ reboot
    2. Hold command-R during the reboot to enter Recovery Mode again
    3. Enter Disk Utility, and mount the Macintosh HD volume (or whatever your main volume is named). (It might already be mounted.)
    4. Exit Disk Utility, open Utilities → Terminal, and type
    $ cd "/Volumes/Macintosh HD/System/Library"
    $ cd ../../etc
    $ echo "0.0.0.0 iprofiles.apple.com" >> hosts
    $ echo "0.0.0.0 mdmenrollment.apple.com" >> hosts
    $ echo "0.0.0.0 deviceenrollment.apple.com" >> hosts
    $ echo "0.0.0.0 gdmf.apple.com" >> hosts $csrutil enable
    $ reboot
    5. If you come to the "Choose your country/location" dialogue, make sure to not select a wireless network, but "continue without an internet connection"
    6. After a normal boot, you can verify the DEP status in Terminal:
    $ profiles status -type enrollment
    Enrolled via DEP: No
    MDM enrollment: No

    Comment


      #3
      Re: Bypass mdm macbook m2 ventura

      Thx it works

      Comment


        #4
        Re: Bypass mdm macbook m2 ventura

        @tobeend

        are the two posts two different ways to bypass MDM?One with DFU and one without?

        Comment


          #5
          Re: Bypass mdm macbook m2 ventura

          Try this sir install old operating system like catalina and update to latest o.s (mdm in settings is none)

          But if you format your unit in latest O.S mdm is appeared.

          Comment

          Working...
          X