How to Download, Install, and Manage Windows Updates

msu files how to download install manage

Written by Alex Marin · May 23, 2024

It is important to ensure that your Windows operating system is kept up to date in this age of technology. It is a matter that leads us right Microsoft standalone update packages (MSU files)an essential element in the Windows update process.

This comprehensive guide aims to demystify MSU files by providing insight into downloading, opening and installing them, as well as managing these operations silently and without instant reboots.

We will also look into differences between MSU and CAB files and briefly touch on using the standalone Windows Update Installer (WUSA.exe) for managing MSU files.

What is an MSU file?

An MSU file can be described as a package used by Microsoft Windows for distributing updates to the operating system.

These include details for each update such as its description, applicable installation rules, etc., making it a comprehensive solution for distributing Windows updates, where each package has everything needed for successful update procedures.

Download MSU Windows Update files

To download MSU files, users typically visit the Microsoft Update Catalog website, an update repository where you can search for and download individual updates for Windows.

Direct access to MSU files for different versions of Windows is provided from the Update Catalog either when dealing with a specific security flaw or when updating a system manually. To start the process, simply click on the “Download” button after identifying the required update.

Opening MSU files

Opening an MSU file is easy because it’s designed to be double-clicked and run directly in Windows. Once run, the Windows Update Standalone Installer (WUSA) takes over to guide users through the installation procedure. This simplicity makes it possible for users to easily apply updates without having to go through complicated steps or use additional software.

MSU vs. CAB Files: Understanding the Difference

The main difference between MSU and CAB files comes in terms of their intended use and format.

MSU files are standalone update packages that come along with the metadata and are designed specifically for updating various aspects of Windows.

On the other side, CAB (Cabinet) files act as general purpose containers used to store compressed files which can be used for various purposes such as Windows updates among others.

Normally, CAB files need additional instructions or scripts in order to be installed, unlike MSUs are self-contained and thus can be directly managed by WUSA.

Silent installation of MSU files

One of the most powerful features of MSU and WUSA files is the ability to perform silent installationsallowing updates to be applied without user interaction and without forcing a system reboot.

This can be extremely useful for IT administrators who manage multiple machines or for users who want to update without interruption.

To install an MSU file silently, you can use the following command line at an elevated command prompt:

wusa.exe "path\to\update.msu" /quiet /norestart

This command tells WUSA to install the specified MSU file silently (`/quiet`) and avoid restarting the system afterward (`/norestart`), making it ideal for batch processing or scripts.

WUSA: A Closer Look

of Windows Update Standalone Installer (WUSA) is a tool built into Windows that facilitates the installation and uninstallation of updates packaged in MSU files.

It is designed to integrate seamlessly with Windows Update services, ensuring that updates are applied correctly and efficiently. While its interface is simple, WUSA’s core functionality is powerful, supporting various command-line options for customized update management.

Uninstalling MSU files with WUSA

In some cases, an update may need to be rolled back. WUSA also supports uninstalling previously installed MSU files using a command similar to the installation process. To uninstall an MSU file, you can use the following command:

wusa.exe /uninstall /kb:123456 /quiet /norestart

here, `/kb:123456` should be replaced with the KB number of the update you want to uninstall.

This command performs the uninstall silently and prevents an immediate restart, reflecting the convenience and control provided during the installation process.

MSU files and advanced installer

Including a Windows Update in your installation package as a pre-installation requirement is easy and simple with the Prerequisites view in the Advanced Installer. Here’s how you can easily add it:

  • Bundled prerequisite software: To add “Package Precondition” click on the button in the toolbar, right click on it and select “New Package Precondition”, or just use the Insert button; this will invoke an Open dialog box to allow you to browse the configuration files of such a condition.
  • Prerequisite downloadable software: Select Prerequisite URL from the toolbar or New Prerequisite URL from the context menu; So specify a URL where it can be downloaded.

Take control of your Windows updates effortlessly!

Start your free trial of Advanced Installer now and simplify the management of your MSU files.

Start your 30-day free trial!

It is important to remember that prerequisites added this way initially come with default settings. You will need to configure them manually – for example, by defining the correct installation conditions for your prerequisite in the prerequisite installation conditions tab.

IN Installation conditions tab, you must specify which versions of Windows are supported by Windows Update.

Go to the Installation conditions section and select “Install prerequisite based on conditions” option.

To set search criteria for the prerequisite, do the following:

  1. Criteria: Select a search performed by a custom executable.
  2. Executable selection: When prompted, navigate to and select CMD.exe located in C:\Windows\System32\.
  3. Argument Configuration: Use the `/c “wmic qfe get hotfixid | findstr ^”KB id^””` argument to define your search parameter.
installation conditions tab

installation conditions tab

This setup uses the Windows Management Instrumentation (WMIC) command line for a quick and straightforward method to identify whether the specific fix, identified by its KB ID, is already installed on the system.

commands `wmic qfe get hotfixid` efficiently lists all live patch IDs installed on the local machine, making it an invaluable tool for verifying pre-installation conditions.

CONCLUSION

MSU files and the standalone Windows Update Installer are vital components in the Windows ecosystem that manage system updates.

Accuracy and flexibility are guaranteed by MSU files and the standalone Windows Update Installer.

They can be obtained from the Microsoft update directory or through silent installation/uninstallation command lines for MSU files, which guarantees a more reliable approach to maintaining Windows systems.

These tools help users and administrators keep their systems secure, up-to-date, and running at peak performance by making the most of them.

Written by
Check out the author's page
Alex Marin

SCCM application packaging and deployment specialist, solution finder, Technical Writer at Advanced Installer.

Để lại một bình luận

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Contact Me on Zalo
Tư Vấn Miễn Phí