Prestage enroll an existing Mac

user-BXnIeQThrN
New Contributor II
  1. Restart the Mac and hold CMD + R to launch Recovery Mode
  2. Launch Terminal from Recovery Mode
  3. Run the following command to ensure “.AppleSetupDone” file is listed: ls -la "/Volumes/Macintosh HD - Data/private/var/db"
  4. Run the following command to remove “.AppleSetupDone”: rm "/Volumes/Macintosh HD - Data/private/var/db/.AppleSetupDone"
  5. Run the command on step three again to ensure that the file was removed and is not listed in the directory
  6. Reboot the Mac to Prestage Enroll with all of its glory.
1 ACCEPTED SOLUTION

walt
Contributor III

you can also use sudo profiles renew -type enrollment when logged into the Mac.

View solution in original post

6 REPLIES 6

walt
Contributor III

you can also use sudo profiles renew -type enrollment when logged into the Mac.

lmathews
New Contributor III

EFFING Brilliant!!! YOU HAVE SAVED ME!!!!!!

user-BXnIeQThrN
New Contributor II

@walt I have been searching for this everywhere. I thought I had a good process down until your comment. Thank you so much!

walt
Contributor III

You're welcome. A step further you can build and deploy something like this:

https://github.com/macadmins/umad

Zsomal
New Contributor

Greetings all, I'm a new user, and we're still waiting for our Apple Business stuff to get processed.

The above process(es) would allow me to convert our existing a user enrolled Macs to a pre-enrolled Macs (so to speak)?
Thanks.

 

That's right.