Skip to content

Automatic app updates ​

A policy's Apps tab (App Management) lists the apps the policy installs, updates or removes with winget. Turn on Enable App Management and every Windows device the policy applies to is brought in line on the schedule you set. The settings below control when that happens and what it touches.

Which apps are updated ​

Scope has two options:

  • Managed apps only updates the apps on the policy's list. This is the default.
  • All apps also updates every other app winget can update on the device, apart from the exclusions. These updates run last, after the policy's own apps, one app at a time. OpsMerge never runs winget upgrade --all.

With All apps, the other apps are the ones the device's inventory shows an update for, that are in the public winget catalogue and that the policy doesn't list. An app on the policy's list is never touched by this step, even if its row is turned off. The same schedule, holds, open-app check, maximum run length and failure alerts apply.

Exclusions is a list of winget package ids that All apps never updates. Use an exact id such as 7zip.7zip, or a prefix ending in .*, such as Microsoft.VisualStudio.*, which covers every Visual Studio edition. An app on the policy's own list is always managed, even if it matches an exclusion.

Update apps whose installed version is unknown (on by default) lets winget update an app it can't read the installed version of. Without it, winget skips those apps and nothing is reported.

Include apps pinned on the device (off by default) lets All apps update apps that someone pinned to a version with winget pin on the device. It needs agent 0.11.20 or later; older agents still skip pinned apps.

In a device's Apps history, rows from All apps show an Other apps label next to the policy name. Use Policy apps or Other apps above the history to see one kind at a time.

When updates run ​

Pick the days and the device-local hour. A device at UTC+2 with a 06:00 schedule runs at 06:00 its own time. Run if the previous schedule was missed catches up a device that was off at its hour, later the same day. Run immediately on new assets runs a newly added device straight away instead of waiting for its first window.

An app you add to the policy waits for each device's next window, so adding one mid-afternoon doesn't set off installs across the whole fleet. With All apps, an update that first appears after the window opened waits for the next window in the same way. To run now instead, use Apply now: every online device on the policy runs once within about five minutes, whatever the schedule. The request stays open for an hour, so a device that comes online in that time also runs; one that comes back later waits for its window. Exclusions and holds still apply.

Maximum run length stops a run from starting new apps after that many minutes. Apps it didn't reach show Deferred in the device's history and wait for the next window. 0 means no limit.

Holding back new versions ​

Hold new versions for N days waits until N days after OpsMerge first saw a new version available on a device before installing it. The first-seen date comes from the device's inventory scans. With 3 days, a version first seen on Monday morning goes in at the first window from Thursday morning. 0 installs new versions at the next window.

Each app on the policy's list can override the hold: set its own number of days, or leave it blank to use the policy's. The hold only applies to updating an app that is already installed. A fresh install, a pinned version and an uninstall go ahead at the next window.

Apps that are open ​

Updating an app while someone has it open can fail, or close it with their work in it. If an app is running from its install folder, the run skips it and the history shows Deferred. It's tried again at the next window.

Force the update after N skipped runs updates the app anyway once it has been skipped that many runs in a row. 0 (the default) never forces. Checking for an open app needs agent 0.11.18 or later; older agents update without checking.

Servers ​

Include servers is off for new policies, so devices monitored as servers are left alone. Turn it on to reconcile servers on the same schedule. Policies that already had App Management on keep updating their servers.

Windows Server 2019 comes with a winget too old to work for OpsMerge, so a 2019 server's apps list stays empty. From agent 0.11.22, OpsMerge installs its own up-to-date winget on any device whose built-in one is older than App Installer 1.21, the version that includes winget 1.6. You don't need to do anything. The apps list fills in at the next inventory scan, within about three hours of the agent updating. winget doesn't support Windows Server 2016 or older, so App Management can't update apps there.

Restarts ​

App Management never restarts a device. If an installer reports that a restart is needed to finish, the history row shows a restart icon and the device's Apps tab shows a notice. Restart the device yourself, or let a patch policy's restart schedule do it.

Alerts for failing updates ​

Alert after N failed runs in a row (3 by default) raises an App update failing repeatedly alert on a device when one app fails that many policy runs in a row. The alert names each failing app, how many runs it has failed, and the last error. It clears itself once the app updates successfully. Set it to 0 to turn the alert off. You can send this alert type by SMS or WhatsApp like any other.

Outdated apps report ​

Outdated apps report on the policy's Apps tab opens a report of apps that winget can update on the devices the policy applies to. Each row is one app at one site: how many devices are behind, the oldest installed version, the latest version, and the last time an install or update of it failed on those devices, with the error. Filter it by client, or choose Show all devices to see every device in your organisation.

Leaving a device out ​

On a device's Apps tab, under Automatic updates:

  • Exclude this device from automatic app updates leaves the device out of App Management entirely. Nothing on it is installed, updated or removed by a policy.
  • Apps to skip on this device takes the same ids and .* prefixes as the policy's exclusions. Policy runs skip these apps on this device, including apps on the policy's own list.

Neither setting stops you installing or updating an app by hand from the Apps tab.

See also ​

Lovingly Created in the UK
OpsMerge is a product of Brindleford Technologies Ltd, company number 16871436, registered in England and Wales.