Posted on 05-19-2020 10:48 AM
This has happened 3 times already on different computers. When I send the "Wipe Computer" command, it asks for a 6 digit code which I put into the device to be wiped, but then the hard drive fails and I have to reinstall the OS manually.
Posted on 05-19-2020 11:34 AM
The Wipe Machine command erases all data on the machine.
If you'd like to wipe the data and have a fresh OS, you should utilize the startosinstall ‑‑eraseinstall command that comes bundled in macOS installers.
Simplified workflow:
Deploy macOS installer to machine.
Run this command:
'/Applications/Install macOS Catalina.app/Contents/Resources/startosinstall' ‑‑eraseinstall --agreetolicense --forcequitapps ‑‑newvolumename 'Macintosh HD'
Some additional info:
https://www.jamf.com/blog/reinstall-a-clean-macos-with-one-button/
https://scriptingosx.com/2018/10/eraseinstall-application/
Posted on 05-20-2020 08:56 AM
I wipe mine using a bootable USB, wipe via Disk Utility and then complete the Catalina installer.
starttoinstall is great for most wipe/installs.