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

Samuel Valencia

Sam has spent the last two decades building the MSP arm of The HCS Technology Group. Strategic to building up our Connecticut location, Sam participates in all aspects of business development, operations and, client relations.

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