WuInstall is the Windows update command for the scripting guy who doesn’t want to be locked down to the limits of GUI-based update tools.

I wrote a review of a previous version of WuInstall a while back, where I explained the philosophy behind the Windows update command tool. Since the dawn of PowerShell, more and more Windows admins feel comfortable with scripting. If you currently deploy Windows updates with WSUS and would like to have greater flexibility, you should look at WuInstall. The command-line tool supports WSUS, but you can also use it without Microsoft’s patch management solution.

The main point about WuInstall is that you get better control over which updates you deploy, when you deploy them, and to which machines in your network. Because you can use the command-line tool in your scripts, you can automate your update strategy and adapt it to every environment.

WuInstall comes with a variety of filters that allow you to narrow down the updates you want to deploy: /severity, /classification, /product, /match, /nomatch, /matchfile, /nomatchfile, and /isdownloaded. You will probably know the severity and classification filters from Windows Update. Most interesting, from a scripting guy’s point of view, is the match filter that allows you to work with regular expressions.

WuInstall 2.0

WuInstall 2.0

A major problem with all patch management solutions is with the updates that require reboots. WuInstall gives you tight control over the reboot options. I think the reboot switches speak for themselves: /reboot [nseconds], /reboot_if_needed [nseconds], /rebootcycle [ntimes], /reboot_force [nseconds], /reboot_if_needed_force [nseconds], and /shutdown [nseconds]. And, remember, since you are using WuInstall in a script, you can work with very specific settings for different kinds of updates and different kinds of machines.

The new version 2.0 has been redesigned and optimized for Windows 8.1 / Windows Server 2012 and offers quite a few new switches. For instance, /releasedate allows you to install updates before, after, or on a specific date. With the new /targetgroup switch, you can target computer groups. If you have computers in your network that have no Internet connection or can’t access a WSUS server, you will like the /offlinescan switch. You can use it to search for updates against a cab file, which you can download from Microsoft. The /options switch enables you to load settings from a file or through HTTP. WuInstall 2.0 also has a couple of new switches that you can use to configure a proxy through which the updates are downloaded.

The video demonstration below gives you a few examples of how you can work with WuInstall at the command prompt.

  1. Miroslav 8 years ago

    There is also “Windows Update PowerShell Module” witch gives you also a great way to configure WU via simple powershell cmdlets.

  2. Michael Pietroforte 8 years ago

    Miroslav, thanks! Looks interesting!

  3. SunilP 6 years ago

    WUInstall application is used and it really help to detect and install updates very easily. I used this on Windows 10 machine (RTM) and come up with one issue that Windows Anniversary update was installed successfully but it didn’t get applied during shutdown or restarting the system.

Leave a reply

Your email address will not be published.


© 4sysops 2006 - 2023


Please ask IT administration questions in the forums. Any other messages are welcome.


Log in with your credentials


Forgot your details?

Create Account