Mar 162009
 

WuInstall is a command line tool for windows, which enables you to install windows-updates for a certain workstation in a controlled way by using a command line script instead of the standard window update functionality.


It can be used by administrators for updates on many workstations using scripts or for users who do not want to us the automatic windows upates.

WuInstall uses the windows update API and is written in C++. It searches either on the Microsoft – Update – Server or at the internal WSUS-Sever (depending on system configuration) for currently available updates for the current workstation and can also download and/or installs these updates. It is roughly comparable with a simplified apt-get command like in linux.

Download wuinstall from here

Using wuInstall

C:\DATA\WuInstall>wuinstall -?

Command line incorrect

Usage: WUInstall.exe [/search | /download | /install | /help]

/search -> Searches only for available downloads

/download -> Searches and downloads updates

/install -> Searches and downloads and installs update

Return codes: 0  … sucessful, no reboot required
1  … at least one error occured, no reboot required
2  … no more updates availabed
20 … sucessful, reboot required
21 … at least one error occured, reboot required

Copyright by hs2n Informationstechnologie GmbH 2009

C:\DATA\WuInstall>wuinstall /search

Searching for updates …
Result Code: Succeeded
13 Updates found, listing:
Samsung Electro-Mechanics – Input Devices – Samsung Mouse USB Mouse
Brother Industries, ltd. – Printers – Brother HL-5030 series
Windows Search 4.0 for Windows XP (KB940157)
Dell Inc. – Printers – Dell Laser Printer 3100cn PCL6
Security Update for the 2007 Microsoft Office System (KB954326)
Microsoft Silverlight (KB957938)
SQL Server 2008 Books Online (August 2008)
Updates for Microsoft Office Excel 2007 Help (KB957242)
Updates for Microsoft Office Outlook 2007 Help (KB957246)
Updates for Microsoft Script Editor Help (KB957253)
Group Policy Preference Client Side Extensions for Windows XP (KB943729)
Root Certificates Update
Updates for Microsoft Office 2007 Help for Common Features (KB957244)
only /search was specified, stopping here!
Return code: 0

C:\DATA\WuInstall>wuinstall /install

Searching for updates …
Result Code: Succeeded
13 Updates found, listing:
Samsung Electro-Mechanics – Input Devices – Samsung Mouse USB Mouse
Brother Industries, ltd. – Printers – Brother HL-5030 series
Windows Search 4.0 for Windows XP (KB940157)
Dell Inc. – Printers – Dell Laser Printer 3100cn PCL6
Security Update for the 2007 Microsoft Office System (KB954326)
Microsoft Silverlight (KB957938)
SQL Server 2008 Books Online (August 2008)
Updates for Microsoft Office Excel 2007 Help (KB957242)
Updates for Microsoft Office Outlook 2007 Help (KB957246)
Updates for Microsoft Script Editor Help (KB957253)
Group Policy Preference Client Side Extensions for Windows XP (KB943729)
Root Certificates Update
Updates for Microsoft Office 2007 Help for Common Features (KB957244)
Downloading updates …
Downloading finished, listing downloaded updates and counting…
Result Code: Succeeded
Install was specified. Beginning Install
Samsung Electro-Mechanics – Input Devices – Samsung Mouse USB Mouse
Brother Industries, ltd. – Printers – Brother HL-5030 series
Windows Search 4.0 for Windows XP (KB940157)
Dell Inc. – Printers – Dell Laser Printer 3100cn PCL6
Security Update for the 2007 Microsoft Office System (KB954326)
Microsoft Silverlight (KB957938)
SQL Server 2008 Books Online (August 2008)
Updates for Microsoft Office Excel 2007 Help (KB957242)
Updates for Microsoft Office Outlook 2007 Help (KB957246)
Updates for Microsoft Script Editor Help (KB957253)
Group Policy Preference Client Side Extensions for Windows XP (KB943729)
Root Certificates Update
Updates for Microsoft Office 2007 Help for Common Features (KB957244)
13 Updates are ready to be installed!
Begining install
Result Code: SucceededWithErrors
Install or Download finished, reboot required: NO
Operation Result != Successful
Return code: 1

zp8497586rq

Incoming search terms:

  2 Responses to “WuInstall – Install windows updates using a command line script”

  1. The link is dead (I get 403 from xeox.com)… why don’t they host the files here?

  2. Try http://www.wuinstall.com instead, there you can download the files

Sorry, the comment form is closed at this time.