How to Install a CAB File on Windows: A Complete Guide

CAB files are one of those things most users encounter without fully understanding what they are or how to handle them. If you've downloaded a .cab file and aren't sure what to do next, this guide walks you through exactly how installation works — and why the right method depends on your situation.

What Is a CAB File?

A CAB file (short for Cabinet file) is a compressed archive format developed by Microsoft. Think of it like a ZIP file, but designed specifically for Windows software distribution. CAB files can contain drivers, system updates, application components, or firmware — packaged together and compressed to reduce size.

You'll most commonly encounter CAB files when:

  • Installing Windows drivers manually
  • Applying a Windows Update offline
  • Deploying enterprise software or system components
  • Extracting files for repair or recovery purposes

Because CAB files serve different purposes, there isn't one single installation method. The right approach depends on what's inside the file and why you need it.

Method 1: Install a CAB File Using DISM (Command Prompt)

The Deployment Image Servicing and Management (DISM) tool is the most reliable method for installing CAB files that contain Windows updates or system components. This is a command-line approach that requires administrator privileges.

Steps:

  1. Press Windows + S and search for Command Prompt
  2. Right-click it and select Run as administrator
  3. Type the following command, replacing the path with your actual file location:
  1. Press Enter and wait for the process to complete
  2. Restart your computer when prompted

DISM applies the package directly to your running Windows installation. It's the standard method for installing cumulative updates, hotfixes, and language packs distributed as CAB files.

⚠️ If DISM returns an error, it often means the CAB file isn't compatible with your current Windows version or build number — compatibility is critical here.

Method 2: Double-Click to Open and Extract

For some CAB files — particularly those containing drivers or standalone software components — simply double-clicking the file in File Explorer will open it like a folder. You'll see the files inside, but this doesn't install anything automatically.

From here, you can:

  • Drag and drop the contents to a folder of your choice
  • Look for a Setup.exe or .inf file inside to begin installation manually

If there's an .inf file present, right-clicking it and selecting "Install" will register the component with Windows. This is common for hardware drivers.

Method 3: Install a Driver CAB File via Device Manager

If your CAB file contains a hardware driver, Device Manager gives you a graphical way to apply it:

  1. Extract the CAB file contents to a folder (use File Explorer or a tool like 7-Zip)
  2. Open Device Manager (Windows + X → Device Manager)
  3. Right-click the device that needs the driver
  4. Select "Update driver""Browse my computer for drivers"
  5. Point Windows to the folder containing the extracted CAB contents
  6. Let Windows identify and install the correct .inf file

This method is particularly useful when dealing with network adapters, display drivers, or chipset components that arrive as CAB files from manufacturer websites.

Method 4: Use Windows PowerShell

PowerShell offers an alternative to DISM for applying CAB packages, particularly useful in scripted or automated environments: