Re-enroll a Mac into the Device Enrollment Program (DEP) without erasing

Launch Terminal.app


Type the following commands:

sudo rm /var/db/.AppleSetupDone

sudo rm -rf /var/db/ConfigurationProfiles/

sudo rm /Library/Keychains/apsd.keychain


Restart the Mac and re-enroll via DEP

Craig Cohen

As the President & CEO of HCS Technology Group, Craig is a creative decision maker with skills in business development, personnel and project management.

Speak with an Apple Certified expert today

We’d love to discuss your business challenges, even if you’re not sure what your next step is. No pitch, no strings attached.

Let's Talk