Posted on 10-27-2020 08:00 AM
Good morning folks,
I am working on a policy that will erase macOS and all user data on the disk and reinstall. So far I have everything working pretty nicely however it does not erase the local admin accounts directory. Not erasing this directory is causing problems as this account is the only local account on the machine since we use mobile accounts for general users. Figuring I am missing something pretty simple, any ideas?
Below is the command I am running with the policy.
/Applications/Install macOS Catalina.app/Contents/Resources/startosinstall --eraseinstall --agreetolicense --forcequitapps --newvolumename 'Macintosh HD'
Posted on 10-27-2020 08:10 AM
this is what I am using in a script
/Applications/Install macOS Catalina.app/Contents/Resources/startosinstall --eraseinstall --agreetolicense --forcequitapps --newvolumename 'Macintosh HD'
exit 0;