![]() ![]() ![]() On Sun, at 10:53, solis98 > wrote: commented on this gist. Change to: 0.0.0.0 Save and Quit ":wq" This has been my "fix" for many months. sudo vim /etc/hosts # Comment out below for software update 0.0.0.0 Change to: # 0.0.0.0 Save ":w" Run software update and start process. Once the update starts to download, I remove the "#". Once a month, I comment out the below line in /etc/hosts file then check for MacOS X Updates. ![]() The only thing that worked for me was by removing /Volumes/Macintosh\ HD\ -\ Data/private/var/db/ConfigurationProfiles/Settings Removing LaunchDaemons and LaunchAgents and re-routing IP addresses didn't work for me. After fresh install of mac OS Catalina, it was showing remote management from a company that is different from my own workplace. ![]() Rm -r /Volumes/Macintosh\ HD\ -\ Data/private/var/db/ConfigurationProfiles/Settings #remove the entire folder and it NEVER asks for DEP again, without this folder it won't work #this method of skipping via Other/No Internet is usually sufficient for macOS 10.14 and under #When you reboot with this method you must choose Other for network options then "This Mac does not connect to the Internet" to skip Remote Management Rm /Volumes/Macintosh\ HD\ -\ Data/private/var/db/ConfigurationProfiles/Settings/.* #the WiFi password IS still stored here but it is not necessary to remove this Rm /Volumes/Macintosh\ HD\ -\ Data/Library/Preferences/ist #remove the known networks plist which auto-joins your WiFi - older version of macOS may not have this #clear the nvram if there is any saved WiFi info there # this assumes the boot drive is named "Macintosh HD" and is a newer OS that has a Data volume I've been wondering if I should blog about this, but here's another way that doesn't involve blocking network ports, so to squirrel this knowledge away in a corner of the web: # these commands MUST be from Terminal in Recovery mode only (as root of course) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |