WuInstall is part of the XEOX family. XEOX manages patches, software and remote access for Windows, macOS and Linux in one web console. Discover XEOX

  1. Documentation
  2. WuInstall

Selecting Updates

WuInstall offers several filtering switches to narrow down which updates are searched, downloaded, or installed. The examples below use /search to keep things non-destructive, but all filtering switches work equally with /download and /install.


2.1 Custom Criteria

wuinstall /search /criteria "IsInstalled=0 and Type='Software'"

The /criteria switch accepts a query string that controls which updates are returned. The default (when no /criteria is specified) is "IsInstalled=0 and Type='Software'". On Windows 10 (1803 and later) and Windows 11 — not on Windows Server — WuInstall also includes optional installations by default (DeploymentAction='OptionalInstallation'), so that feature updates are found as well.

Common examples:

  • wuinstall /search /criteria "IsInstalled=1" — list already installed updates
  • wuinstall /search /criteria "IsInstalled=0 and Type='Driver'" — drivers only
  • wuinstall /search /alltypes — all pending updates (software + drivers)

For the full query string syntax, refer to the Microsoft documentation.


2.2 Match by Title

wuinstall /search /match "KB956844"

Returns only updates whose title or update ID contains the specified string. /match supports regular expressions and is case-sensitive:

wuinstall /search /match "(Language|KB93|Live)"

Tip: Test /match against already-installed updates using /criteria "IsInstalled=1" — this typically gives a longer list to work with.


2.3 Exclude by Title

wuinstall /search /nomatch "(SQL|Windows|KB)"

The /nomatch switch is the inverse of /match — it excludes updates whose title or update ID matches the given string or pattern. Both switches can be combined:

wuinstall /search /match "(SQL|Office)" /nomatch "Service Pack"


2.4 Match/Exclude from File

For larger filter sets, search strings can be stored in a plain text file (one term per line):

# C:\Data\match.txt
KB93
KB94
KB95
Office
Internet Explorer 11
wuinstall /search /matchfile "C:\Data\match.txt"
wuinstall /search /nomatchfile "C:\Data\match.txt"

/matchfile includes only updates matching any listed term; /nomatchfile excludes them. Regular expressions are supported in both files. Text after # is a comment. After a line #nocase, titles are compared in lower case (so write the terms in lower case, too); #case switches back. WuInstall 3 reads the file as UTF-8, UTF-16 or ANSI; WuInstall 2.9.x matches non-ASCII characters such as umlauts only if the file is saved as ANSI.


2.5 Filter by Severity

Each security update carries a severity rating. Use /severity with one or more letter codes to filter by severity level:

Code Severity Description
C Critical Exploitable without user action (e.g. wormable vulnerabilities)
I Important Risk to data confidentiality, integrity, or availability
M Moderate Impact significantly reduced by default configuration or difficulty of exploitation
L Low Extremely difficult to exploit or minimal impact
U Unknown No severity information available

wuinstall /search /severity CI — critical and important updates only

Note: Severity is only populated for security updates. For broader prioritization, the /classification filter is more reliable.

2.6. Classification

/classification selects updates by their classification. It knows these classifications (updates in other classifications, such as drivers or tools, are not selected when /classification is used):

  • Critical Updates (C)
  • Security Updates (S)
  • Updates (U)
  • Update Rollups (R)
  • Service Packs (E)
  • Feature Packs (F)
  • Definition Updates (D)
  • Upgrades (A)

Combine the letters in brackets to select several classifications. For example, select all security updates, critical updates and updates:

WuInstall /search /classification SCU

Tip: High-priority updates are best found with the classification CRS (Critical, Security and Update Rollups), but U (Updates) can be high priority as well. Which updates count as high priority is up to the administrator.


2.7. Product

Each update belongs to a Microsoft product, for example Office 2019, Windows 11, Visual Studio 2019, Silverlight, ...

The /product switch selects the updates of one product. For example, find all updates for Visual Studio 2019:

WuInstall /search /product "Visual Studio 2019"

Tip: The product name has to match exactly, including upper and lower case — just "Visual Studio" would find nothing. To exclude a product instead, use /notproduct "product name" (WuInstall 3 also accepts /noproduct). Do not combine it with /product: both switches share one value, so the combination selects no updates.


Tip: All update selection options (/match, /nomatch, /matchfile, /nomatchfile, /severity, /classification, /product) can be combined; an update must then match all of them.

Read as Markdown

Updated