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


            #6
            It explains everything, it's not just one step, do a previous installation of the operating system by dfu, download the image of Monterrey and restore it, start the normal user password, etc. then cmd r terminal

            Comment


              #7
              carutil disable reboot and host paste this saved line change reboot cmd r terminal csrutil enable with internet reboot baypass full can update normal
              0.0.0.0 iprofiles.apple.com
              0.0.0.0 mdmenrollment.apple.com
              0.0.0.0 deviceenrollment.apple.com
              0.0.0.0 gdmf..apple.com
              0.0.0.0 acmdm.apple.com
              0.0.0.0 albert.apple.com

              Comment


                #8
                As you can see, Apple has signed all the files signed from Monterrey

                Comment


                  #9
                  Disable annoying Remote Management Pop-Up after upgrading to macOS Sonoma (14)


                  Apple further added a new gate preventing people from using their DEP-enabled Macs without installing the profiles in macOS Sonoma. After upgrading from a fully-working Ventura copy (with MDM servers blocked in hosts) to macOS Sonoma DP 1, your Mac will want to give you a pop-up window every 10 mins reminding you to install a DEP profile. Did some experiments and I think Apple is secretly pinging their MDM servers no matter you have an active profile associated w/ SN or not. As long as the servers are not reachable they will annoy you with their new pop-up system. The Workaround


                  (1) Disable SIP

                  csrutil disable

                  (2)
                  sudo rm /var/db/ConfigurationProfiles/Settings/.cloudConfigHasActivationRecord

                  sudo rm /var/db/ConfigurationProfiles/Settings/.cloudConfigRecordFound

                  sudo touch /var/db/ConfigurationProfiles/Settings/.cloudConfigProfileInstalled

                  sudo touch /var/db/ConfigurationProfiles/Settings/.cloudConfigRecordNotFound

                  (3) you're all set. enjoy this boring upgrade

                  csrutil enable

                  Comment


                    #10
                    Originally posted by tobeend View Post
                    Disable annoying Remote Management Pop-Up after upgrading to macOS Sonoma (14)


                    Apple further added a new gate preventing people from using their DEP-enabled Macs without installing the profiles in macOS Sonoma. After upgrading from a fully-working Ventura copy (with MDM servers blocked in hosts) to macOS Sonoma DP 1, your Mac will want to give you a pop-up window every 10 mins reminding you to install a DEP profile. Did some experiments and I think Apple is secretly pinging their MDM servers no matter you have an active profile associated w/ SN or not. As long as the servers are not reachable they will annoy you with their new pop-up system. The Workaround


                    (1) Disable SIP

                    csrutil disable

                    (2)
                    sudo rm /var/db/ConfigurationProfiles/Settings/.cloudConfigHasActivationRecord

                    sudo rm /var/db/ConfigurationProfiles/Settings/.cloudConfigRecordFound

                    sudo touch /var/db/ConfigurationProfiles/Settings/.cloudConfigProfileInstalled

                    sudo touch /var/db/ConfigurationProfiles/Settings/.cloudConfigRecordNotFound

                    (3) you're all set. enjoy this boring upgrade

                    csrutil enable
                    dear i have Macbook M3 and i am checked from server MDM Status is ON, but no any profile showing on Macbook even i erase twice and activate still not coming any MDM, so what we can do, these commands i will run which you will sending? give me any suggestions please.

                    Comment


                      #11
                      Originally posted by HSBunlock View Post

                      dear i have Macbook M3 and i am checked from server MDM Status is ON, but no any profile showing on Macbook even i erase twice and activate still not coming any MDM, so what we can do, these commands i will run which you will sending? give me any suggestions please.
                      I think you have an MDM profile that doesn't have any specific settings, it's just registered to the company, in any case it can change if the admin adds the settings needed for the company
                      so far you're lucky, but my advice is to install the extensions that are in this article because when the admin's changes take effect you will lose all the data on your MacBook, unless you have a programmer who understands how to bypass the lock and remove it

                      Comment


                        #12
                        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

                        Comment

                        Working...
                        X