How to Install CAB Files in Windows 11: Step-by-Step Guide
Encountering a CAB file on Windows 11 usually means dealing with a system update or hardware driver package. The installation process takes a few moments using built-in command-line tools.
You install CAB files in Windows 11 using Command Prompt or PowerShell with administrator privileges. Open your chosen tool, then type `dism /Online /Add-Package /PackagePath:”FULL_PATH_TO_CAB_FILE”` for Command Prompt, or `Add-WindowsPackage -Online -PackagePath “FULL_PATH_TO_CAB_FILE”` for PowerShell.
What Is a CAB File?
A CAB (cabinet) file functions essentially as a compressed archive holding one or more system files. Windows and device manufacturers package system updates and drivers this way to reduce file sizes.
Think of it as a package with several components combined together to save storage space.
How to Install a CAB File in 🪟 Windows 11
Several methods exist for installing these packages.
1Using Command Prompt
Command Prompt provides a text-based interface for executing administrative tasks.
- Open Command Prompt as Administrator (this means running it with special permissions).
- Type the command below, but replace
FULL_PATH_TO_CAB_FILEwith the full location of your CAB file. For example, if your CAB file is in Downloads, it might look like this:C:UsersYourNameDownloadsfile.cab.
dism /Online /Add-Package /PackagePath:"FULL_PATH_TO_CAB_FILE"
Example:
dism /Online /Add-Package /PackagePath:"C:UsersRichardDownloadsWindows10.0-KB5018851-x64.cab"
Execution completion triggers a confirmation message in the console window.
2Using Windows PowerShell
PowerShell offers similar functionality with advanced scripting capabilities.
- Type this command, again replacing
FULL_PATH_TO_CAB_FILEwith your file’s path:
Add-WindowsPackage -Online -PackagePath "FULL_PATH_TO_CAB_FILE"
Example:
Add-WindowsPackage -Online -PackagePath "C:UsersRichardDownloadsWindows10.0-KB5018851-x64.cab"
The console displays a success notification upon completion.
3Extract and Install CAB Files Using File Explorer
Some archives contain hardware drivers (software enabling communication between Windows and hardware components). Extracting the archive contents allows administrators to install specific drivers manually.
- Open File Explorer (the folder icon on your taskbar).
- Find your CAB file and double-click it to open.
- Select all the files inside, right-click, and choose Extract All.
- Pick a folder where you want to save the extracted files, then click Extract.


Extracted files install through Device Manager. Review the guide on How to install device drivers in Windows 11 for detailed instructions.
Summary
- CAB files are compressed packages with updates or drivers for Windows.
- You can install them using Command Prompt or PowerShell, by typing simple commands.
- If you only want certain drivers, you can extract CAB files using File Explorer and install just what you need.
- Helpful links and pictures make the process easier to follow.
Helpful Links & Resources
- Microsoft official info about CAB files
- How to open apps as administrator in Windows 11
- How to open Command Prompt in Windows 11
- How to open PowerShell in Windows 11
Questions or feedback belong in the comment section below.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!