Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. # Disable Device Enrollment Notification on Mac.md
  2.  
  3. ## Restart the Mac in Recovery Mode by holding `Comment-R` during restart
  4.  
  5. #### Open Terminal in the recovery screen and type
  6.  
  7. ```
  8. csrutil disable
  9. ```
  10.  
  11. Restart computer
  12.  
  13. ## Edit files
  14.  
  15. In the terminal, type
  16.  
  17. ```
  18. sudo mkdir /System/Library/LaunchAgentsDisabled; sudo mkdir /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchAgents/com.apple.ManagedClientAgent.agent.plist /System/Library/LaunchAgentsDisabled; sudo mv /System/Library/LaunchAgents/com.apple.ManagedClientAgent.enrollagent.plist /System/Library/LaunchAgentsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.cloudconfigurationd.plist /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.plist /System/Library/LaunchDaemonsDisabled; sudo mv /System/Library/LaunchDaemons/com.apple.ManagedClient.startup.plist /System/Library/LaunchDaemonsDisabled
  19.  
  20. ```
  21.  
  22. ### Restart Computer again
  23. #### Restart the Mac in Recovery Mode by holding `Comment-R` during restart
  24. #### Open Terminal in the recovery screen and type
  25. In the terminal, type
  26.  
  27. ```
  28. csrutil disable
  29. ```
  30.  
  31. So that the changes take effect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement