What a CAB file is and when you'll need to install one

A CAB file (cabinet file) is a compressed folder that holds software, drivers, or system updates. Windows uses the .cab extension. Unlike a regular ZIP file, CAB files are designed specifically for Windows installation and often contain files that Windows needs to recognize and unpack automatically.

You'll encounter CAB files most often when installing printer drivers, graphics card drivers, or Windows system updates that your computer manufacturer or a hardware maker has packaged this way. Sometimes Windows Update itself delivers updates as CAB files behind the scenes. The file itself won't run like an .exe program — it needs to be unpacked first, and then the files inside are installed.

The method you use depends on what's inside the CAB file and what the manufacturer's instructions tell you to do. Some CAB files unpack and install with a single click. Others require you to extract them first and then run a separate installer from inside.

Key Takeaways

  • Most CAB files can be opened by right-clicking and selecting "Extract All" — Windows treats them like folders.
  • After extraction, look inside the folder for a setup.exe, install.exe, or a file matching the hardware name, and run that to complete installation.
  • Some CAB files are meant to be installed directly into Windows system folders using the command line, which the manufacturer's instructions will specify.
  • Always check the manufacturer's documentation first, because the correct installation method depends on what the CAB file contains.
  • If extraction fails or the CAB file is corrupted, download it again from the official source rather than trying workarounds.

Extracting a CAB file using Windows File Explorer

The simplest method works for most CAB files. Locate the .cab file on your computer, right-click it, and select "Extract All" from the menu. Windows will ask you where you want the files to go — the default location (a new folder in the same place as the CAB file) is usually fine.

Click "Extract" and wait for Windows to unpack the contents. The time this takes depends on the file size, but most CAB files are small and finish in seconds. Once extraction is complete, a new folder will appear containing all the files that were inside the CAB.

Open that folder and look for a file named setup.exe, install.exe, or something matching the hardware or software name (for example, "CanonPrinterSetup.exe" or "NvidiaDriverInstall.exe"). Double-click that file to run the actual installer. Follow the on-screen prompts to complete the installation.

Installing a CAB file directly into Windows (command line method)

Some CAB files — particularly Windows system updates or driver packages from manufacturers — are meant to be installed directly without extraction. The manufacturer's instructions will tell you if this is the case. This method uses the Windows command line, which may look unfamiliar but is straightforward to follow.

Open the Start menu, type "Command Prompt" or "PowerShell", right-click it, and select "Run as administrator". A black window will open. Navigate to the folder containing your CAB file by typing: cd C:\Users\YourUsername\Downloads (replace "YourUsername" with your actual Windows username, or adjust the path to wherever your CAB file is located). Press Enter.

Then type: expand filename.cab -F:* C:\Windows\System32 (replace "filename.cab" with the actual name of your CAB file). This command unpacks the CAB file directly into the Windows system folder where it belongs. Press Enter and wait for the command to finish. You may see a message confirming the files were extracted. Close the command prompt window when done.

Not all CAB files use this method — only do this if the manufacturer's instructions specifically tell you to, because putting files in the wrong place can cause problems.

Checking the manufacturer's instructions first

Before you install anything, open the documentation that came with the CAB file. This might be a README.txt file in the same folder, a PDF on the manufacturer's website, or instructions in an email. The documentation will tell you exactly which method to use and whether there are any special steps.

For example, some printer manufacturers include a CAB file but also include a separate installer program that you should run first — the CAB file is just a backup or an optional component. Graphics card manufacturers sometimes provide CAB files specifically for Windows Update to use, not for manual installation. Following the manufacturer's path saves time and prevents installation errors.

If you cannot find instructions, the safest approach is the extraction method: right-click, extract, then run the setup.exe or install.exe file you find inside. This works for the vast majority of CAB files you'll encounter.

What to do if the CAB file won't extract or is corrupted

If you right-click the CAB file and "Extract All" is not an option, or if extraction starts but fails partway through, the file may be corrupted or incomplete. The first step is to download the file again from the official source — the manufacturer's website or Windows Update — rather than from a third-party site.

Verify that the file size matches what the manufacturer lists. A CAB file that is much smaller than expected may not have downloaded completely. Delete the old file and download it again, making sure the download finishes before you try to extract.

If extraction still fails after a fresh download, try using a third-party archive tool like 7-Zip (free software) to open the CAB file instead. Right-click the CAB file, select "7-Zip", then "Extract Here". If 7-Zip can extract it but Windows cannot, the file may have a minor corruption that 7-Zip can work around. After extraction, proceed with running the installer as normal.

Removing or uninstalling after installation

Once you have extracted a CAB file and run the installer inside, you can delete both the original CAB file and the extracted folder. They are no longer needed — the software or drivers are now installed on your system.

To remove the software later, go to Settings > Apps > Apps & Features (on Windows 10 and 11), find the program in the list, and click "Uninstall". For drivers, the process is more complex and depends on the hardware type — check the manufacturer's website for driver removal instructions specific to your device.

If you need to reinstall later, download the CAB file again from the manufacturer rather than keeping a copy, since CAB files can degrade over time if stored for years.

Frequently Asked Questions

Can I just double-click a CAB file to install it?

Not always. Double-clicking a CAB file opens it like a folder in Windows File Explorer, letting you see what is inside. To actually install the software, you need to extract it first and then run the setup or install file. Some CAB files are designed to be installed via command line instead.

Is it safe to extract a CAB file from the internet?

CAB files from official sources — manufacturer websites, Windows Update, or trusted vendors — are safe. Only download CAB files from the official website of the hardware or software maker. If you find a CAB file on an unknown site, do not use it.

What if the extracted folder has multiple .exe files?

Look for one named setup.exe or install.exe first. If neither exists, check the manufacturer's instructions or the README file inside the folder. If there is a file matching the hardware name (like "CanonSetup.exe"), try that. Run only one installer at a time and wait for it to finish before running another.

Do I need to restart my computer after installing from a CAB file?

Usually yes, especially for driver installations. The installer will tell you if a restart is needed. Even if it does not prompt you, restarting after a driver installation ensures the new driver loads correctly.

Can I move a CAB file to a different folder before extracting it?

Yes. You can move or copy a CAB file anywhere on your computer before extracting it. The extraction location is separate from where the CAB file itself is stored. After extraction, you can delete the original CAB file if you no longer need it.