Disable Device Enollment Notification Window

I desire to disable the "Device Enrollment" notification window for OS X machines that are enrolled in DEP (Apple's Device Enrollment Program). The machines are running 10.11, though the process should be the same for 10.10.

(While we are currently managing iOS devices, we are not managing OS X devices through the enrollment program, and I do not want the pop-up to confuse or distract students.)

I have not found a way to disable to the pop-up, or where the setting is stored, once the user hits "Skip". Does anyone know where this setting is stored, or perhaps how I can modify it using "defaults write" or something similar?


Solution 1:

To disable enrollment pop-ups, I moved 2 files...

/System/Library/LaunchAgents/com.apple.ManagedClientAgent.enrollagent.plist
/System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist

to /Library/LaunchAgentsDisabled and /Library/LaunchDaemonsDisabled (make sure to create the directories if they don't exist).

Since I am using El Capitan, I am not "allowed" to modify the System folder. I did so by using Target Disk Mode and connecting to a Yosemite machine. You could also do so by disabling System Integrity Protection (instructions at http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/ )