Skip to content

Windows installed update age over WinRM (win_update_age) ​

Reads the installed updates from Win32_QuickFixEngineering over WinRM and reports how many days ago the newest one was installed.

Transport. Under a Windows probe the device can be set to read this sensor over native WMI instead of WinRM; the query and the result are the same. The target is then set up as in the WMI setup guide instead.

What it looks like ​

The page of a win_update_age sensor in the light theme

The sensor's page after a few polls, watching a Windows Server domain controller reached over WinRM. In the dark theme: the sensor's page. The form for adding it, with its parameters filled in: light, dark.

What it can and cannot see ​

This is what WQL can see, and no more:

  • It sees updates that are installed and listed in Win32_QuickFixEngineering, with their installation date.
  • It cannot see updates that are available but not yet installed. Finding those needs the Windows Update Agent's search interface, which is a COM call that WQL cannot make.
  • It cannot see whether a restart is pending to finish an installation.
  • Some update types, such as Defender definition updates and Store app updates, are not listed in that class.

A low number therefore means "something was installed recently", not "the machine is fully patched".

Channels ​

KeyNameUnitDefault limits
days_since_updateDays since the newest updatedwarning above 45, error above 90
installed_updatesInstalled updates listednone

Parameters ​

ParameterDefaultMeaning
port5985, or 5986 with httpsTCP port of the WinRM listener.
httpsfalseUse the HTTPS listener instead of HTTP with message encryption.
accept_self_signedfalseAccept an HTTPS certificate that cannot be verified. The credential has the same switch; either one is enough.

Suggested interval: 3600 seconds. Credential: Windows. Discovery adds it to every Windows host.

Days are counted from the date of the poll, by Probeward's clock, to the installation date. The class gives only a date, in the target's local time, so the figure can be one day off around midnight.

On the target ​

WinRM enabled and an account set up as in the WinRM setup guide.

Failures ​

The WinRM failures every Windows sensor shares are listed in the setup guide. Specific to this sensor:

MessageMeaning
Win32_QuickFixEngineering lists no installed updates (kind protocol)Nothing is listed: a freshly installed machine, or a class the account may not read.
none of the N installed updates has a readable installation date (kind protocol)The updates are listed but their dates are empty or in an unknown form.

AGPL-3.0-only