How to Manually Install Windows Updates from CAB and MSU Files | Windows OS Hub (2024)

Windows updates are released as packages with the MSU or CAB file extensions. If the Windows Update service is not working (or disabled), you can manually download and install the necessary cumulative or security updates for your system. In this article, we’ll show how to download and offline install Windows updates in MSU or CAB formats.

Contents:

  • How to Manually Download the MSU Windows Update File?
  • Installing Windows Update from MSU File
  • How to Extract a CAB File from an MSU Update Package?
  • Install a CAB Update File on Windows 10/11
  • Bulk Install Multiple MSU or CAB Update Files with PowerShell/Batch

How to Manually Download the MSU Windows Update File?

Microsoft released security updates and patches in the CAB (Windows cabinet) file format. This is the format in which your computer receives updates from Microsoft update servers or the local WSUS server. To make the manual distribution of separate updates using Microsoft Update Catalog more convenient, these CAB files are packaged in a special MSU format (Microsoft Update Standalone Installer Package).

You can download MSU Windows updates files (and sometimes CAB files) or files for other Microsoft products from Microsoft Update Catalog (https://www.catalog.update.microsoft.com/). Go to Microsoft Update Catalog, find and download the update you need. For example, I want to install the 2022-05 Servicing Stack Update for Windows 10 Version 21H2 for x64-based Systems (KB5014032). Click the Download button.

Move the file ssu-19041.1704-x64_70e350118b85fdae082ab7fde8165a947341ba1a.msu you have downloaded to the C:\temp folder. Rename it to the shorter name windows10.0-kb4056887-x64.msu.

Installing Windows Update from MSU File

To start the installation of a Windows update package, just double-click the MSU file you have downloaded. If the update is applicable to this computer, a Windows Update Standalone Installer window will open, where you will be prompted to confirm the update installation.

You may receive an error “The update is not applicable to your computer” when installing an MSU update. The reasons for this error are discussed in detail in the article at the link.

You can also install the MSU update package from the command line using the wusa.exe tool.

To install the update in a silent mode (a user won’t see any pop-up windows) with a delayed restart, open the command prompt as administrator and run the following command:

wusa.exe c:\Temp\windows10-21h2-kb5014032.msu /quiet /norestart

After a while, check that the update has been successfully installed:

wmic qfe list | findstr 5014032

Or you can find an entry with Event ID 2 from the WUSA source in the Event Viewer -> Windows Logs -> Setup:

Windows update "Security Update for Windows (KB5014032)" was successfully installed. (Command line: "wusa.exe c:\Temp\windows10-21h2-kb5014032.msu /quiet /norestart")

Please note that the installation of updates in MSU format in Windows via wusa.exe is slower than when installing the same update as the CAB file. The reason is that an additional scan is performed on the Windows Update/WSUS servers.

How to Extract a CAB File from an MSU Update Package?

If the Windows Update service (wuausrv) is not working correctly, you will not be able to install the update from the MSU file. In this case, you can manually unpack the MSU package, extract the CAB update file from it, and manually install it on Windows.

You can reset the Windows Update agent components to restore the wuauserv functionality.

In order to extract the MUS package into the C:\Temp\kb4056887 folder, run this command (you have to create this folder in advance):

expand -f:* “C:\Temp\windows10.0-kb4056887-x64.msu” C:\Temp\kb4056887

How to Manually Install Windows Updates from CAB and MSU Files | Windows OS Hub (5)

Microsoft (R) File Expansion Utility Version 10.0.10011.16384
Copyright (c) Microsoft Corporation. All rights reserved.
Adding C:\Tmp\kb4056887\WSUSSCAN.cab to Extraction Queue
Adding C:\Tmp\kb4056887\Windows10.0-KB4056887-x64.cab to Extraction Queue
Adding C:\Tmp\kb4056887\Windows10.0-KB4056887-x64-pkgProperties.txt to Extraction Queue
Adding C:\Tmp\kb4056887\Windows10.0-KB4056887-x64.xml to Extraction Queue
Expanding Files ….
Expanding Files Complete …
4 files total.

As you can see, 4 file types have appeared in the folder:

  • An .xml file (Windows10.0-KB4056887-x64.xml) – contains MSU package metadata and used by wusa.exe;
  • A .cab file (Windows10.0-KB4056887-x64.cab — one or more) – is an cabinet (archive) with Windows update;
  • *pkgProperties.txt file (Windows10.0-KB4056887-x64-pkgProperties.txt) – contains package properties (release date, architecture, package type, a link to the KB, etc.).

You can also open any MSU file with the 7-ZIP and extract the CAB file from it.

Install a CAB Update File on Windows 10/11

You can install a CAB update file in two ways.

The most common way to install an update from a CAB file is using DISM.exe. The installation command can look like this:

DISM.exe /Online /Add-Package /PackagePath:c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab

Deployment Image Servicing and Management toolVersion: 10.0.10240.16384Image Version: 10.0.10240.16384Processing 1 of 1 — Adding package Package_for_KB4056887~31bf3856ad364e35~amd64~~10.0.1.0[==========================100.0%==========================]The operation completed successfully.

How to Manually Install Windows Updates from CAB and MSU Files | Windows OS Hub (7)

Note. Note how fast installing a CAB package through DISM is compared to installing an update from an MSU file with wusa.exe.

If you have to install a CAB package in a silent mode with a later restart, use the following DISM command:

start /wait DISM.exe /Online /Add-Package /PackagePath: c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab /Quiet /NoRestart

The DISM.exe /Add-Package command allows you to install an MSU update as well (only the offline Windows image is supported). You can use the /PackagePath parameter to specify a path to the directory where the MSU and CAB update files are stored. DISM will recursively scan the specified directory and subfolders and installs any found CAB and MSU update packages into the Windows image.

Note that the DISM.exe /Add-Package command doesn’t check dependencies and environment requirements when adding a CAB file to a Windows image (unlike wusa.exe which first checks if an MSU update is applicable to the computer).

To install CAB files in a Windows image, you can use the PowerShell command Add-WindowsPackage -Online -PackagePath "C:\win10_kb123456.cab" instead of the DISM /Add-Package command.

On Windows 8 and Windows 7, you can install a CAB update using the Pkgmgr command:

start /w Pkgmgr /ip /m:c:"c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab"

Note. The PkgMgr.exe package manager is no longer supported in Windows 10/11 and Windows Server 2016/2019. When you run it, you receive a warning that you need to use DISM.exe to manage the packages.

Note: The PkgMgr.exe has been deprecated. Please update your scripts to use dism.exe to extract, install, uninstall, configure and update features and packages for Windows. Operation failed with 0x80070003.

How to Manually Install Windows Updates from CAB and MSU Files | Windows OS Hub (8)

Note. Please note that Windows language packs (MUI) are also distributed in CAB format. However, you won’t be able to use a DISM command to install them. You will have to use a separate lpksetup.exe tool, to install new languages in your system instead.

You can add the option to install CAB files to the File Explorer context menu. To do this, import the following *.reg file into the registry:

Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs][HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs]@="Install CAB""HasLUAShield"=""[HKEY_CLASSES_ROOT\CABFolder\Shell\RunAs\Command]@="cmd /k dism /online /add-package /packagepath:\"%1\""

Now to install the CAB file you just need to select Install from the context menu.

Bulk Install Multiple MSU or CAB Update Files with PowerShell/Batch

If you need to install multiple CAB or MSU updates on a computer at once, you can use BAT and PowerShell scripts. Thanks to such scripts, you don’t have to install updates manually one by one.

Create a directory on your drive and copy all the Windows MSU update files that you need to install into it. Run the install_msu.bat script in order to install all MSU updates from the specified folder:

Set Folder="C:\updates"
for %%f in (%Folder%\*.msu) do (
wusa.exe %%f /quiet /norestart
)

Similarly, you can use the following PowerShell script to install MSU updates from a specified folder:

$dir = (Get-Item -Path c:\updates -Verbose).FullName
Foreach($item in (ls $dir *.msu -Name))
{
echo $item
$item = $dir + "\" + $item
wusa $item /quiet /norestart | Out-Null
}

This guide for manually installing cumulative or any other Windows updates using MSU and CAB files applies to all supported Windows OS versions: Windows 11/10/8.1/7 and 2022/2019/2016/2012R2/2008R2.

How to Manually Install Windows Updates from CAB and MSU Files | Windows OS Hub (2024)

FAQs

How to Manually Install Windows Updates from CAB and MSU Files | Windows OS Hub? ›

Installing Windows Update from MSU File

Is there a way to manually install Windows updates? ›

Manually install Windows updates
  1. On the left end of the taskbar, click the Start icon.
  2. Type, Settings and hit Enter.
  3. Click Update & Security.
  4. Click the blue link 'Check online for updates from Microsoft Update' and install the listed updates.
May 21, 2024

How do I manually install Windows Update cab? ›

To install a CAB file in Windows 10, please refer these steps:
  1. Open administrative Command Prompt.
  2. Type following command after substituting correct CAB file path and press Enter key: dism /online /add-package /packagepath:"<PUT-CAB-FILE-PATH-HERE>"
  3. This should let you install the update.
Jan 21, 2018

What is the difference between MSU and CAB files? ›

MSU vs.

Normally, CAB files need additional instructions or scripts so that they can be installed unlike MSUs are self-contained and hence can directly be managed by WUSA.

How to extract a CAB file from a msu update package? ›

A. To extract the CAB file from an MSU file use the expand command, for example: expand windows10. 0-kb3200970-x64_3fa1daafc46a83ed5d0ecbd0a811e1421b7fad5a.

How to install Windows Update MSU files? ›

To start the installation of a Windows update package, just double-click the MSU file you have downloaded. If the update applies to this computer, a Windows Update Standalone Installer window will open, where you will be prompted to confirm the update installation.

How do I manually install Windows updates offline? ›

Method 1. Offline update Windows 10 with updates & patches
  1. Download Windows 10 specific . msu / .exe update files. ...
  2. Double click on the downloaded installing patch and install. ...
  3. After installing, do remember to restart the computer and then the offline update is complete.
Jun 20, 2024

What is an MSU file? ›

The . msu file name extension is associated with the Windows Update Standalone Installer.

How to convert CAB file to exe? ›

You can convert CAB to EXE with IExpress Wizard, a tool included in Windows. Open the Run dialog box with the Win+R keyboard shortcut and then type iexpress. If you need to convert CAB to KDZ to get an Android firmware file in the right format, follow the instructions at BOYCRACKED.

How to open .CAB files? ›

Click the start button and select computer to launch Windows default file manager. Open the drive and folder with the compressed file. Find and select the CAB file(s) you wish to view. Right-click on the file and open it to view its contents on Windows Explorer.

What system does MSU use? ›

D2L (through Brightspace) is MSU's main supported online learning management system.

Is it OK to delete CAB files? ›

Windows updates, device installers, themes, and other software often use CAB files. If these CAB files take up significant storage space, you can safely delete them from the Windows Temp folder. However, ensuring no active installations are in progress is essential, as this may cause interruptions and errors.

What is the temp folder filled with CAB files? ›

The cabinet files (CAB-xxxx) files that you see in the C:\Windows\Temp\ folder are temporary files created by different Windows operations, like installing Updates. You can use File Explorer to delete CAB files from the C:\Windows\Temp\ folder. Alternatively, run Disc Cleanup to remove temporary files.

How to install Windows Update CAB file? ›

Choose the location where you want to extract the contents of the CAB file and click Extract. Press Win + X hotkey to open the Power User menu and choose Device Manager. Right-click the device for which you have downloaded the driver update and choose Update driver. Click Browse my computer for drivers.

How do I restore a CAB file? ›

Recover CAB from Windows Recycle Bin or Mac Trash

Step 1:Open the Recycle Bin using the desktop shortcut. Step 2:Select the CAB files you want to restore. Step 3:Right-click the file and click on Restore.

How do I selectively install Windows 10 updates? ›

To Choose How Updates are Installed:
  1. Click the Start button at the bottom left of your screen.
  2. Select Settings.
  3. Once the Settings screen appears, scroll down, and choose Update & Security.
  4. Then choose Advanced Options under the Windows Update category.
Jan 30, 2024

How do I install Windows Update without prompt? ›

To install all updates without getting approval prompts for each package, run Install-WindowsUpdate –AcceptAll. To ignore reboots at the end without a prompt, add an –IgnoreReboot switch at the end, e.g., Install-WindowsUpdate –AcceptAll –IgnoreReboot.

How to update Windows 10 1909 to 21H2 manually? ›

Windows 10 Feature Branch 1909 to 21H2 DIT Upgrade Instructions
  1. Click the Windows Start button and type Software Center into the search bar to open the application.
  2. On the left hand side of Software Center, click 'Operating Systems.
  3. Select TS-DIT-Windows Feature Update Windows 10 21H2 and click Install.

References

Top Articles
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 5533

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.