What Is a CAB File? Cabinet Archives Explained
If you've spent any time digging through Windows system folders or unpacking software installers, you've almost certainly run into a file ending in .cab. These files tend to appear quietly in the background — part of an installation, a Windows update, or a driver package — without much explanation. Here's what they actually are and how they work.
The CAB File Format: A Compressed Archive Built for Windows
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 distributing and installing software on Windows systems. The format packages multiple files into a single container, compresses them to reduce size, and preserves the data needed to extract everything correctly during installation.
The .cab extension has been part of the Windows ecosystem since the mid-1990s. Microsoft built Cabinet as a way to ship operating system components, drivers, and application files efficiently — both on physical media (like CDs and DVDs) and over networks.
What's Inside a CAB File
A Cabinet archive can contain:
- Executable files (
.exe,.dll) - Driver files (
.sys,.inf) - Configuration and data files
- Other CAB files (nested archives, used in complex installers)
Each file inside the archive is individually compressed using one of several supported algorithms — historically LZX, Quantum, or MS-ZIP (a variant of DEFLATE). LZX tends to produce smaller archives and is most commonly used in modern Cabinet files.
Unlike some archive formats, CAB files support spanning — meaning a single logical archive can be split across multiple .cab files. This was especially useful when distributing software across multiple floppy disks or CDs, and it's still used today when installer packages need to be split into smaller chunks.
Where You'll Encounter CAB Files 📁
CAB files show up in several common contexts:
| Context | What the CAB Contains |
|---|---|
| Windows Updates | System component patches and replacement files |
| Driver Packages | Hardware drivers and associated INF files |
| Software Installers | Application files bundled inside setup executables |
| Windows Installation Media | Core OS files during setup |
| Standalone Hotfixes | Targeted patches distributed outside Windows Update |
When you run a Windows installer or apply a system update, there's often a CAB file being unpacked in the background — you just don't see it directly. Many .exe installer files are actually self-extracting archives with a CAB payload embedded inside them.
How CAB Files Differ From ZIP and Other Archives
CAB and ZIP are both compressed archive formats, but they serve different purposes in practice:
ZIP is a general-purpose format designed for portability across platforms. It's widely supported on Windows, macOS, Linux, and virtually every operating system. ZIP files are used for everything from sharing documents to distributing open-source software.
CAB is Windows-native and optimized for software deployment and system maintenance. It integrates directly with the Windows installer infrastructure (MSI packages, Setup API, DISM) in ways that ZIP does not. This tight integration is why Microsoft uses Cabinet files for OS components rather than a more universal format.
A practical difference: Windows can open ZIP files natively through File Explorer without any extra software. CAB files are also natively supported on Windows — right-click a .cab file and you can browse its contents like a folder — but they're less commonly encountered by everyday users outside of technical contexts.
Opening and Extracting CAB Files
Windows handles CAB files natively. You can:
- Double-click a
.cabfile to browse its contents in File Explorer - Drag and drop files out to extract them manually
- Use the built-in
expandcommand-line tool for scripted or automated extraction - Use DISM (Deployment Image Servicing and Management) for applying CAB-based Windows updates
Third-party archive tools like 7-Zip also support CAB extraction fully and are a common choice when working with CAB files outside of an installation context.
On macOS or Linux, native support for CAB files is limited or absent, though tools like cabextract (available on Linux) and 7-Zip handle them across platforms.
The Variables That Shape Your Experience With CAB Files
Whether you're troubleshooting an installer error, manually applying a driver, or trying to extract a specific file from a Windows update package, a few factors will determine what approach makes sense:
- Your technical comfort level — Browsing and extracting CAB files via File Explorer is straightforward, but using command-line tools like
expandor DISM requires some familiarity with Windows administration - What you're trying to accomplish — Extracting a single driver file is different from applying a full system update; each involves different tools and processes
- Your Windows version — Behavior of DISM commands and the structure of CAB-based updates has evolved across Windows 7, 8, 10, and 11
- Whether the CAB is standalone or embedded — Some CAB files are delivered as plain
.cabfiles; others are packed inside.exeor.msiinstallers, which changes how you access them
🔧 A CAB file that's part of a Windows Update package behaves very differently from one you've downloaded as a standalone driver — even though both use the same file format.
When CAB Files Appear in Error Messages
One area where CAB files surface unexpectedly is in Windows error reporting and system recovery. Corrupted or missing CAB files can trigger installation failures, Windows Update errors, or driver conflicts. Tools like SFC (System File Checker) and DISM use Cabinet archives to restore damaged system files, pulling verified replacements from a local Windows image or the Windows Update servers.
If you've ever seen an error referencing a .cab file during a Windows Update or driver installation, the issue is usually either a corrupted download, a version mismatch between the CAB and the target system, or a permissions problem preventing extraction.
Understanding what a CAB file is gets you most of the way to diagnosing these errors — but the right fix depends entirely on which part of the process is failing and what your specific system configuration looks like.