What a CAB file is and why you might need one

A CAB file (short for cabinet file) is a compressed folder that holds Windows system files, drivers, or updates. You will not find CAB files in the Microsoft Store or on most software websites — they are usually distributed by Windows Update, your computer manufacturer, or technical support when you need a specific driver or system component.

Unlike most programs you read and install by double-clicking, a CAB file does not have an installer. Windows treats it as a compressed archive, similar to a ZIP file. To use what is inside, you extract it first, then install the contents — or in some cases, Windows handles the extraction automatically.

You might encounter a CAB file if you are installing a printer driver your manufacturer sent you, restoring a missing Windows component, or following a support technician's instructions to fix a specific problem.

Key Takeaways

  • CAB files are compressed archives that hold Windows drivers or system files, not standalone programs you can run directly.
  • The simplest method is to right-click the CAB file and select "Extract All" to unpack it, then install the driver or component inside.
  • For system file repairs, Windows can sometimes install a CAB file directly through Settings or Command Prompt without manual extraction.
  • If you are unsure what is inside a CAB file or where it came from, do not extract it — ask the person or organization that sent it what it contains.

Extract the CAB file using Windows File Explorer

The most straightforward way to open a CAB file is to treat it like any other compressed folder. Locate the CAB file on your computer, right-click it, and look for an option that says "Extract All" or straightforward "Extract". Click that option.

Windows will ask you where you want the extracted files to go. Choose a location you can find easily — your Desktop or Downloads folder works well. Click "Extract" and wait for Windows to unpack the contents. Once finished, you will see a new folder in that location containing the files that were inside the CAB.

Open that folder and look for a file with a name like "setup.exe", "install.exe", or a driver file ending in ".inf". If you see an executable file (ending in .exe), double-click it to run the installer. If you see an .inf file, right-click it and select "Install" — Windows will handle the rest.

Install a driver from an extracted CAB file

If the CAB file contains a driver (for a printer, graphics card, or other hardware), the extracted folder will usually hold an .inf file and several supporting files. Do not move or delete these supporting files — the installer needs them all in the same folder.

Right-click the .inf file and select "Install". A small window will appear showing the installation progress. Windows will copy the driver files to the correct system location and configure your hardware to use them. This usually takes less than a minute.

Once the installation finishes, you may see a message saying the driver is ready to use, or you may need to restart your computer. If you are installing a printer driver, your printer should now appear in Settings under "Devices and Printers".

Use Command Prompt to install a CAB file directly

For system updates or Windows component repairs, you can install a CAB file without extracting it first. This method uses Command Prompt, which is a text-based way to give Windows instructions.

Open the Start menu, type "Command Prompt", right-click the result, and select "Run as administrator". A black window will open. Type the following command, replacing the path and filename with the actual location of your CAB file:

dism /online /add-package /packagepath:"C:\Users\YourName\Downloads\filename.cab"

Press Enter and wait. The installation may take several minutes. When it finishes, you will see a message saying the operation completed successfully, or you may see an error message if something went wrong. If you see an error, write down the exact message and search for it online, or ask the person who sent you the CAB file for help.

Repair Windows system files using a CAB file

If a support technician has given you a CAB file to repair a missing or corrupted Windows file, the Command Prompt method above is usually the right approach. However, the exact command may differ depending on what you are repairing.

Ask the technician or support contact for the exact command to use. Do not guess — using the wrong command with a system file CAB can cause problems. Copy the command exactly as they provide it, paste it into Command Prompt running as administrator, and let it run to completion.

Some repairs require a restart afterward. If the command output says you need to restart, save any open work and restart your computer.

What to do if extraction fails or the CAB file will not open

If right-clicking and selecting "Extract All" does not work, the CAB file may be corrupted or incomplete. Try downloading it again from the source that provided it.

If you are certain the file is complete but extraction still fails, you can try a third-party archive tool like 7-Zip (which is free and open-source). read and install 7-Zip, then right-click the CAB file, select "7-Zip", and choose "Extract Here" or "Extract to [folder name]".

If neither method works and you need what is inside the CAB file, contact the person or organization that sent it to you. They may be able to send you the files in a different format, or they may have instructions for a different installation method.

Frequently Asked Questions

Is it safe to extract a CAB file I received from someone online?

Only extract a CAB file if you trust the source and know what it contains. If someone sent it to you unexpectedly or you are unsure what is inside, ask them directly what the file is for before opening it. Legitimate support contacts will be happy to explain.

Do I need to delete the CAB file after I extract it?

No, but you can if you want to save disk space. The extracted files are what your computer actually uses — the CAB file itself is just the delivery package. Keeping it does no harm.

What if I see multiple files inside the extracted folder and do not know which one to run?

Look for a file named "setup.exe", "install.exe", or "readme.txt". The readme file often explains what each file does and which one to run first. If you still cannot tell, ask the person who sent you the CAB file.

Can I install a CAB file on Windows 10 and Windows 11 the same way?

Yes, both extraction and Command Prompt methods work on Windows 10 and Windows 11. The steps are identical.

Why did Windows Update send me a CAB file instead of installing it automatically?

Usually Windows Update installs updates on its own, but sometimes it sends a CAB file when you need a specific fix or when automatic installation failed. Follow the instructions that came with the file, or contact support if you are unsure what to do with it.