A CAB file is a compressed archive that Windows uses to bundle files together, most often for system updates and driver installations
CAB stands for cabinet, and it is Windows' native compression format. Unlike ZIP files, which you can open on any operating system, CAB files are designed specifically for Windows and are rarely used outside it. You will most often encounter them when installing printer drivers, graphics card updates, or Windows system patches — the file arrives as a single .cab package instead of a folder full of loose files.
CAB files compress the contents inside them, so they take up less disk space and download faster than the uncompressed originals would. Once you have the CAB file, you can extract (unpack) it to see and use the files inside. Windows has a built-in tool to do this, so you do not need to install separate software.
Key Takeaways
- CAB files are Windows' native compression format, most commonly used for driver installations and system updates.
- You can extract a CAB file using Windows' built-in tools without installing third-party software.
- Right-clicking a CAB file and selecting "Extract All" is the fastest way to open one on Windows 10 or later.
- CAB files are rarely used outside Windows, so you will not encounter them on Mac or Linux systems.
How to extract a CAB file on Windows
The simplest method is to right-click the CAB file, select Extract All, and choose where you want the files to go. Windows will unpack everything inside and create a folder with the contents. This works on Windows 10 and Windows 11 without any extra software.
If you are using an older version of Windows or the Extract All option does not appear, you can use the command line instead. Open Command Prompt, navigate to the folder containing the CAB file, and type expand filename.cab -F:* destination_folder, replacing the filenames with your actual file and folder names. This unpacks the CAB file to the location you specify.
Once extracted, the files inside are no longer compressed and are ready to use. If the CAB file contained a driver, you would typically run the installer or point your device manager to the extracted folder. If it contained system files, Windows may handle the installation automatically.
When and why you will encounter CAB files
Microsoft uses CAB files to distribute Windows updates, especially smaller patches and optional updates. Hardware manufacturers package drivers for printers, network adapters, and graphics cards in CAB format. Some older software installers also used CAB files as part of their setup process, though this is less common now.
The format persists because it is lightweight, built into Windows, and does not require users to install a separate program to open it. For large-scale system deployments in businesses, CAB files are also easier to manage and verify than loose files scattered across a network.
CAB files versus ZIP files
Both CAB and ZIP files compress data, but they work differently. ZIP is a universal format that works on Windows, Mac, and Linux — any modern operating system can open a ZIP file without extra software. CAB is Windows-only and was designed before ZIP became the standard, so it is now mainly used for backward compatibility and system-level tasks.
ZIP files are generally easier to share across different computers and platforms. CAB files are more efficient for Windows-specific purposes like driver distribution, where the operating system already knows how to handle them. If you have a choice between downloading a driver as a CAB or a ZIP, either will work, but CAB is slightly smaller.
What happens if you cannot extract a CAB file
If right-clicking and selecting Extract All does not work, the file may be corrupted or incomplete. Try downloading it again from the source. If the problem persists, check that the file extension actually says .cab — sometimes files are mislabeled or have been renamed.
On very old Windows versions (before Windows 7), you may need to use the expand command in Command Prompt instead of the graphical Extract All option. If you are on a Mac or Linux machine, you will need third-party software like 7-Zip or The Unarchiver, since those operating systems do not have built-in CAB support.
Frequently Asked Questions
Can I open a CAB file on a Mac?
Not with built-in tools. Macs do not have native CAB support. You can use third-party software like The Unarchiver or Keka to open CAB files on macOS, but it is not common because CAB files are rarely distributed outside Windows.
Is it safe to extract a CAB file from the internet?
CAB files from official sources like Microsoft or hardware manufacturers are safe. Scan any CAB file from an unknown source with antivirus software before extracting it, just as you would with any downloaded file. The format itself is not a security risk — the risk is the same as with any compressed file.
Why does my driver come in a CAB file instead of an EXE?
Manufacturers use CAB files to reduce download size and to let Windows handle the installation directly without running a separate installer program. You extract the CAB, and Windows or your device manager can then install the driver from the extracted files.
Can I edit files inside a CAB file without extracting it?
No. You must extract the CAB file first to access and modify the files inside. Once you have made changes, you would need to create a new CAB file to repackage them, which requires command-line tools — there is no built-in graphical way to do this on Windows.