- On Windows 11, open Command Prompt and run the DISM Add-Package command to install a CAB file.
- You can also install a CAB file using the Add-WindowsPackage PowerShell command.
On Windows 11, you can install a .cab file using Command Prompt with the Deployment Image Servicing and Management (DISM) command-line tool and PowerShell commands. A CAB extension file refers to the cabinet archiving file format that can be used to store compressed files in a file library.
Typically, developers use cabinet files as part of the process of packaging app files. For example, Microsoft sometimes uses the format to distribute standalone updates for Windows 11 and other packages.
If you have a Windows 11 update in a CAB format, you can use Command Prompt or PowerShell to install packages on a computer quickly.
This guide will teach you the steps to install a cabinet file on Windows 11.
- Install CAB file with Command Prompt on Windows 11
- Install CAB file with PowerShell on Windows 11
- Extract CAB file with File Explorer on Windows 11
- Install CAB file for driver update on Windows 11
Install CAB file with Command Prompt on Windows 11
To install a “.cab” file with Command Prompt on Windows 11, use these steps:
- Open Start on Windows 11.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
- Type the following command to install the CAB file with Command Prompt and press Enter:
- dism /Online /Add-Package /PackagePath:“PATH\TO\CAB”
- This example installs the update KB5012592 on Windows 11:
- dism /Online /Add-Package /PackagePath:“C:\Users\username\Downloads\Windows10.0-KB5012592-x64.cab”
Once you complete the steps, the package contents will install on Windows 11. If this is an update, you may have to restart the device to complete the installation.
Open Start on Windows 11.
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to install the CAB file with Command Prompt and press Enter:
dism /Online /Add-Package /PackagePath:“PATH\TO\CAB”
This example installs the update KB5012592 on Windows 11:
dism /Online /Add-Package /PackagePath:“C:\Users\username\Downloads\Windows10.0-KB5012592-x64.cab”
Install CAB file with PowerShell on Windows 11
To install a “.cab” file with PowerShell commands, use these steps:
- Open Start on Windows 11.
- Search for PowerShell, right-click the top result, and select the Run as administrator option.
- Type the following command to install the CAB file on Windows 11 and press Enter:
- Add-WindowsPackage -Online -PackagePath “PATH\TO\CAB”
- This example installs the update KB5012592 on Windows 11:
- Add-WindowsPackage -Online -PackagePath “C:\Users\username\Downloads\windows10.0-KB5012592.cab”
After you complete the steps, the CAB file will install the contents on your computer.
Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to install the CAB file on Windows 11 and press Enter:
Add-WindowsPackage -Online -PackagePath “PATH\TO\CAB”
Add-WindowsPackage -Online -PackagePath “C:\Users\username\Downloads\windows10.0-KB5012592.cab”
Extract CAB file with File Explorer on Windows 11
Some developers may use this container to compress a folder to distribute specific content.
To extract a “.cab: file on Windows 11, use these steps:
- Open File Explorer.
- Open the folder with the cabinet file.
- Double-click the “.cab” file.
- Select all the contents (Ctrl + A keyboard shortcut).
- Right-click the selection and select the Extract option (Click the OK button in the warning).
- Select the folder destination to extract the files.
- Click the Extract button.
After you complete the steps, you can use the files to apply an update, configure a driver, or install an application, depending on the contents of the cabinet file.
Open File Explorer.
Open the folder with the cabinet file.
Double-click the “.cab” file.
Select all the contents (Ctrl + A keyboard shortcut).
Right-click the selection and select the Extract option (Click the OK button in the warning).
Select the folder destination to extract the files.
Click the Extract button.
Install CAB file for driver update on Windows 11
If the driver package fails to install using Command Prompt or PowerShell, you might be able to extract the contents of the CAB file to install the driver manually.
To update a driver using a .cab file on Windows 11, use these steps:
- Open File Explorer.
- Open the folder with the cabinet file.
- Double-click the “.cab” file.
- Right-click the selection and select the Extract option (Click the OK button in the warning).
- Right-click the selection and select the Extract option (Click the Yes button in the warning).
- Select the folder destination to extract the files.
- Click the Extract button.
- Open Start.
- Search for Device Manager and select the top result.
- Right-click the device and select the Update driver option.
- Click the “Browse my computer for drivers” option.
- Click the Browse button.
- Select the folder with extracted files from the CAB file.
- Click the OK button.
- Click the Next button.
- Click the Close button.
After you complete the steps, the driver files in the .cab container will install on Windows 11 to set up the component.
Right-click the selection and select the Extract option (Click the Yes button in the warning).
Open Start.
Search for Device Manager and select the top result.
Right-click the device and select the Update driver option.
Click the “Browse my computer for drivers” option.
Click the Browse button.
Select the folder with extracted files from the CAB file.
Click the OK button.
Click the Next button.
Click the Close button.