- Documentation
- WuInstall
Basic Functions
WuInstall is built around three core switches. One of them per call is enough, since each operation implicitly includes the previous one (combining them, e.g. wuinstall /search /install, simply runs the installation):
/downloadruns a search first/installruns a search and download first
1.1 Search
wuinstall /search
Lists the available software updates for the current machine (drivers only with /includedriver, /driveronly or /alltypes) without making any changes. WuInstall queries the update service the machine uses — your WSUS server, Windows Update or Microsoft Update. Use this to audit what's pending or to validate filter logic before running a full install.
1.2 Download
wuinstall /download
Runs an implicit search, then triggers the Windows Update Engine to download all matching updates to the local cache. Note that WuInstall itself does not transfer the files — it instructs the Windows Update Engine to do so.
1.3 Download to Directory
wuinstall /download_to "C:\updates_download"
Extends /download by additionally copying the downloaded installation packages (typically .msu or .cab files) to a specified directory. Useful for manual installation, offline distribution, or staging updates for other machines. This works for classic update packages (.msu, .cab, .exe, e.g. the Malicious Software Removal Tool or .NET updates); the monthly cumulative updates of current Windows versions come from Windows Update as express or UUP content and are downloaded by every machine. To share updates within your network, use Delivery Optimization or a WSUS — see Caching Options.
1.4 Install
wuinstall /install
Runs a search, downloads any updates not already cached, and installs them. If /download was run previously, the cached updates are used directly and the download step is skipped.