![]() When the new owner starts up the Mac, they can use their own information to complete setup. If you're selling, trading in, or giving away your Mac, press Command-Q to quit the setup assistant without completing setup, then click Shut Down. Your Mac might restart and show a progress bar several times, and the screen might be empty for minutes at a time.Īfter installation is complete, your Mac might restart to a setup assistant. Allow installation to complete without putting your Mac to sleep or closing its lid.To access Recovery Mode, restart your Mac and press and hold the Command+R keys during the boot-up process. Youll find many other useful troubleshooting utilities here-which you can use even if your Mac wont boot normally. If the installer offers you the choice between installing on Macintosh HD or Macintosh HD - Data, choose Macintosh HD. A Macs Recovery Mode is for more than just reinstalling macOS.If the installer doesn't see your disk, or it says that it can't install on your computer or volume, you might need to erase your disk first.If the installer asks to unlock your disk, enter the password that you use to log in to your Mac.Click Continue, then follow the onscreen instructions.If ] thenĭialogIcon= "alias POSIX file \" $selfServicePath/Contents/Resources/ $iconName.icns \" "Įlif ] thenĭialogIcon= "alias POSIX file \"/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertNoteIcon.When you see a window with the option to reinstall macOS, your Mac has started up from Recovery. Local iconName= $(/usr/bin/defaults read "/Applications/Self Service.app/Contents/Info " CFBundleIconFile 2>/dev/null ) Local selfServicePath= "/Applications/Self Service.app " Local allButtons= $(echo " $dialogButtons " | /usr/bin/awk -F ", " ' ' ) # if not otherwise specified, the last button is enabled # an OK button if nothing else has been specifiedĭialogButtons= $(echo " $dialogButtons " | /usr/bin/sed -e 's/^/"/ ' -e 's/$/"/ ' -e 's/,/","/g ' ) # set up our buttons and make sure we have at least # AlertNoteIcon and use this, if available. # use its icon, otherwise we check for the existence of the system's ![]() If Jamf Self Service is installed on the machine, we # Here we have a function that allows us to display a message box usr/bin/logger "SetBootMode: $errorMessage " # log message to STDOUT to make sure, it appears in the Jamf Pro policy log. # some variables we have to declare first # Enables the Mac to boot into the following: It is also available from the following location on GitHub: When the Mac restarts, it should boot to Diagnostics or macOS Recovery (depending on your choices.) Once the policy is set up in Jamf Pro, it should look like this when run. Note: While this script was written with Jamf Pro’s Self Service in mind, it should be adaptable with either no alteration or minor edits to other Self Service tools which can run scripts. ![]() Set the policy’s Execution Frequency to Ongoing. Select the script as part of the policy.Ĥ. To set it up for use with Jamf Pro, do the following:ģ. This is because, on Macs equipped with T2 security chips, an admin account is needed to be able to access the macOS Utilities tools in the Recovery environment. ![]() Note: If booting to macOS Recovery, this script will set the logged-in account to have admin privileges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |