How to Install a CAB File in Windows 10
A cabinet is a single file, usually with a .cab extension, that stores compressed files in a file library. Some Windows 10 updates are redistributed in the .cab archive format.
You can use the DISM /Add-Package command with Windows cabinet (.cab) files to install or remove updates, service packs, language packs, and to enable or disable Windows features.
This tutorial will show you how to install a .cab file in Windows 10 and Windows 11.
You must be signed in as an administrator to install a .cab file.
The options in this tutorial will not work to install Realtek HD audio drivers from a .cab file. For that, see: Install Realtek CAB file in Windows 10
Contents
- Option One: To Install CAB file using Context Menu
- Option Two: To Install CAB file in Command Prompt
- Option Three: To Install CAB file in PowerShell
For more details about the DISM /Online /Add-Package command usage, see:
DISM Operating System Package (.cab or .msu) Servicing Command-Line Options
How to use DISM to install a hotfix from within Windows | Ask the Core Team
1 Open an elevated command prompt.
2 Type the command below into the elevated command prompt, and press Enter. (see screenshot below)
DISM /Online /Add-Package /PackagePath:"Full path of .cab file"
Substitute Full path of .cab file with the actual full path of the .cab file's location.
For example:DISM /Online /Add-Package /PackagePath:"C:\Users\Brink\Desktop\windows10.0-kb3197356-x64_d6fad26f376b0d75ead84ab704fb760cf8b5e34e.cab"
3 If prompted to restart the computer, type Y when ready to do so.
For more details about the Add-WindowsPackage command usage, see: Add-WindowsPackage | Microsoft Docs
1 Open an elevated PowerShell.
2 Type the command below into the elevated PowerShell, and press Enter. (see screenshot below)
Add-WindowsPackage -Online -PackagePath "Full path of .cab file"
Substitute Full path of .cab file with the actual full path of the .cab file's location.
For example:Add-WindowsPackage -Online -PackagePath "C:\Users\Brink\Desktop\Windows10.0-KB4586853-x64.cab"
3 If prompted to restart the computer, type Y when ready to do so.
That's it,
Shawn Brink