Skip to main content
Solved

Prestage enroll an existing Mac

  • June 21, 2021
  • 6 replies
  • 69 views

Forum|alt.badge.img+3
  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.

Best answer by walt

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

6 replies

Forum|alt.badge.img+9
  • Valued Contributor
  • Answer
  • June 21, 2021

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


Forum|alt.badge.img+3

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


Forum|alt.badge.img+9
  • Valued Contributor
  • June 22, 2021

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

https://github.com/macadmins/umad


lmathews
Forum|alt.badge.img+4
  • Contributor
  • December 17, 2021

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


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


Forum|alt.badge.img
  • New Contributor
  • February 23, 2022

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.

 


Forum|alt.badge.img+3

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.