Posted on 07-09-2023 04:46 AM
Hello, I would like to update some devices from Jamf. I create a script but it doesnt work. Where is the problem?
The script is,
#!/bin/bash
sudo softwareupdate -i macOS\ Monterey\ 12.6.3-21G419 -R
exit 0
Thank you.
Posted on 07-09-2023 05:30 AM
Alternatively, a policy could call the softwareupdate framework directly, bypassing Jamf Pro's restart options in the policy. This can be achieved in a Files and Processes payload, running the command softwareupdate -iaR as a local command. When running updates this way, macOS restarts the computer automatically if needed for the update to complete.
Posted on 07-10-2023 07:07 AM
This isn't going to work on Apple Silicon Macs, if that's what you're trying to do.
Posted on 07-11-2023 06:00 AM
Apple silicon and intel cpu macs. I'm very lost.
Posted on 07-10-2023 11:12 AM
Hopefully, we will see new better system software management with Sonoma, soon
Posted on 07-10-2023 02:52 PM
At a past job I used Nudge for prompting users to run the macOS software updates. I'm in the middle of getting that setup and tested at my new job. Because of the volume owner feature of macOS on Apple Silicon Macs, it's a lot more difficult to create software updates policies without user involvement. That's why Nudge works so well. It guides the user to do the update, and we can allow standard users to install the updates. I have been able to do that using Nudge on both Apple Silicon and Intel Macs.
Posted on 07-10-2023 06:23 PM
@foreverkan wrote:Hello, I would like to update some devices from Jamf. I create a script but it doesnt work. Where is the problem?
The script is,
#!/bin/bash
sudo softwareupdate -i macOS\ Monterey\ 12.6.3-21G419 -R
exit 0
Thank you.
I believe this is the command you were trying to run but corrected;
sudo -S softwareupdate -iR "macOS Monterey 12.6.3-21G419" --stdinpass "loggedInUserPassword" --user "LogedInUserName"
07-11-2023 06:09 AM - edited 07-11-2023 06:10 AM
Here is the last situation;
I created a policy like this,
Its downloading last major update from apple and install it.
In Intel cpu's user can restart mac and update finish succesfly.
But in Silicon cpu's user cannot restart mac to finish update. Because when they click to restart now button mac asks user credentianls. Mac doesnt accecpt logged user(standard user) credentianls. When i try to enter local admin username and password it says this.
Posted on 07-14-2023 07:14 AM
You need to authenticate with credentials of a volume owner, either standard user or admin.
If there isn't one, there needs to be a bootstrap token escrowed to Jamf which can then allow the restart to complete the install.
07-11-2023 07:09 AM - edited 07-11-2023 07:15 AM
To update Macs with Apple CPU, send MDM command. In the list of Macs, click "Action"
Posted on 07-11-2023 07:14 AM
Thank you for your quick reply. Here is the second question, we dont use mdm profile. İs there any option?
Posted on 07-14-2023 06:23 AM
if your Mac's are enrolled correctly they should have an MDM profile on them, if not that you are not enrolling correctly.
Posted on 08-03-2023 03:44 AM
here is the final, I write a policy to install update from apple.
It's downloading os from and it's installing and the final system settings ask admin credentinals.
not: Encptryp is enabled and users are not admin on macbooks.