Category filter
N-1 Patching Strategy for macOS with Hexnode UEM
TL;DR
Hexnode UEM offers two macOS patching strategies, which determine the version a patch automation deploys:
- All Applicable Patches considers all applicable macOS updates to bring device to the latest applicable version, helping keep it up to date with security fixes.
- Superseded Only lets you target a different version, usually an earlier one:
- N-1: one version behind the latest
- N-2: two versions behind the latest
- Advanced Control: an OS or build version that matches a regex pattern
This lets you hold back new releases while you test them. The selected version is a minimum: Macs already on that version or later aren’t downgraded.
When should you use a patching strategy?
Use a patching strategy when Macs shouldn’t all move to a new macOS release the day Apple ships it. For example, if business-critical apps are validated on a specific macOS version, a new release could break them before you’ve tested it. Superseded Only keeps devices on an earlier, tested version, while still updating Macs that fall further behind.
What are the two macOS patching strategies?
| Strategy | Version selected | Use when |
|---|---|---|
| All Applicable Patches | Latest available version (N) | Pilot or test devices, or when security updates come first |
| Superseded Only: N-1 | One version behind N | Production devices, while N is being tested |
| Superseded Only: N-2 | Two versions behind N | Devices with stricter compatibility needs |
| Superseded Only: Advanced Control | The OS version or build matching your regex (highest or lowest match) | You need the same specific version on every device |
All Applicable Patches considers all patches applicable to each Mac and selects the latest version.
Superseded Only selects the version you define instead of simply the latest: N-1, N-2, or a regex match. With N-1 and N-2, the selected version is always earlier than N. With Advanced Control, the Highest option can select N if N matches your pattern.
How does Hexnode choose which updates to consider?
Each time a patch automation runs, Hexnode selects the version to deploy in three steps:
- Find available updates. Hexnode checks Apple’s update catalog and the updates each Mac reports as available, based on its model and current macOS version.
-
Apply the automation’s filters. Only updates matching the automation’s criteria are eligible:
- Product: Specifies the software, application, or OS component that the update applies to.
- Release Date: Filters updates based on a specified time period or a custom date range.
- Severity: Filters updates by severity level, such as Critical, Important, Moderate, Low, or NA.
- Update Classification: Filters updates by their type, such as Major Updates, Minor Updates, Rapid Security Responses, Firmware Updates, Critical or Config Data Updates.
- Update Name: Specifies the name of the update or patch, including its version and identifier.
- Apply the patching strategy. From the eligible updates, the strategy selects one version.
N-1 and N-2 are counted from the latest eligible update, after filters are applied.
What is the difference between N, N-1 and N-2?
N, N-1 and N-2 are positions in the list of versions available to each Mac:
- N: the latest available version
- N-1: the version before N
- N-2: the version before N-1
Positions count every available version, whether it’s a major, minor or patch release.
| Device | Latest available version (N) | N-1 | N-2 |
|---|---|---|---|
| Mac 1 (newer model) | macOS 26.7 | 26.6 | 26.5 |
| Mac 2 (can’t run macOS 26) | macOS 15.8 | 15.7 | 15.6 |
Versions are for illustration only.
N-1 and N-2 can differ between Macs. The updates available to each Mac depend on its hardware and on whether it’s eligible for a particular update, so the same N-1 setting can select different versions on different Macs.
N-1 and N-2 move when Apple releases a new version. They’re always counted back from the current latest version. When Apple releases a newer version, N-1 moves forward one version, and the next automation run updates production Macs to the version that was previously N. To keep Macs on one fixed version until you choose to change it, use Advanced Control.
How do you target a specific version with Advanced Control?
Advanced Control selects the version to deploy using a regular expression (regex). Use it when N-1 or N-2 doesn’t match what you need, such as keeping every Mac on the same validated version.
To configure a version pattern:
- Under Regex Match Target, select OS Version or Build Version.
- Under Regex Pattern, enter the regex.
- Select Test your regex to check the pattern. The test checks only the pattern itself, not Apple’s catalog or the versions devices report.
- If the pattern matches more than one version, choose:
- Highest: the newest matching version (this can be N, if N matches)
- Lowest: the oldest matching version, for a more conservative baseline
OS Version vs Build Version
OS Version matches the macOS version number. For example, ^15\.\d+(\.\d+)?$ matches 15.0, 15.1, 15.2 and 15.2.3.
Build Version matches Apple’s build number. Use it when you need one specific build. For example, ^24G\d+$ matches builds beginning with 24G, such as 24G84 and 24G222 (macOS 15.6–15.7 builds).
Common regex patterns
| Requirement | Regex pattern | Matches |
|---|---|---|
| A major version | ^15(?:\.\d+(?:\.\d+)?)?$ |
15, 15.1, 15.4, 15.4.2 |
| A minor version | ^15\.4(?:\.\d+)?$ |
15.4, 15.4.1, 15.4.2 |
| Skip .0 releases | ^15\.[1-9]\d*(\.\d+)?$ |
15.1, 15.2, 15.4.1 (excludes 15.0 and 15.0.x) |
| A build family | ^24G\d+$ |
24G84, 24G222 |
If no available version matches the pattern, the automation skips deployment and checks again at its next scheduled run.
How are patching strategies applied?
The selected version is a minimum, not a fixed version.
- Macs below the selected version are updated directly to it, without installing the versions in between.
- Macs already on that version or later aren’t downgraded.
- After a Mac reaches the selected version, users can still update further unless updates are deferred (see below).
How the update is sent depends on the macOS version:
- macOS 14 and later: Hexnode uses Declarative Device Management (DDM) to enforce the update.
- Older supported versions: Hexnode uses MDM commands.
Apple has replaced MDM software update commands with DDM. The older commands still work on macOS versions before 27; macOS 27 and later require DDM.
Apple silicon Macs need a Bootstrap Token escrowed with Hexnode to install updates without the user entering a password. See Bootstrap Token escrow.
How do patching strategies work with update deferral?
The patching strategy controls the version a patch automation deploys. The Software Update Preferences policy controls which newer versions users can install themselves.
- Defer Software Updates hides new major and minor macOS updates from users for up to 90 days, set separately for each.
- Using both keeps Macs on the strategy’s version while hiding newer releases from users during the deferral period.
- Rapid Security Responses, configuration data updates and Background Security Improvements are handled separately, by Apple’s update system and device settings.
Example: Different strategies for different device groups
| Group | Strategy | Result |
|---|---|---|
| Pilot | All Applicable Patches | Receives each new release first, for testing |
| Production | Superseded Only: N-1 | Stays one version behind while the pilot group tests the latest |
| Sensitive | Superseded Only: Advanced Control (regex), plus Software Update Preferences deferral | Stays on one validated version; newer versions are hidden from users for up to 90 days |
Security considerations
Holding Macs on an earlier version delays the security fixes in newer releases.
- Check what each newer release fixes before holding it back. Apple lists the fixes in its security release notes.
- Choose a deferral period that balances testing time against how long devices stay without those fixes.
- Move Macs to a newer version promptly when a release fixes actively exploited vulnerabilities.
How to configure patching strategies
Frequently Asked Questions
What is N-1 patching on macOS?
N-1 patching updates Macs to the version just before the latest version available to them. Macs already on that version or later aren’t downgraded.
Does N-1 or N-2 downgrade a Mac?
No. If a Mac is already on the selected version or later, it stays on its current version.
Can N-1 trigger a major macOS upgrade?
Yes. N-1 counts every available version, so if the version before N is a new major release for that Mac, N-1 can select it. To prevent this, exclude major upgrades using the automation’s filters.
Do Macs move to a newer version automatically when Apple releases one?
With N-1 and N-2, yes. Both are counted from the latest version, so each new Apple release moves them forward one version at the next automation run. To keep Macs on a fixed version, use Advanced Control.
Does deferring updates change which version is N?
Deferred updates aren’t counted when Hexnode determines N. Deferral also hides those updates from users during the deferral period, so they can’t install them manually.
Do Apple silicon Macs need a Bootstrap Token for MDM updates?
Yes. The Bootstrap Token must be escrowed with Hexnode so updates can install without the user entering a password.
How long can macOS updates be deferred?
Up to 90 days, set separately for major and minor updates.
What’s the difference between Highest and Lowest in Advanced Control?
When the regex matches several versions, Highest selects the newest match (which can be N) and Lowest selects the oldest.
What happens if a Mac is below the selected version?
It’s updated directly to the selected version. For example, if N-1 is macOS 15.7, a Mac on 15.5 goes straight to 15.7.
What happens if no version matches the regex?
The automation skips deployment and checks again at its next scheduled run.
Why didn’t my Mac update?
Common reasons:
- The Mac is already on the selected version or later.
- The selected version isn’t available for that Mac’s model.
- The automation’s filters exclude the update.
- No available version matches the regex (Advanced Control).
- The Mac is offline, low on storage or not plugged in.
- The update isn’t in Apple’s catalog yet.
- The Bootstrap Token is missing (Apple silicon).
How do I check the status of a patch deployment?
Go to Patches > Automation > macOS to see each automation and its status. Select an automation and open Automation Progress Summary to see:
- applicable and missing devices
- download progress
- devices waiting for a reboot
- failed deployments
Why do N-1 and N-2 select different versions on different Macs?
They’re calculated from the versions available to each Mac when the automation runs, and those depend on the Mac’s model and eligibility. To deploy the same version everywhere, use Advanced Control.