Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 Windows OS Hub / Windows 10 / How to Manually Install CAB and MSU Updates in Windows 10

July 23, 2018 Windows 10

How to Manually Install CAB and MSU Updates in Windows 10

Windows updates are released as packages with the MSU or CAB extensions. If Windows Update service is not working (or specifically 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 updates in the MSU or CAB file formats in Windows 10.

Contents:
  • How to Manually Download the MSU Windows Update File
  • Installing MSU Update File in Windows
  • How to Extract a CAB File from an MSU Update Package
  • Installing a CAB Update File in Windows 10

How to Manually Download the MSU Windows Update File

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

You can download MSU Windows updates files (sometimes also 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 an Adobe Flash Player security update for Windows 10 x64 1507 – KB4056887. Click Download.

download msu update from Microsoft Update Catalog

Move the file windows10.0-kb4056887-x64_fca8a311f0495e669715ae5aa0e0d8720f945049.msu you have downloaded to the C:\temp folder. Rename it, to get a shorter name: windows10.0-kb4056887-x64.msu

Installing MSU Update File in Windows

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.

install msu update using windows update standalone installer

You can also install an MSU update package using wusa.exe in the command prompt.

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

wusa.exe c:\Temp\windows10.0-kb4056887-x64.msu /quiet /norestart

installing msu update using wusa

Tip. Using wusa, you can also remove an update if necessary.

In some time make sure that the update has been installed successfully by running this command:

wmic qfe list | findstr 4056887

wmic qfe - get update status

Or in the Setup event log, find an entry with the Event ID 2 from the source WUSA and the following message:

Windows update “Security Update for Windows (KB4056887)” was successfully installed. (Command line: “wusa.exe c:\Temp\windows10.0-kb4056887-x64.msu /quiet /norestart”)

setup log - Windows update was successfully installed

Please note that the installation of updates in MSU format in Windows via wusa.exe is slower than when installing the same update as CAB file. The reason is the execution of additional processing with scanning on WU / WSUS servers. See the article Slow MSU update installation.

How to Extract a CAB File from an MSU Update Package

In some cases when Windows Update that is used by wusa works incorrectly (try to reset Windows Update agent settings first), you can’t install an update in the MSU format. In this case you can unpack MSU package manually, extract a CAB file from it and install it manually in your system.

To unpack an MSU package to C:\Temp\kb4056887 (you have to create this folder in advance), run this command:

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

extracting msu package

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) that contains MSU package metadata and used by wusa.exe;
  • A .cab file (Windows10.0-KB4056887-x64.cab — one or more) is an archive with Windows update;
  • *pkgProperties.txt file (Windows10.0-KB4056887-x64-pkgProperties.txt) that contains package properties (release date, architecture, package type, a link to the KB, etc.).

Installing a CAB Update File in Windows 10

You can install a CAB update file obtained from an MSU package 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 tool
Version: 10.0.10240.16384
Image Version: 10.0.10240.16384
Processing 1 of 1 — Adding package Package_for_KB4056887~31bf3856ad364e35~amd64~~10.0.1.0
[==========================100.0%==========================]
The operation completed successfully.

DISM.exe /Online /Add-Package - install update from cab file

Note. Please note that the installation of a package using DISM goes faster compared to the installation of the update from an MSU file using 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

In Windows 8 and Windows 7, you can install an update using Pkgmgr. The command is:

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 / Windows Server 2016. 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.

The PkgMgr.exe has been deprecated

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 tool, lpksetup.exe, to install new languages in your system instead.

This guide on manual installation of cumulative or any other Windows updates is applicable to all supported Windows OS versions: Windows 10 / 8.1 / 7 and Windows Server 2016 / 2012 / R2 / 2008 / R2.

1 comment
2
Facebook Twitter Google + Pinterest
previous post
Windows Defender Threat Service has stopped. Restart it now
next post
Auto-Mount a VHD/VHDX File at Startup in Windows 10, 8.1

Related Reading

How to Troubleshoot, Repair and Rebuild the WMI...

March 2, 2021

How to Sign a PowerShell Script (PS1) with...

February 25, 2021

How to Shadow (Remote Control) a User’s RDP...

February 22, 2021

Configuring PowerShell Script Execution Policy

February 18, 2021

Configuring Proxy Settings on Windows Using Group Policy...

February 17, 2021

1 comment

Robert Saga July 24, 2018 - 6:58 am

For example this error code:
Error Code: 0x80070422

Copy and paste the following command from Run
slui.exe 0x2a 0x80070070020

..and I get the description of that error, as shown in this screenshot:
https://web.archive.org/web/20180724065556/https://i.imgur.com/lE08VIw.png

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2008 R2
  • PowerShell
  • VMWare
  • MS Office

Recent Posts

  • How to Troubleshoot, Repair and Rebuild the WMI Repository?

    March 2, 2021
  • Accessing USB Flash Drive from VMWare ESXi

    February 26, 2021
  • How to Sign a PowerShell Script (PS1) with a Code Signing Certificate?

    February 25, 2021
  • Change the Default Port Number (TCP/1433) for a MS SQL Server Instance

    February 24, 2021
  • How to Shadow (Remote Control) a User’s RDP session on RDS Windows Server 2016/2019?

    February 22, 2021
  • Configuring PowerShell Script Execution Policy

    February 18, 2021
  • Configuring Proxy Settings on Windows Using Group Policy Preferences

    February 17, 2021
  • Updating Group Policy Settings on Windows Domain Computers

    February 16, 2021
  • Managing Administrative Shares (Admin$, IPC$, C$, D$) in Windows 10

    February 11, 2021
  • Packet Monitor (PktMon) – Built-in Packet Sniffer in Windows 10

    February 10, 2021

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • How to Run Program without Admin Privileges and to Bypass UAC Prompt?
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to Create a Wi-Fi Hotspot on your Windows 10 PC
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • How to increase KMS current count (count is insufficient)
  • How to Configure Google Chrome Using Group Policy ADMX Templates?
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top