Monterey installation via Self Service

JakubWen2k
New Contributor

 

Hi team 

I want that my users have the possibility to update their OS to Monterey. They don't have admin privileges on their desktops. I've added Monterey to ABM, Mac App Store Apps in jamf pro and published this in self-service. Monterey is available  -  after clicking install file - "Install macOS Monterey.app" (46Mb) is downloaded when user wants to proceed with the installation admin credentials are needed how this can be resolved? I tried to add policy with  Files and Processes -> Execute Command and '''/Applications/Install\ macOS\ Monterey.app/Contents/ MacOS/InstallAssistant''' when I'm running this command locally from the terminal with sudo it's starting to install. 

 

7 REPLIES 7

gabe2385
Contributor

Hey @JakubWen2k 

I think you have to use the startosinstall binary instead to have it not prompt for user authentication here is a good article from Jamf: https://www.jamf.com/blog/streamlining-your-macos-upgrade-process/ 

Also there some neat tools out there in the Mac Community like macOSUpgrade: https://github.com/kc9wwh/macOSUpgrade 

and we started using this for our Monterey update erase-install (don't let the name fool you it does upgrade as well): https://github.com/grahampugh/erase-install 

We started using this one since it comes with a DEP notify feature and makes it interactive with the clients.

mhasman
Valued Contributor

Is that command working for Monterey as well?

##Start macOS Upgrade

/Applications/Install\ macOS ***.app/Contents/Resources/startosinstall --agreetolicense --nointeraction --forcequitapps --pidtosignal $jamfHelperPID 

From testing it earlier yes that should still work, but we went with erase-install when Monterey went out of beta so I haven't tested it in a while.

mhasman
Valued Contributor

Thank you! 

JakubWen2k
New Contributor

Hi gabe2385 

thanks for the tip I considered using startosinstall and this instruction but the self-service way looks a lot easier for end-user. Is there a way to use self-service method and commence installation maybe via policy and execute command 

Screenshot 2022-02-03 at 09.17.07.png

Hey @JakubWen2k 

The first link (https://www.jamf.com/blog/streamlining-your-macos-upgrade-process/) has a way how your end user would be able to do it from Self service using the first method which is the second link: https://github.com/kc9wwh/macOSUpgrade 

That article is showing Big Sur but you should be able to do the same with Monterey. 

steve_summers
Contributor III