Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WuInstall /search

It lists all update, which are available. It either searches on the Windows Update Server in the Internetinternet, or, if configured, on your WSUS. It has no impact on your system at all, . In that case it just does performs a search ans and lists what was found.

1.2. Downloading updates

...

It does the same search as WuInstall /search and then downloads the updates, which were found. WuInstall itself does not download anything, but it triggers the Microsoft Windows Update Engine, which downloads the updates.

...

It again searches the updates, downloads them (if they have not already been downloaded by a previous wuInstall WuInstall /download command) and then installs them.

...

With various switches, you can narrow the results of the search for updates and therefore also the updates which are downloaded and installed. You can use criteria queries, search updates, which match certain names, severities, products or classifications.

 

Tip: In subsequent examples, we only use the /search option to illustrate how to select updates. This option is ideal to test certain switches, because it just lists the updates and has no further impact on the system. Of course, also the /download or /install switch can be used with all following the examples.

 

2.1. Specifying

...

criteria

With /criteria you can specifiy specify a query string, in order to change the search. The default criteria (when no /criteria is specified) is "IsInstalled=0 and Type='Software'".

...

It is also possible to put search strings in a file. For example, you create a file match.txt with the following search string (seperated separated by a newline):

c:\Data\match.txt

...

 

Tip: The severity is only filled for security updates, so it is not really suitable for finding high priority updates, as security updates usually ARE high prioritoy priority updates. Classification is better for that purpose.

 

...

 

Tip: High priority updates can best be found with the classification CRS (Critical, Security and Update Rollups), however sometimes also U (Updates) can be high priority. Generally speaking, selecting which updates are high priority and which are not is up to the administrator, there is no general rule how to automatically match the high priority categorization on the microsoft Microsoft update website

2.7. Product

...

 

Tip: The product name has to match exactly, so . Therefore just specifying "Visual Studio" here would produce no results.

WuInstall /search /product "Visual Studio 2008"

...

With this option complete cumulative updating of windows systems becomes possible. That means installing updates, rebooting and installing further updates will be automated. After performing an update and rebooting afterwards, WuInstall starts again before the Windows Logon and executes the same command again, which was done before the reboot. The /rebootcycle option uses the Windows Task Scheduler to restart WuInstall.

 

Tip: You can limit this rebootcycle reboot cycle option to a maximum number of reboots to prevent of getting stuck in an endless loop. Default is 3.

The /rebootcycle option works together with /reboot or /reboot_if_needed.

...

As already mentioned the /rebootcycle option automates reboots inbetween of between updates. In many cases it might be necessary to shutdown the machine after having all updates done. For example if you want to schedule your windows updates during the night.

...