Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save henrik242/65d26a7deca30bdb9828e183809690bd to your computer and use it in GitHub Desktop.
Save henrik242/65d26a7deca30bdb9828e183809690bd to your computer and use it in GitHub Desktop.
@contactsunilkumar
Copy link

Hello, thanks to all of you with the detailed instructions to upgrade the system.

I managed to upgrade the system, but now after usage for about 1-2 hours, started getting those MDM profile notifications. How do I completely avoid such profile notifications, as the system is not letting me do anything unless I enrol.

Please suggest

@joaoteubner
Copy link

Hi, I tried everything, but I only came to two conclusions.
Contact the company and ask them to unlink the Mac's serial number from their system, or hire a good Indian guy that I found on Telegram to resolve it for me, which is what I did lol.
Here is the link to the video that made me find it.
https://youtu.be/XIk-GWb4K_Q?si=FumfZpFsFCEFx6mS

@gboy13
Copy link

gboy13 commented Oct 24, 2024

Another one... anyone updated from MDM ventura (13.7) to 15? (2021 MBP M1)
Thanks

I have the same questions. Used my instructions here on ventura but would like to migrate to 15. https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4620471#gistcomment-4620471

My upgrade went smooth. Only thing I did preemptively in addition to my own instructions from the OG install is add the blacklist to the hosts file.

@N4ssim
Copy link

N4ssim commented Nov 8, 2024

IMG_6849
Hi, how can I get around this page without reinstalling macos and losing my data?
I have version 14.6

and how can I transfer my data without losing it?

@bagofcig
Copy link

IMG_6849 Hi, how can I get around this page without reinstalling macos and losing my data? I have version 14.6

and how can I transfer my data without losing it?

Hey, i have encountered the same thing after updating my mac to sequoia. I was able to get around this page by booting the mac into recovery mode and open terminal and execute this command below, thanks to (holyMolyTolli) and everyone else who shared this

echo "0.0.0.0 deviceenrollment.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts
echo "0.0.0.0 mdmenrollment.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts
echo "0.0.0.0 iprofiles.apple.com" >>/Volumes/Macintosh\ HD/etc/hosts

@solis98
Copy link

solis98 commented Dec 7, 2024

Hello! I am a Macbook Pro M1 2020 user, I bought it in 2022, I used one of the commands that were placed in that year and so far it has not given me any problems and I can update it normally. But I am noticing my macbook is slow, I have never given it maintenance so I want to factory reset it. If I reset it, can the mdm profile be reactivated?

@alucardness
Copy link

alucardness commented Dec 7, 2024

Hello! I am a Macbook Pro M1 2020 user, I bought it in 2022, I used one of the commands that were placed in that year and so far it has not given me any problems and I can update it normally. But I am noticing my macbook is slow, I have never given it maintenance so I want to factory reset it. If I reset it, can the mdm profile be reactivated?

Yes, it will be reactivated. The only way I found for factory reset is to install fresh big sur, apply the commands for deactivate mdm and then updating os versions.

@vitor-eto
Copy link

WhatsApp Image 2024-12-18 at 13 07 44
@joshworksit Can you help me? I used your command and still getting this error message

@Yassine-64
Copy link

Hello! I am a Macbook Pro M1 2020 user, I bought it in 2022, I used one of the commands that were placed in that year and so far it has not given me any problems and I can update it normally. But I am noticing my macbook is slow, I have never given it maintenance so I want to factory reset it. If I reset it, can the mdm profile be reactivated?

Yes, it will be reactivated. The only way I found for factory reset is to install fresh big sur, apply the commands for deactivate mdm and then updating os versions.

Hey bro, I have a MacBook Pro M1 2020 that's already bypassed, and I'm running Sequoia 15. If I update it, will it get the MDM lock again?

@alucardness
Copy link

Hello! I am a Macbook Pro M1 2020 user, I bought it in 2022, I used one of the commands that were placed in that year and so far it has not given me any problems and I can update it normally. But I am noticing my macbook is slow, I have never given it maintenance so I want to factory reset it. If I reset it, can the mdm profile be reactivated?

Yes, it will be reactivated. The only way I found for factory reset is to install fresh big sur, apply the commands for deactivate mdm and then updating os versions.

Hey bro, I have a MacBook Pro M1 2020 that's already bypassed, and I'm running Sequoia 15. If I update it, will it get the MDM lock again?

No, you won't. It might be a good idea to read the release notes of new macOS updates. As far as I can tell, the hosts file, Apple are not allowed to overwrite it.

@zayantharani
Copy link

This worked really well!
Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment