General Extract CAB File in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

CAB_banner.webp

This tutorial will show you how to extract all files from a CAB file into a folder of your choice in Windows 10 and Windows 11.

A cabinet is a single file, usually with a .cab extension, that stores compressed files in a file library. The cabinet format is an efficient way to package multiple files because compression is performed across file boundaries, which significantly improves the compression ratio.

Sometimes you will need to extract all files from a CAB file to install a driver (inf) from the CAB for example.



Contents





Option One

Extract CAB File in File Explorer


1 Open File Explorer (Win+E).

2 Navigate to and single/double click/tap on the CAB file to open it.

3 Select all (Ctrl+A) files in the opened CAB, right click on the selected files, and click/tap on Extract. (see screenshot below)

Extract_CAB_File_Explorer-1.webp

4 Navigate to and select the destination folder you want to extract (copy) all files from the CAB to, and click/tap on Extract. (see screenshot below)

Extract_CAB_File_Explorer-2.webp




Option Two

Extract CAB File using Expand command



1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Type the command below into Terminal, and press Enter. (see screenshot below)

expand "<full path of CAB file with extension>" -F:* "<full path of destination folder>"

Substitute <full path of CAB file with extension> in the command above with the actual full path of the CAB file you want to extract all file from.

Substitute <full path of destination folder> in the command above with the full path of the folder you want to extract all files to.

For example: expand "C:\Users\Brink\OneDrive\Desktop\Realtek.cab" -F:* "C:\Users\Brink\OneDrive\Desktop\Folder"


expand_CAB_command.webp



That's it,
Shawn Brink


 
Last edited:
In addition to Explorer and Expand, there is another tool in any Windows version: extrac32.exe, usually located in %SystemRoot%\System32
It works with command line, but unfortunately doesn't have a built-in help. You can see its parameters here:

Some archivers support CAB format and can unpack it, as well as Total Commander. But besides drivers and installers, CAB format is rarely used for common archiving. Packages can be created by separate utilities cabarc.exe and makecab.exe
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2AMD Rysen 5 4600H32 GB (2 x 16 GB Samsung SO-DIMM DDR4-3200)GeForce GTX 1650 Ti, 4 GB GDDR6
OS
Windows 11 Pro 25H2
Computer type
Laptop
Manufacturer/Model
Lenovo Legion 5-15ARH05
CPU
AMD Rysen 5 4600H
Memory
32 GB (2 x 16 GB Samsung SO-DIMM DDR4-3200)
Graphics Card(s)
GeForce GTX 1650 Ti, 4 GB GDDR6
Screen Resolution
1920x1080
Hard Drives
SSD M.2 512 GB SAMSUNG MZALQ512; SSD M.2 1 TB Seagate FireCuda 530
Mouse
Logitech M650L in Bluetooth mode

Latest Support Threads

Back
Top Bottom