How to use WuInstall?
WuInstall is a command line tool, so you have to run "cmd" to get to the command line. If you double click on WuInstall, you only get a window with version and license information; its Usage button shows a short description of the parameters. We recommend running WuInstall as administrator to avoid problems with access rights.
Basically, you can do three things with WuInstall:
- Searching for updates:
WuInstall /search
→ searches for all available updates (by default software updates, without drivers), either on the internal WSUS (if configured) or on Microsoft's update servers on the internet, and gives a list of the updates found
- Downloading updates:
WuInstall /download
→ does a search like /search and in addition downloads the updates found
- Installing updates:
WuInstall /install
→ does a search first, then it downloads and finally installs the updates found
There are several options for selecting not all, but only specific updates: /severity, /match, /nomatch, /matchfile, /nomatchfile, /classification, /product, /criteria
Beyond that, there are some other very useful options:
/UseUpdateService MicrosoftUpdate: searches and downloads the updates from Microsoft Update on the internet, even if a WSUS is configured (replaces the deprecated/bypass_wsus)/autoaccepteula: automatically accepts EULAs for all updates which have to be installed → no user interaction required (WuInstall does this by default, also without the switch)/reboot [nseconds]: after WuInstall has finished, the system is rebooted after nseconds seconds (default: 10), whether or not a reboot is needed; to reboot only when the installed updates require it, use/reboot_if_neededtogether with/install
For more information, see also the WuInstall HowTo