Posted on 12-17-2021 07:11 PM
Hello everyone, Hope you are all enjoying the holidays. I (UNCA) need some help writing a script for the deployment of Monterey. I found a few guides for Big Sur. From Jamf, Github, and a few others. Thank you in advance
https://community.jamf.com/t5/jamf-pro/mac-os-monterey-update-via-self-service/td-p/254256
Posted on 12-18-2021 07:43 AM
What is your question?
Posted on 12-19-2021 11:31 AM
@dgeiler The 1st thread you linked in your post, and specifically the https://community.jamf.com/t5/jamf-pro/mac-os-monterey-update-via-self-service/m-p/254260/highlight/... post in that thread, provides an answer for how to easily deploy macOS Monterey. Was there something you wanted to ask about using the erase-install script it mentions?
12-20-2021 05:02 AM - edited 12-20-2021 10:13 AM
This is what I was thinking about it. I don't have it all set yet, but I will use a script to create a new admin user account.
Deploy the installer. I use this to get the installer.
Once the installer is present, I will put it in Self Service, and make it available in Nudge to start the install.
Then I will use something simple like this:
echo 'temppasswordfromtempadminaccount' | '/Applications/Install macOS Monterey.app/Contents/Resources/startosinstall' --agreetolicense --forcequitapps --user tempadmin --stdinpass
Then I will script removal of the install account.
Posted on 12-20-2021 07:32 AM
Simplest way with a bit of user interaction...Self Service Policy and run this
open macappstore://apps.apple.com/gb/app/macos-monterey/id1576738294?mt=12
It opens Apple App Store at the Monterey Download, user clicks it, it downloads and once done will open the installer.
Posted on 12-22-2021 08:22 AM
This assumes your users are running as admin right?
Posted on 12-21-2021 09:17 AM
Thank you all for your advice
Posted on 01-16-2022 05:08 AM
Hello everyone, I am using the Self Service Tool to add the Install macOS monterey.app. However How do I notify the users about the installation and schedule the installation with admin rights via JamF. My users are all on Standard rights. Please advise.
Posted on 01-17-2022 11:37 AM
Upgrade to macOS Big Sur using Self Service with Jamf
Follow this link and substitute Montery
Posted on 02-14-2022 11:40 AM
Hoping to setup upgrade in place to Monterey (from Catalina) in Self Service
I am following the document here
My users do not have admin rights
I am unable to upload the file "Install MacOS Monterey.app.pkg" using the WebApp (not jamf admin) after creating it using the linked document and MegaPKGr.sh
@talkingmoose (Hi Bill!)
I have created the file twice, once v. 12.2 and then again when 12.2.1 came out. no help.
We're running JamfPro 10.35.0-t1640197529 jamfcloud
I initially tried using a local DP as master, and now have switched to my JDC as master and get same failure, gets to 99% never finishes
2022-02-11 13:29:37 Chosen folder is writable
2022-02-11 13:29:41 Disk has enough free space to build "Install macOS Monterey.app.pkg"
2022-02-11 13:29:43 Succeeded creating temporary working directory
2022-02-11 13:34:28 Succeeded creating DMG archive of Install macOS Monterey.app
2022-02-11 13:34:30 Succeeded creating pkgbuild ROOT directory
2022-02-11 13:34:32 Succeeded creating pkgbuild Scripts directory
2022-02-11 13:34:56 Succeeded creating 500 MB file chunks from archive file
2022-02-11 13:34:58 Succeeded creating pkgbuild postinstall script
2022-02-11 13:41:17 Succeeded creating package "Install macOS Monterey.app.pkg" in /Users/mac/Desktop/
2022-02-11 13:41:21 Succeeded removing temporary items
2022-02-11 13:41:22 Packaging time: 11 minutes and 51 seconds
Posted on 03-02-2022 12:59 PM
I scrapped my plan and switched over to using this https://github.com/grahampugh/erase-install
Works great!!
Posted on 03-04-2022 12:10 PM
Good stuff. I'm considering the same. Does it work well for an upgrade, say from Big Sur to Monterey after enrollment?
09-27-2022 11:15 AM - edited 09-27-2022 12:56 PM
What is especially great about this is that when the update version changes, it can pull the current version, or a specific version you want to target. We are mostly going Catalina > Monterey, and some student carts from Mohave.
no reason to think it would be different from Big Sur.
Posted on 09-27-2022 12:18 PM
Just to be clear, you can have erase-install pull the latest macOS installer, or you can have it pull a specific version (at least for recent macOS versions). This is important for organizations that may need to control what version of macOS is being deployed in their environment.
Posted on 09-27-2022 12:57 PM
thanks for clarifying that, and I edited mine to prevent confusion!
Posted on 07-08-2022 01:13 PM
Actually the App store installer is not working with M1 machines.
Posted on 07-08-2022 02:01 PM