Forked from henrik242/Disable Device Enrollment Program (DEP) notification on macOS Ventura.md
Created
September 7, 2023 05:07
Revisions
-
henrik242 revised this gist
Sep 1, 2023 . 2 changed files with 5 additions and 54 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,54 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # Disable Device Enrollment Program (DEP) notification on macOS Ventura.md New Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340 Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d -
henrik242 revised this gist
Sep 1, 2023 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,8 @@ # Disable Device Enrollment Program (DEP) notification on macOS Ventura.md New Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340 # Old Monterey docs: NB! `command-R` is replaced with holding the power button on M1 macs. -
henrik242 revised this gist
Jan 18, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ # Disable Device Enrollment Program (DEP) notification on macOS Monterey.md NB! `command-R` is replaced with holding the power button on M1 macs. ## With full reinstall (recommended) a. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS -
henrik242 renamed this gist
Dec 20, 2021 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Disable Device Enrollment Program (DEP) notification on macOS Monterey.md ## With full reinstall (recommended) @@ -29,9 +29,6 @@ $ reboot 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 -
henrik242 revised this gist
Aug 25, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ c. It will then show a remaining time of about 10-15 minutes d. When it reboots again, be sure to press `command-R` to boot into recovery and continue with **Main procedure** ## Without full reinstall -
henrik242 revised this gist
Apr 22, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -41,7 +41,7 @@ $ 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: ``` -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,9 +4,9 @@ a. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS b. Initial installation will run for approximately 1 hour, and reboot once c. It will then show a remaining time of about 10-15 minutes d. When it reboots, be sure to press `command-R` to boot into recovery and continue with **Main procedure** -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,13 +2,13 @@ ## With full reinstall (recommended) a. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `command-R` to boot into recovery and continue with **Main procedure** ## Without full reinstall -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,13 +2,13 @@ ## With full reinstall (recommended) a. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `command-R` to boot into recovery and continue with **Main procedure** ## Without full reinstall -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,13 +2,13 @@ ## With full reinstall (recommended) a. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `command-R` to boot into recovery and continue with **Main procedure** ## Without full reinstall -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,17 +2,17 @@ ## With full reinstall (recommended) a. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `command-R` to boot into recovery and continue with **Main procedure** ## Without full reinstall Boot to Recovery Mode by holding `command-R` during restart and continue with **Main procedure** ## Main procedure -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,11 +8,11 @@ 3. It will then show a remaining time of appr. 10-15 minutes 4. When it reboots, be sure to press `command-R` to boot into recovery and continue with **Main procedure** ## Without full reinstall 1. Boot to Recovery Mode by holding `command-R` during restart and continue with **Main procedure** ## Main procedure -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 13 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,28 +1,32 @@ # Disable Device Enrollment Program (DEP) notification on macOS Catalina.md ## With full reinstall (recommended) 1. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS 2. It will perform installation for approximately 1 hour, and reboot once 3. It will then show a remaining time of appr. 10-15 minutes 4. When it reboots, be sure to press `command-R` to boot into recovery and skip to **Main procedure** ## Without full reinstall 1. Boot to Recovery Mode by holding `command-R` during restart and skip to **Main procedure** ## Main procedure 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" $ mkdir LaunchDaemons.disabled LaunchAgents.disabled @@ -37,9 +41,9 @@ $ csrutil enable $ reboot ``` 5. When it comes to “Choose your country/location”, 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 -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ **You'll get the best results with a full reinstall. Skip to step 5 if you don't want this** 1. Boot into recovery using `command-R` during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS 2. It will perform installation for approximately 1 hour, and reboot once -
henrik242 revised this gist
Mar 26, 2020 . 1 changed file with 17 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,28 @@ # Disable Device Enrollment Program (DEP) notification on macOS Catalina.md **You'll get the best results with a full reinstall. Skip to step 5 if you don't want this** 1. Boot into recovery, wipe the harddrive, and select reinstall macOS 2. It will perform installation for approximately 1 hour, and reboot once 3. It will then show a remaining time of appr. 10-15 minutes 4. When it reboots, be sure to press `command-R` to boot into recovery and **proceed to step 6** 5. Boot to Recovery Mode by holding `command-R` during restart 6. Open Utilities → Terminal and type ``` $ csrutil disable $ reboot ``` 7. Hold `command-R` during the reboot to enter Recovery Mode again 8. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named). (It might already be mounted.) 9. Exit Disk Utility, open Utilities → Terminal, and type ``` $ cd "/Volumes/Macintosh HD/System/Library" $ mkdir LaunchDaemons.disabled LaunchAgents.disabled @@ -27,23 +37,11 @@ $ csrutil enable $ reboot ``` 10. When it comes to “Choose your country/location”, make sure to not select a wireless network, but “continue without an internet connection” 11. After a normal boot, you can verify the DEP status in Terminal: ``` $ profiles status -type enrollment Enrolled via DEP: No MDM enrollment: No ``` -
henrik242 revised this gist
Mar 24, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ 1. Boot to Recovery Mode by holding `command-R` during restart 2. Open Utilities → Terminal and type ``` $ csrutil disable $ reboot @@ -12,7 +12,7 @@ $ reboot 4. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named). (It might already be mounted.) 5. Exit Disk Utility, open Utilities → Terminal, and type ``` $ cd "/Volumes/Macintosh HD/System/Library" $ mkdir LaunchDaemons.disabled LaunchAgents.disabled -
henrik242 revised this gist
Mar 24, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,4 +46,4 @@ b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `command-R` to boot into recovery and proceed with the instructions above. -
henrik242 revised this gist
Mar 24, 2020 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ $ reboot 3. Hold `command-R` during the reboot to enter Recovery Mode again 4. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named). (It might already be mounted.) 5. Exit Disk Utility, open Tools → Terminal, and type ``` @@ -27,7 +27,9 @@ $ csrutil enable $ reboot ``` 6. When it comes to “Choose your country/location”, make sure to not select a wireless network, but “continue without an internet connection” 7. After a normal boot, you can verify the DEP status in Terminal: ``` $ profiles status -type enrollment Enrolled via DEP: No @@ -45,5 +47,3 @@ b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `Command-R` to boot into recovery and proceed with the instructions above. -
henrik242 revised this gist
Mar 24, 2020 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,6 +42,8 @@ a. Boot into recovery, wipe the harddrive, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes d. When it reboots, be sure to press `Command-R` to boot into recovery and proceed with the instructions above. e. When it comes to “Choose your country/location”, make sure to not select a wireless network, but “continue without an internet connection” -
henrik242 revised this gist
Mar 24, 2020 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,6 +39,9 @@ MDM enrollment: No You'll get the best results with a full reinstall. a. Boot into recovery, wipe the harddrive, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes. d. When it reboots, be sure to press `Command-R` to boot into recovery and proceed with the instructions above. -
henrik242 revised this gist
Mar 24, 2020 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,13 @@ $ reboot $ profiles status -type enrollment Enrolled via DEP: No MDM enrollment: No ``` ## macOS reinstall instructions You'll get the best results with a full reinstall. a. Boot into recovery, wipe the harddrive, and select reinstall macOS b. It will perform installation for approximately 1 hour, and reboot once c. It will then show a remaining time of appr. 10-15 minutes. d. When it reboots, be sure to press `Command-R` to boot into recovery and proceed with the instructions above. -
henrik242 revised this gist
Mar 2, 2020 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,6 @@ $ mkdir LaunchDaemons.disabled LaunchAgents.disabled $ mv LaunchDaemons/com.apple.ManagedClient* LaunchDaemons.disabled/ $ mv LaunchAgents/com.apple.ManagedClient* LaunchAgents.disabled/ $ 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 -
henrik242 revised this gist
Jan 8, 2020 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,19 @@ # Disable Device Enrollment Program (DEP) notification on macOS Catalina.md 1. Boot to Recovery Mode by holding `command-R` during restart 2. Open Tools → Terminal and type ``` $ csrutil disable $ reboot ``` 3. Hold `command-R` during the reboot to enter Recovery Mode again 4. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named) 5. Exit Disk Utility, open Tools → Terminal, and type ``` $ cd "/Volumes/Macintosh HD/System/Library" $ mkdir LaunchDaemons.disabled LaunchAgents.disabled $ mv LaunchDaemons/com.apple.ManagedClient* LaunchDaemons.disabled/ -
henrik242 revised this gist
Jan 7, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,7 @@ $ csrutil enable $ reboot ``` 6. After a normal boot, you can verify the DEP status in Terminal: ``` $ profiles status -type enrollment Enrolled via DEP: No -
henrik242 revised this gist
Jan 7, 2020 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,6 @@ 1. Boot to Recovery Mode by holding `Command-R` during restart 2. Open Tools → Terminal and type ``` $ csrutil disable $ reboot @@ -14,7 +13,6 @@ $ reboot 4. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named) 5. Exit Disk Utility, open the Terminal, and type ``` $ mount -uw / $ cd "/Volumes/Macintosh HD/System/Library" @@ -30,3 +28,10 @@ $ echo "0.0.0.0 gdmf.apple.com" >> hosts $ csrutil enable $ reboot ``` 6. After a normal boot, you can verify the DEP status ``` $ profiles status -type enrollment Enrolled via DEP: No MDM enrollment: No ``` -
henrik242 revised this gist
Jan 7, 2020 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,10 @@ ``` $ csrutil disable $ reboot ``` 3. Hold `Command-R` during the reboot to enter Recovery Mode again 4. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named) @@ -27,6 +28,5 @@ $ 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 ``` -
henrik242 revised this gist
Dec 27, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Disable Device Enrollment Program (DEP) notification on macOS Catalina.md 1. Boot to Recovery Mode by holding `Command-R` during restart 2. Open Tools → Terminal and type -
henrik242 revised this gist
Dec 20, 2019 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,12 +20,12 @@ $ cd "/Volumes/Macintosh HD/System/Library" $ mkdir LaunchDaemons.disabled LaunchAgents.disabled $ mv LaunchDaemons/com.apple.ManagedClient* LaunchDaemons.disabled/ $ mv LaunchAgents/com.apple.ManagedClient* LaunchAgents.disabled/ $ cd ../../etc $ echo "0.0.0.0 albert.apple.com" >> hosts $ 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 ``` -
henrik242 revised this gist
Dec 20, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ $ csrutil disable ``` $ mount -uw / $ cd "/Volumes/Macintosh HD/System/Library" $ mkdir LaunchDaemons.disabled LaunchAgents.disabled $ mv LaunchDaemons/com.apple.ManagedClient* LaunchDaemons.disabled/ $ mv LaunchAgents/com.apple.ManagedClient* LaunchAgents.disabled/ @@ -25,7 +25,7 @@ $ echo "0.0.0.0 albert.apple.com 0.0.0.0 mdmenrollment.apple.com 0.0.0.0 deviceenrollment.apple.com 0.0.0.0 gdmf.apple.com " >> "/Volumes/Macintosh HD/etc/hosts" $ csrutil enable ``` -
henrik242 revised this gist
Dec 20, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ $ csrutil disable 3. Restart computer and hold `Command-R` to enter Recovery Mode again 4. Enter Disk Utility, and mount the `Macintosh HD` volume (or whatever your main volume is named) 5. Exit Disk Utility, open the Terminal, and type
NewerOlder