![]() ![]() Those are basically the main 3 options we can use, but as you saw at the beginning of this post, I added a few more. ![]() Moving to the left side of the chart, where we retain computer data, ignoring using recovery mode, we have: The command you'd use if you want to go that route would be like: echo 'mYsup3rS3cur3P4sSw0rdW1ch1w1LLn3v3RpUt1N4Scr1Pt' | '/Applications/Install macOS Big Sur.app/Contents/Resources/startosinstall' -eraseinstall -agreetolicense -forcequitapps -newvolumename 'Macintosh HD' -user adminuser -stdinpass As mentioned on the link above, Administrators will need Apple to help finding a better solution for this. This however, brings up the discussion on passing admin (or any for that matter) credentials in clear text in a command or script. I’ll leave this path at providing you the link where this approach is explained in detail: Note: One thing I do want to highlight is the fact that for Apple Silicon devices, this will only work if you provide a username and password of a SecureToken-enabled admin account in the command. For instance by caching the installer and provide a one click button in Self Service to speed things up. Unless you are only having tech wizards as end users, who can manage an erase/install/re-enroll on their own, but even then, you may want to keep things easy. I did not include the ‘erase’ scenario in my list here above, but yeah, if your goal is to wipe and re-install macOS, using the –eraseinstall flag on the startosinstall binary would be my preferred way of doing things. I’m sure my colleague-tech writers are gonna forgive me for using the below flowchart, so let’s have a closer look at it: That said I’d like to start with the following Jamf tech write up on the topic: Unfortunately, like I mentioned above, things got a bit complicated, and with some unexpected behaviour and bugs, I mean features, we are actually a bit limited in view of what actually works. ![]() ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |