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
127.0.0.1 iprofiles.apple.com
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.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 iprofiles.apple.com
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.
Reboot.
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}