Installing a CAB file in Windows 11 takes a few minutes with built-in tools. A CAB (cabinet) file is a compressed archive that usually contains a system update or a hardware driver. The right method depends on which of the two you have.
This guide shows three ways to install a .cab file: Command Prompt, PowerShell and File Explorer. The first two apply update packages. The third extracts a driver so you can install it separately.
⚡ Quick Answer
To install a CAB file in Windows 11, open Command Prompt as administrator and run dism /Online /Add-Package /PackagePath:”FULL_PATH_TO_CAB_FILE”, replacing the placeholder with the file’s full path. For update packages, this applies the update directly. For a driver, extract the CAB in File Explorer and install it separately. Restart if Windows asks.
Advertisement
What Is a CAB File?
A CAB file holds one or more system files in a single compressed archive. Microsoft and device manufacturers use it for update packages and drivers because it keeps downloads small and keeps related files together. You usually meet one when you download an update by hand, for example from the Microsoft Update Catalog, or when a manufacturer ships a driver as a single package.
Check two things before you install anything:
The package must match your system. A package built for a different Windows version or processor type (x64 or ARM64) fails to install. File names often include the processor type, as in the x64 example later in this guide.
You need an administrator account. Both command-line methods fail with an access error without elevated rights (permission to change system files).
How to Install a CAB File in Windows 11
You have three options. Use Command Prompt or PowerShell for update packages. Use File Explorer when you need only a driver from inside the file.
Advertisement
📝Good to KnowWhichever you choose, restart the PC afterward if Windows asks. Some updates only finish installing after a reboot.
1Using Command Prompt
This method applies system updates and patches with a built-in deployment tool. It is the fastest option and needs no extra software. This method requires administrator privileges.
The steps below install a CAB file in Windows 11 from an elevated Command Prompt.
Open Command Prompt as administrator. Follow this guide: Open Command Prompt as Administrator (running it with elevated permissions). If a User Account Control prompt (the window that asks permission to make changes) appears, select Yes. The window title now starts with “Administrator”.
Copy the full path of your CAB file. In File Explorer, select the file and press Ctrl+Shift+C to copy its path.
Type the command below in the Command Prompt window. Replace FULL_PATH_TO_CAB_FILE with the full location of your CAB file. For a file in Downloads, it might look like this: C:\Users\YourName\Downloads\file.cab. If the path contains spaces, put it in quotation marks.
Press Enter to start the installation. Large updates can take several minutes, and a progress indicator may appear.
Read the message when the operation ends. A confirmation message means the package installed. Restart the PC if the message says a restart is required.
Advertisement
That’s it. The update package from your CAB file is now installed, and it takes full effect after a restart if Windows asks for one.
If the window shows an error instead, the usual causes are a typo in the path, a window that is not running as administrator, or a package that does not match your version of Windows.
💡TipTo undo an installed update, go to Settings > Windows Update > Update history > Uninstall updates. Not every package appears in that list.
2Using Windows PowerShell
PowerShell installs the package with a package management command. The result is the same as the Command Prompt method, and it suits you if you prefer PowerShell for applying updates and drivers. This method requires administrator privileges.
Advertisement
The steps below install a CAB file in Windows 11 from an elevated PowerShell window.
Open PowerShell as administrator. Follow this guide: Open PowerShell as Administrator. Select Yes on the User Account Control prompt. The window title shows “Administrator”.
Type the command below in the PowerShell window. Replace FULL_PATH_TO_CAB_FILE with the path to your file.
Press Enter and let the command run. PowerShell may show a progress bar while it works.
Check the console when it finishes. It displays a success notification. Restart the PC if prompted.
That’s it. The package is now installed, with the same result as the Command Prompt method.
An access denied error almost always means the window is not elevated. Close it and reopen PowerShell as administrator.
Advertisement
3Extract and Install CAB Files Using File Explorer
This method extracts the contents of a CAB file by hand. Use it when you need one specific hardware driver rather than the whole update package. It involves no commands, but you install the driver separately afterward.
The steps below open a .cab file and extract its contents so you can install the driver.
Open File Explorer. Follow this guide: Open File Explorer (the folder icon on your taskbar). File Explorer
Double-click your CAB file. The files inside appear in a normal folder view. windows 11 extract cab file in file explorer
Press Ctrl+A to select all the files in the CAB file.
Right-click the selection and choose Extract All. If that option is missing, copy the files and paste them into a new empty folder.
Pick a folder for the extracted files, then select Extract. windows 11 choose folder to extract cab file to The extracted files then appear in the folder you chose.
That’s it. The CAB contents are now in a regular folder, but nothing is installed yet.
To undo a driver install that causes problems, open the device’s Properties in Device Manager, go to the Driver tab, and select Roll Back Driver. The button is greyed out when no earlier driver is stored.
If a command reports an error, check the path, confirm the window title starts with “Administrator”, and confirm the package matches your Windows version and processor type. A mistyped path is the most common cause.
To remove an update you no longer want, use Settings›Windows Update›Update history›Uninstall updates. To remove a driver, use Roll Back Driver in Device Manager.
Frequently asked questions
How to install cabinet file win11?
To install a cabinet file on Windows 11, open Command Prompt as administrator and run DISM /Online /Add-Package /PackagePath:📁C:\path\to\file.cab for update packages. For a driver, extract the file in File Explorer instead: double-click it, press Ctrl+A, right-click and choose Extract All. Make sure the package matches your Windows version and processor type, then restart if Windows asks.
How to install .cab driver?
To install a .cab driver, extract the file first. Double-click the CAB file in File Explorer, press Ctrl+A, right-click and choose Extract All, then pick a folder and select Extract. Then install the driver through Device Manager, following the guide on How to install device drivers in Windows 11.
How to install driver cab file?
Extract the driver from the CAB file in File Explorer: double-click it, press Ctrl+A, right-click and choose Extract All. Then install the extracted driver through Device Manager.
How to install cab?
Double-clicking a CAB file usually does not install it. For an update package, open Command Prompt as administrator and run DISM /Online /Add-Package /PackagePath:C:\path\to\file.cab. Driver packages need extracting first instead. Wait for the process to finish, then restart the PC if Windows asks.
How to run cab file Windows 11?
A CAB file does not run like an app. For an update package, open Command Prompt as administrator and run DISM /Online /Add-Package /PackagePath:C:\path\to\file.cab to install it. To view or extract its contents without installing, use File Explorer.
How to install a cabinet file?
Use Command Prompt or PowerShell as administrator for update packages. Run DISM /Online /Add-Package /PackagePath:C:\path\to\file.cab, then restart if prompted. For driver files, extract them in File Explorer (press Ctrl+A, right-click, choose Extract All) and install through Device Manager.
Still have a question?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
📬 Get new Windows tips in your inbox
One email when we publish something worth your time. We send a link to confirm. No spam, unsubscribe anytime. How we use your email
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work.
His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins.
Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!