Deutsch (DE-CH-AT)English (United Kingdom)
 
FAQ

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 showing a short description of the parameters.

Basically, you can do three things with WuInstall:

  • Searching for Updates: wuInstall /search
    → searches for all available updates, either (if configured) on the internal WSUS or in the internet on the Microsoft Update Server and gives a list of the updates found
  • Downloading updates: wuInstall /download
    → does a search like in a), and 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:

  • /bypass_wsus: switches the WSUS off while executing WuInstall, to force going for the Microsoft Update Server in the internet
  • /autoaccapteula: automatically accepts EULAs for all updates which have to be installed → no user interaction required
  • /reboot [nseconds]: after executing wuInstall, the system is rebooted after n seconds


For more infos, see also the WuInstall HowTos

How do i call wuInstall on a remote machine using psexec?

Use the following command:

psexec \\server -c -s 
-u domain\administrator -p password \\share\path_to_wuinstall\WUInstall.exe /search
  • \\server → the remote windows machine
  • \\share\path_to_wuinstall\ → path to wuInstall executable
  • -u domain\administrator → local admin oder domain admin user on the machine \\server
  • -p password → password of the user
  • -c → copies wuInstall on the remote system
  • -s → executes the command (wuinstall.exe) on the local system

How to use WuInstall with a proxy server?

  • When using a proxy which needs authentifcation, the user who executes wuinstall has to have the right to access the internet via the proxy.
  • When using a WSUS via proxy, the wsus should be in the proxy exception list

Does windows reboot automatically after WuInstall installed updates which need to reboot the machine?

No!

But WuInstall returns a status code, which indicates whether a reboot would be necessary or not.

There is also the /reboot-option in WuInstall (it can be used in combination with all other options). It reboots windows, after executing WuInstall, at any case.
WuInstall /reboot just reboots the system, without doing anything else.

How does the /criteria option work?

For a detailled description of the query strings see MSDN
Some common examples:

  • WuInstall /search /criteria "IsInstalled=0 and Type='Software'": searches updates of type software, which are not yet installed (default-setting when the /criteria option is not specified)
  • WuInstall /search /criteria "IsInstalled=1": searches all updates, which are already installed on the machine (here, the options /install or /download are obviously not applicable, they will have no effect)

Where does WuInstall download the updates?

The file location where WuInstall downloads the updates depends on your Windows Version and System Configuration. It is the same directory the "ordinary" Windows Update uses as well.
Usually, this directory is Windows\SoftwareDistribution\Download

Does WuInstall work with Windows 7?

Yes, WuInstall has been tested with Windows 7, 32-bit and 64-bit, and it works just as well as with all other Windows versions.