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.
@holyMolyTolli
Copy link

FYI, rebooted my MackbookPro 2,6 GHz 6-Core Intel Core i7 Sequoia the other day, hand had to hack back in. it worked with @joshworksit's last described approach (mix of setting up a new admin user and, changing settings and such).

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

touch /Volumes/Data/private/var/db/.AppleSetupDone
rm -rf /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigHasActivationRecord
rm -rf /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigRecordFound
touch /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigProfileInstalled
touch /Volumes/Macintosh\ HD/var/db/ConfigurationProfiles/Settings/.cloudConfigRecordNotFound

@2020sux
Copy link

2020sux commented Sep 25, 2024

I did a direct update from working great Ventura 13.7 to Sequoia 15 and had no issues.

I did follow the instruction posted by @sonomadep after performing the upgrade. I didn't wait for any nag screens to appear, I just proactively did it.

@icarus2712
Copy link

I did a direct update from working great Ventura 13.7 to Sequoia 15 and had no issues.

I did follow the instruction posted by @sonomadep after performing the upgrade. I didn't wait for any nag screens to appear, I just proactively did it.

could u share how did u do it ? step by step?

@icarus2712
Copy link

@Jbb08 Thank you for your answer I will do the same and let everyone know. Around 1 hour before I updated to 15. I'm using it without problem now.

please share how did u update?

@spiralz23
Copy link

spiralz23 commented Sep 25, 2024

Ok so I tried to update straight from 13.7 to 15 in software update but it failed then update showed up Sonoma (14.7)

so I made sure my hosts were set blocking the usual suspects

went into my router (lynksis) and opened up parental controls found my mac in devices and blocked access to the same as hosts file.

then just updated to sonoma took a while but at went ok mac is working as normal no MDM or difference to previous.

Now the update to 15 has showed up in update so I've now installed the update to 15 no issues at all no MDM pop ups everything seems to be working as it should , Hosts file remains unchanged still blocking as it should.

TLDR; I just made sure my hosts file and router was blocking deviceenrollment.apple.com, mdmenrollment.apple.com, iprofiles.apple.com and just updated as normal. 13 - 14 - 15

thanks.

@fmodesto30
Copy link

fmodesto30 commented Sep 25, 2024

Hi everyone !

It's about to complete a year since I followed @joshworksit's bypass. M1 Pro 2021.

Since then I have always updated without problems.

I just updated (09/25/2024) from 14.6.1 to Sequoia 15.0.

Make sure to have it configured.

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

@Ph0eN1x1917
Copy link

I've been on Ventura, currently 13.6.9 M1 2020. After following the guide as well. For every update, I was able to just run this command
rm -r /private/var/db/ConfigurationProfiles
I wouldn't see the nagging pop-up anymore. Until the last update and I can't remove it anymore. Restricted access etc...

Can I still update to 15 without an issue? I've been hesitant for far to long if anyone can clarify what might happen??
Thank you!

@Ran-Xing
Copy link

If you don't want to toss or encounter difficulties, you can ask me for a paid solution, whether it's a command line or an automatic program.

@joaoteubner
Copy link

Has anyone updated to MacOs Sequoia 15.0.1? I've been looking for a permanent solution for days to end this remote management blockage once and for all and not worry about future updates but I can't find it anywhere.

@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

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