If you find this post, your device may be stuck on Profile MDM (Mobile Device Management). The expression is in the upper right corner of the screen repeatedly appears: “Device Enrollment” is quite annoying, or during the reinstall the machine appears the following screen:
You searched Google but the previous instructions did not seem to work on macOS Catalina because Catalina’s security mechanism has changed a bit (higher security).
Turning off this notification is not difficult if you are the one who has manually reinstalled macOS, but for women or those who are less likely to self-help, it is a bit difficult. However, I still guide here so anyone who needs it can refer.
Step 1: Restart the computer
Step 2: When the computer has just turned off, press the key combination Command + R to enter Recovery mode
Step 3: go to Terminal
Step 4: Type the following command:
Then type Reboot to restart the computer.
Step 5: Start the computer as usual. After booting, open Terminal.
Step 6: Copy the following line and paste it into the termial window and Enter (enter the password if required)
sudo mount -uw /
Step 7: Copy the code below and paste it into the terminal window.
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
Then restart the device to see if Device Enrollment is still notified?
Don’t forget like and share with you friends, thanks