Follow
Windows

How to Install CAB Files in Windows 11

Richard
Written by
Richard
Feb 15, 2026 Updated Mar 31, 2026 3 min read
How to Install CAB Files in Windows 11
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?

Think of a CAB (Cabinet) file as a zipped folder holding one or more files. These files are compressed to save space. Windows and device makers use them to send updates or drivers for your computer. It’s like a package with items all squished together.

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

Command Prompt is a tool where you type commands to tell your computer what to do.

⚠️ 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

PowerShell is similar to Command Prompt, but a bit more powerful.

⚠️ 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

Sometimes, CAB files contain device drivers (special software that helps your computer parts work). If you want to install just one driver from the CAB file, you can first extract (unzip) the files and then install the driver you want.

  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
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 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.

📚 Related Tutorials

How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Open Command Prompt at Boot in Windows 11
Windows How to Open Command Prompt at Boot in Windows 11
How to Change File Explorer Layout in Windows 11
Windows How to Change File Explorer Layout in Windows 11
How to Add or Remove Favorites in Windows 11 File Explorer
Windows How to Add or Remove Favorites in Windows 11 File Explorer

No comments yet — be the first to share your thoughts!

Leave a Comment

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