I haven't used the Software Updates feature before. In the past, I have tried performing a mass action using a static group for testing. Yesterday, I decided to do that for some of my hot spares on the bench to take them from 14.5 to 14.6 and discovered that we had enabled the Software Updates feature. This understandably removed that ability from an action, so I figured I would give it a try with an eye towards deferrals as the "killer app" of the process.
We control updates on our active machines with some restrictions payload and restricted software, but the spares are a little more relaxed. The only thing they get is our software update payload, which is set to make sure updates are automatic and enabled:
So I decided to take two of them, put them in a static group and run the following:
This ran very much like previous experiences with the MDM action. Devices eventually handled the commands and downloading/staging commenced. I set one machine aside with the 'REBOOT(8)' man page open in a terminal window to prevent most restart methods from being successful. The other machine I sat and watched to confirm the softwareupdate/nsurl stuff. Watching logs, seeing snapshots in Disk Utility. All going to plan, but I never got the notification/deferral messages. Instead, the red number one appeared on the System Settings icon in the dock and that was it. There may be some notification voodoo here, but I am using the defaults and have received popups from softwareupdate in the past when the updates are automatically checked.
Completing the update on the watch machine worked great. I forced an inventory update just to see the OS correctly in Jamf. Here are the MDM commands in the period for the watched computer:
But now this is pending:
Things are the same on the set aside machine, which is still sitting at 14.5 with the red number one and no notifications. It has this history:
Still the same command pending. I'll eventually give up on the notifications and complete the update via System Settings UI. The questions I have are why are there no notifications for deferral when I specified that, and do I just need to cancel the pending MDM command or otherwise ignore it?
Solved
Software Updates - OSUpdateStatus - Scheduled - Pending
Best answer by jamf-42
from what I recall, deferred update still uses the old MDM method, which was kinda useless.
Use the scheduled update, this will prompt and force the update by the due date.
Check /var/db/softwareupdate for the SoftwareUpdateDDMStatePersistace.plist
there should be additional data in the devices record now on JAMF

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.







