Skip to main content

Task System - Windows Update​

The Windows update Task searches the VisualCron Server computer, or a remote computer, for software updates that are not installed, and downloads or installs them in the background.

Windows update Task settings, with the Download updates, Install updates and Install hidden updates check boxes

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Windows update tab​

  • Credentials: the Credential the Task runs as. With Remote, it must be allowed to use Windows Update on the remote computer. Select a Credential, or click the Settings icon to open Manage credentials; see Global - Credentials
  • Local (Shutdown settings group): updates the VisualCron Server computer. Selected by default
  • Remote: updates the computer in Hostname
  • Hostname: the host name of the remote computer. Select a computer on the network or type a host name. Available only with Remote
  • Download updates (Settings group): downloads the updates that are not downloaded yet. Selected by default
  • Install updates: installs the updates that are not installed. Selected by default
  • Install hidden updates: also includes updates that are hidden in Windows Update, for both downloading and installing
note

The Task accepts the license terms of every update it downloads or installs, without asking.

The Task does not restart the computer: when an update needs a restart, the output says "RebootRequired: True". To restart, use the Restart Task.

Output and errors​

The output lists each update the Task prepares to download or install, and the result of the installation in the form Install result: ResultCode: ..., HResult: ..., RebootRequired: ....

warning

The Task does not check the result of the download or the installation. A result code other than "2" means that not every update was installed, and the Task reports success.

The TimeOut tab does not stop this Task.