- Move relevant content from "Fleetd" doc page to "Enroll hosts" page - Remove "Fleetd" docs page
6.8 KiB
macOS updates
End user macOS update reminders via Nudge
Available in Fleet Premium
End users can be reminded and encouraged to update macOS (via Nudge).
A Fleet admin can set a minimum version and deadline for Fleet-enrolled hosts. If an end user's machine is below the minimum version, the Nudge window above will periodically appear to encourage them to upgrade. The end user has the option to defer the update, but as the deadline approaches, the Nudge window appears more frequently.
When the end user machine is below the minimum version, Nudge applies the following behavior:
> 1 day before deadline | < 1 day before deadline | past deadline | |
---|---|---|---|
Nudge window frequency | Once a day at 8pm GMT | Once every 2 hours | Immediately on login |
End user can defer | ✅ | ✅ | ❌ |
Nudge window is dismissable | ✅ | ✅ | ❌ |
How to set up
To set the macOS updates settings in the UI, visit the Controls section and then select the macOS updates tab.
To set the macOS updates settings via CLI, use the configurations listed here.
End user experience
After the user clicks "update" in the Nudge window, they will be taken to the standard Apple software update screen:
Here, the user would follow Apple's standard two-step process for macOS updates:
- Download the macOS update. This occurs in the background and does not interrupt the end user's work.
- Initiate the update which does prevent the end user from using the host for a time.
On Intel Macs, Fleet triggers step 1 (downloading the macOS update) programmatically when a new version is available. This way, when the user arrives on the software update screen, they only need to initiate step 2.
On Macs with Apple Silicon (e.g. M1), downloading the macOS update may require end user action. Apple doesn't support downloading the update programmatically on Macs with Apple silicon.
Step 2 (installing the update) always requires end user action.
Known issues
Apple Rapid Security Responses (RSRs)
Currently, end user macOS update reminders via Nudge don't support RSR versions (ex. "13.4.1 (a)").
You can use custom MDM commands in Fleet to trigger built-in macOS update reminders for RSRs. Learn how here.
Mac is up to date
Sometimes after the end user clicks "update" on the Nudge window, the end user's Mac will say that macOS is up to date when it isn't. This known issue can create a frustrating experience for the end user. Ask the end user to follow the steps below to troubleshoot:
-
From the Apple menu in the top left corner of your screen, select System Settings or System Preferences.
-
In the search bar, type "Software Update." Select Software Update.
-
Type "Command (⌘)-R" to check for updates. If you see an available update, select Restart Now to update.
-
If you still don't see an available update, from the Apple menu in the top left corner of your screen, select Restart... to restart your Mac.
-
After your Mac restarts, from the Apple menu in the top left corner of your screen, select System Settings or System Preferences.
-
In the search bar, type "Software Update." Select Software Update and select Restart Now to update.
End user macOS update via built-in macOS notifications
Built-in macOS update reminders are available in Fleet Free and Fleet Premium.
To trigger these reminders, we will do the following steps:
-
Force a macOS update scan
-
List available macOS updates
-
Trigger macOS update reminder
Step 1: force a macOS update scan
Use the request payload below when running a custom MDM command with Fleet. Documentation on how to run a custom command is here.
Request payload:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Command</key>
<dict>
<key>ForceUpdateScan</key>
<true/>
<key>RequestType</key>
<string>ScheduleOSUpdateScan</string>
</dict>
</dict>
</plist>
Step 2: list available macOS updates
- Run another custom MDM command using the request payload below.
Request payload:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>AvailableOSUpdates</string>
</dict>
</dict>
</plist>
- Copy the
ProductKey
from the command's results. Documentation on how to view a command's results is here.
Example product key: MSU_UPDATE_22F770820d_patch_13.4.1_rsr
Step 3: trigger macOS update reminder
Run another custom MDM command using the request payload below. Replace the product key with your product key.
This payload will trigger the "Install ASAP" behavior which displays a macOS notification with a 60 seconds timer before the Mac automatically restarts. The end user can dismiss the timer. To trigger different behavior, update the
InstallAction
. Options are documented by Apple here.
Request payload:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Command</key>
<dict>
<key>RequestType</key>
<string>ScheduleOSUpdate</string>
<key>Updates</key>
<array>
<dict>
<key>InstallAction</key>
<string>InstallASAP</string>
<key>ProductKey</key>
<string>MSU_UPDATE_22F770820d_patch_13.4.1_rsr</string>
</dict>
</array>
</dict>
</dict>
</plist>