Customer Self-Help

Apple MDM Bypass

Before attempting any method, you need a DEP-free admin user established!
To do this, wipe and re-install fresh without internet so the DEP profile cannot be established.

To disable DEP notifications:

Open terminal, type:

sudo nano /etc/hosts

To the end of this section, add

The result should look like this:

# Host Database
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##       localhost broadcasthost
::1             localhost

Use Control + O to write then the “Return” key so that it writes over that file, then Control + X to exit.

With this one simple line added, there will be no notifications.


sudo profiles show -type enrollment

Now results in the following error:

Error fetching Device Enrollment configuration: (34006) Error Domain=MCCloudConfigurationErrorDomain Code=34006 "The Device Enrollment server is unavailable. Please try again later." UserInfo={USEnglishDescription=CLOUD_CONFIG_MAX_RETRIES_EXCEEDED, NSLocalizedDescription=The Device Enrollment server is unavailable. Please try again later., MCErrorType=MCFatalError}
Call Now Button