Skip to content

How to Install CAB Files in Windows 11

Richard
Written by
Richard
Feb 15, 2026 Updated Jun 19, 2026 3 min read
How to Install CAB Files in Windows 11

You install CAB files on your Windows 11 PC using the built-in Command Prompt.

A CAB (Cabinet) file is a compressed archive file, like a ZIP file, that Windows uses to deliver software updates and system files. These files contain one or more compressed files, making them quicker to install.

For instance, you might need to install a specific driver update from a CAB file. This often happens when you download it manually from a manufacturer’s website because automatic updates didn’t work. Typically, you’ll need to go to where the file is saved and run a command.

You’ll use the `expand` command in Command Prompt. This command extracts and installs the CAB file’s contents directly into your system directories. This approach lets you manage these particular update packages well.

⚡ Quick Answer

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 file, short for Cabinet file, is like a special zipped folder that holds one or more files, often used by Windows and device makers to package updates or drivers for your computer.

There are a few ways to install CAB files. Here are the best methods:

How to Install a CAB File in 🪟 Windows 11

1Using Command Prompt

You can install a CAB file in Windows 11 using Command Prompt by typing a simple command, but you must open Command Prompt with administrator rights first to allow the installation.

⚠️ Admin Privileges Required — Open Command Prompt Open Command Prompt as Administrator (this means running it with special permissions).

Type the command below, but replace FULL_PATH_TO_CAB_FILE with the full location of your CAB file. For example, if your CAB file is in Downloads, it might look like this: C:\Users\UserName\Downloads\file.cab.

dism /Online /Add-Package /PackagePath:"FULL_PATH_TO_CAB_FILE"

Example:

dism /Online /Add-Package /PackagePath:"C:\Users\UserName\Downloads\Windows10.0-KB5018851-x64.cab"

After running the command, you should see a message that says the installation was successful.

2Using Windows PowerShell

Installing CAB files in Windows 11 can also be done using Windows PowerShell, a powerful command-line tool that requires administrator privileges to run, just like Command Prompt.

⚠️ Admin Privileges Required — Open PowerShell Open PowerShell as Administrator.

Type this command, again replacing FULL_PATH_TO_CAB_FILE with your file’s path:

Add-WindowsPackage -Online -PackagePath "FULL_PATH_TO_CAB_FILE"

Example:

Add-WindowsPackage -Online -PackagePath "C:\Users\UserName\Downloads\Windows10.0-KB5018851-x64.cab"

Once done, you’ll get a success message.

3Extract and Install CAB Files Using File Explorer

If your CAB file contains Windows drivers, you can use File Explorer to extract only the specific driver files you need, instead of installing the entire package.

  1. Open Open File Explorer (the folder icon on your taskbar).
  2. Find your CAB file and double-click it to open.
  3. Select all the files inside, right-click, and choose Extract All.
  4. Pick a folder where you want to save the extracted files, then click Extract.
windows 11 extract cab file in file explorer

Extracting CAB files in Windows 11 using File Explorer

Choose folder to extract CAB file
windows 11 choose folder to extract cab file to

Choosing a folder to extract the CAB file

After extracting, you can install drivers using Device Manager. For a simple guide on installing drivers, check out this post: How to install device drivers in Windows 11.

Summary

CAB files are compressed packages for Windows updates or drivers, and you can install them in Windows 11 using Command Prompt or PowerShell with simple commands, or extract specific drivers using File Explorer.
  • 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.

If you have questions or want to share your experience, feel free to leave a comment below!

What software is used to install CAB files?

You can also use the DISM (Deployment Image Servicing and Management) tool. DISM is a built-in Windows command-line tool for installing updates and features, like language packs or optional Windows features, that come as CAB files.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

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!

Leave a Comment

Your email address will not be published. Required fields are marked *

Exit mobile version