Prestage enroll an existing Mac

user-BXnIeQThrN
New Contributor
  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

3 REPLIES 3

walt
Contributor III

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

View solution in original post

user-BXnIeQThrN
New Contributor

@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