Skip to main content

patch policies

Beta

Patch management is in beta. Behaviour and screens may change.

A policy is a standing rule: which devices, which kinds of patch, whether to install automatically, when it is allowed to do so, and what to do about reboots. Policies are created from the Policies tab through a six-step wizard.

the wizard​

Basics → targets → patches → automation → schedule → review.

step 1 — basics​

FieldNotes
Name—
Description—
PriorityHigher priority wins when a device matches more than one policy
EnabledEnable or disable the policy

step 2 — targets​

Targeting is by device tags and device groups.

Empty targeting matches everything

Leaving both tags and groups empty means the policy matches every device in the organisation. It is not an unfinished policy that matches nothing — it is the broadest policy you can write.

When you do specify targets, matching is OR logic across tags and groups: a device matches if it has any of the listed tags, or is in any of the listed groups.

tip

Use the device-list preview on the Policies tab after saving to confirm a policy hits what you intended. A policy that accidentally matched the whole estate and one that deliberately did look identical in the wizard.

step 3 — patches​

Five cards decide which kinds of patch the policy covers:

OptionDefaultCovers
Security patchesOnCritical security updates and vulnerability fixes
System patchesOnCumulative updates, definition updates and other OS fixes
Application patchesOffThird-party application and software updates
Feature updatesOffNew Windows versions, such as 23H2 to 24H2
Driver updatesOffHardware drivers offered by Windows Update

At least one must be selected to continue. See feature and driver updates before switching on either of the last two.

The same step holds two controls over individual patches:

FieldNotes
Defer new patchesDays to wait after a patch is released before auto-approving it, 0 to 90. 0 = no delay
Blocked updatesKB numbers this policy will never approve or install

Both are covered in deferral and blocked updates.

step 4 — automation​

SettingEffect
Auto-approve patchesPatches matching the policy are approved without a human step
Auto-install patchesInstall approved patches automatically, during the install window
Block manual updatesPrevent Windows installing updates outside this policy
Use tiered rolloutDeploy progressively through your tiers, pilot first, promoting as each tier meets its gates. See deployment tiers
Reboot policyNever, Manual, Scheduled or Immediate
Max concurrent updatesA slider from 1 to 50

Auto-install only ever installs approved patches: ones this policy has just auto-approved, and ones approved earlier, by hand or by an auto-approval that ran outside the install window. An approved patch that has not been installed yet is picked up in the next install window. Without Auto-approve patches, a policy never installs a patch nobody has approved; it waits for a human.

Devices that are inactive or have no agent are left out of the run. Their approved patches stay approved and install in a later window, once the device is back.

Reboot policy options:

OptionBehaviour
NeverDo not reboot automatically
ManualNotify the user to reboot
ScheduledReboot during the reboot window
ImmediateReboot right after patching

When a reboot window is set, Immediate respects it too: a reboot that would fall outside it waits for the window. See deferred reboots.

With Scheduled or Immediate selected, one more switch appears:

SettingEffect
Reboot even if someone is signed inOff (the default): a device with a signed-in user is rebooted later, once nobody is signed in. On: it reboots with a 60-second warning
tip

Max concurrent updates is your blast-radius control. On a shared site link, fifty tills pulling updates at once is a different event from five. Start low on the first policy that touches production and raise it once you have seen a rollout complete cleanly.

step 5 — schedule​

Two windows, each with its own switch, start time, end time, days of week and timezone:

WindowControlsWhen switched off
Install windowOnly start installing patches in these timesPatches can be installed at any time when auto-install is enabled
Reboot windowOnly reboot automatically in these timesDevices may reboot as soon as patching finishes (per the reboot policy)

The two are independent, so you can install during the day and reboot overnight. A window you switch on starts at 02:00 to 06:00 on Saturday and Sunday, in your browser's timezone. See maintenance windows.

step 6 — review​

Confirm and create. The summary lists both windows ("any time" for a window that is off), the deferral, any blocked updates and, for Scheduled or Immediate reboots, whether a device reboots with a user signed in.

maintenance windows​

This is the part that most often behaves differently from expectations, so it is worth reading carefully.

A policy has two maintenance windows: the install window, which governs when patches may start installing, and the reboot window, which governs when a device may be rebooted automatically. They are set separately on the schedule step.

WindowGates
Install windowWhen auto-install may start, and when a tiered rollout may promote to its next tier. It limits when installs start, not when they finish
Reboot windowWhen a Scheduled or Immediate reboot may happen. Installs can run outside it; the reboot waits
note

Policies that existed before the two windows were split had a single maintenance window. It is now their reboot window, and their install window starts as a copy of it, so they behave as before until you change one.

Times are HH:mm. Windows that cross midnight — 22:00 to 06:00, for instance — are supported and work as you would expect.

No window means any time

Turning the install window off does not mean "never install". It means the policy may install at any time of day, including mid-service. Turning the reboot window off likewise means devices reboot as soon as patching finishes, if the reboot policy says to.

If you want installs or reboots confined to quiet hours, you must define the window. Leaving it off is the permissive setting, not the safe one.

deferred reboots​

Whether a device reboots straight after installing depends on the reboot window:

SituationResult
No reboot windowReboots after the install, per the reboot policy
Inside the reboot window, with at least the estimated install time (30 minutes by default) leftReboots after the install
Inside the reboot window, with less than that leftThe reboot is deferred
Outside the reboot windowThe reboot is deferred
Someone is signed in and Reboot even if someone is signed in is offThe reboot is deferred

A deferred reboot does not hold the deployment open. The install completes, the device's task completes with a note that a reboot is pending, and the deployment page counts it under "device(s) pending reboot".

For a Scheduled or Immediate policy, PosKit then reboots the device itself once the reboot window is open:

  • The device gets a 60-second warning, and checks the window and Reboot even if someone is signed in again before rebooting, in case the command reaches it late.
  • If someone is signed in and the policy does not allow rebooting under them, PosKit tries again every 30 minutes while the window is open.
  • The pending reboot clears as soon as the device has restarted since the install, whoever restarted it.
Deferred reboots need agent 2.3.5

Devices running an agent older than 2.3.5 are never sent a deferred reboot, because older agents would reboot without checking the window or the signed-in user. They stay pending a reboot until someone restarts them. The same is true of any device on a Manual or Never policy, which leaves the reboot to a person.

PosKit also only sends deferred reboots to online devices, and stops trying for installs more than 14 days old.

tip

Make the reboot window comfortably longer than 30 minutes. A shorter window never reboots straight after an install, so every reboot in it is a deferred one, and devices on an agent older than 2.3.5 never get those.

malformed windows fail closed​

note

Window times are validated when a policy is saved, so a malformed window cannot be created from the portal. If an older policy carries one, it is treated as outside the window — failing closed means a corrupted window will not push updates or reboots to tills at lunchtime — and a warning is written to the system log each evaluation. The symptom is a policy that appears configured but never installs, or never reboots; re-save the schedule step to rewrite the windows.

feature and driver updates​

Feature updates (new Windows versions, such as 23H2 to 24H2) and driver updates (hardware drivers offered by Windows Update) are opt-in categories on the patches step. Both are off by default, so existing policies do not start installing them.

CategoryWhy it is off by default
Feature updatesLarge download, long install and a reboot. Use a tiered rollout
Driver updatesCan affect printers, scanners and payment devices. Test on a pilot group first

A policy is an allow-list: it only auto-approves or auto-installs the categories it has switched on. A patch whose type PosKit does not recognise is never installed by a policy at all. Any type can still be deployed by hand from the Deploy button.

Policies that include these categories show a feature updates or drivers badge in the policy list, and the Available and History tabs can be filtered to feature update or driver.

info

Devices only report feature and driver updates on the latest Windows agent. Older agents never report them, so on those devices the categories have no effect.

deferral and blocked updates​

Both controls sit on the patches step and apply to this policy only.

Defer new patches makes auto-approval wait a set number of days, 0 to 90, after a patch is released. The release date is the vendor's; where a patch has none, the count starts from when your organisation first saw it, so a missing date cannot skip the wait.

The deferral holds back auto-approval only. A patch you approve by hand is not held back: with Auto-install patches on, the policy installs it in the next install window as usual.

Blocked updates is a list of KB numbers the policy will never approve or install. Type a KB number, with or without the KB prefix, and choose Block; several can be entered at once, separated by spaces or commas.

  • Blocking a KB during a tiered rollout stops it reaching the tiers that have not started yet.
  • The blocklist governs the policy, not you: you can still deploy a blocked KB by hand from the Deploy button.
tip

Blocked updates is the quick response to a patch that went wrong on the pilot tier. Add the KB, and the rest of the rollout stops sending it, without disabling the policy or editing the tiers.

failed patches and retries​

A patch that fails to install stays Failed on that device, and stays approved. The policy retries it once per install window: a patch that failed in one window is tried again in the next, not on every evaluation in between. A policy with no install window retries it at most once a day.

You can retry sooner by hand at any time. Failed patches count as deployable, and the Deploy dialog marks them with a retry badge showing on how many devices they failed. See deployments.

which policy applies​

A device's effective policy is the highest priority policy that matches it. Only one policy applies per device — matching policies do not merge.

caution

Android devices are always excluded from patch policies, regardless of tags, groups or empty targeting.

running a policy manually​

Run now on the Policies tab evaluates the policy immediately rather than waiting for the next scheduled evaluation. Policy evaluation otherwise runs on the interval set in patch settings, which defaults to every 15 minutes.