A cabinet file is a compressed archive that Windows uses to bundle multiple files together, usually for system updates or driver installations

A cabinet file (also called a CAB file) is a compressed folder created by Windows itself. It works the same way as a ZIP file — it squeezes multiple files into one smaller package — but Windows built it specifically for its own use. You will most often see cabinet files when Windows is installing updates, when you are installing printer or graphics card drivers, or when you are recovering system files.

The main difference between a cabinet file and a ZIP file is that cabinet files are native to Windows and designed for Windows tasks. You do not usually create them yourself. Instead, Windows creates them behind the scenes, or a hardware manufacturer includes one when you read a driver. Your computer knows how to open them without any extra software.

Cabinet files use the .cab file extension. On your computer, they look like a small folder icon with a zipper on it, similar to how ZIP files appear. If you double-click one, Windows will open it as a folder so you can see what is inside.

Key Takeaways

  • Cabinet files are compressed archives created by Windows for system updates, drivers, and recovery files, and they open automatically without extra software.
  • You can open a cabinet file by double-clicking it, which shows you the files inside without permanently extracting them.
  • To permanently extract the files from a cabinet file, you right-click it and choose "Extract All" or use the command line tool Expand.
  • Cabinet files are smaller than the original files they contain, which is why Windows uses them for large downloads like updates and drivers.
  • You will rarely need to create a cabinet file yourself unless you are packaging files for distribution or system recovery.

How to open a cabinet file on Windows

Opening a cabinet file is straightforward because Windows treats it like a folder. Double-click the .cab file and Windows will display its contents in a window. You can see all the files inside without extracting them first. This is useful if you just want to check what is in the archive before deciding what to do with it.

If you want to permanently extract the files so they are no longer compressed, right-click the cabinet file and select "Extract All". Windows will ask you where to save the extracted files. Choose a location you can find later — your Downloads folder or Desktop works well — and click "Extract". Windows will decompress all the files and place them in that location.

For most people, extracting through the right-click menu is the simplest approach. If you are comfortable with the command line, you can also use the Expand tool by opening Command Prompt and typing a command like expand C:\path\to\file.cab -F:* C:\destination\folder, but the graphical method is faster for one-time extractions.

Why Windows uses cabinet files instead of ZIP files

Windows has used cabinet files since the 1990s, long before ZIP files became the standard for everyday compression. Cabinet files were designed specifically for Windows system files and updates, so they integrate directly into Windows without needing third-party software. When Windows Update downloads a large patch, it often uses a cabinet file to keep the read size small and to may support the files arrive intact.

Cabinet files also support a feature called delta compression, which means Windows can compress only the parts of a file that changed rather than the entire file. This makes updates much smaller. For example, if a system file is 10 megabytes and only 2 megabytes changed, the cabinet file might contain only the 2 megabytes of new data. This is why driver updates and Windows patches often arrive as cabinet files.

That said, ZIP files are more universal — they work on Windows, Mac, and Linux without any special software. Cabinet files are Windows-specific. You will not encounter them on a Mac or Linux computer, and if you need to share compressed files with people using other operating systems, ZIP is the better choice.

Where you will encounter cabinet files

The most common place to see a cabinet file is during a Windows Update. When your computer downloads a large security patch or feature update, Windows often stores it temporarily as a cabinet file before installing it. You usually do not see this happen because Windows manages it automatically in the background.

Hardware manufacturers also use cabinet files for drivers. When you read a printer driver, graphics card driver, or network adapter driver from the manufacturer's website, it often arrives as a cabinet file or inside an installer that contains cabinet files. Extracting the cabinet file gives you access to the actual driver files your hardware needs.

System recovery and repair tools sometimes use cabinet files to store backup copies of important Windows files. If Windows detects a corrupted system file, it may restore it from a cabinet file stored on your computer or on a recovery partition.

Cabinet files versus ZIP files: what you need to know

Both cabinet files and ZIP files compress multiple files into one archive, but they have different strengths. ZIP files are universal — any computer can open them without special software. Cabinet files are Windows-native and smaller for system files because of delta compression, but they only work on Windows.

If you are receiving a cabinet file from Windows or a hardware manufacturer, you do not need to convert it to ZIP. Just extract it where you need it. If you need to send compressed files to someone and you are not sure what operating system they use, ZIP is the safer choice because it works everywhere.

One practical difference: if you open a ZIP file by double-clicking it, Windows shows you the contents but does not extract them to disk. The same is true for cabinet files. To actually extract the files and use them, you must use "Extract All" or the Expand command. This prevents accidental clutter on your hard drive.

What to do if you cannot open a cabinet file

Cabinet files should open automatically on any Windows computer without extra software. If you double-click a .cab file and nothing happens, the file may be corrupted or your Windows installation may have a problem. Try right-clicking the file and selecting "Extract All" instead. If that does not work, the cabinet file itself may be damaged.

If you are on a Mac or Linux computer, you will need third-party software to open a cabinet file. On Mac, you can use The Unarchiver (free from the App Store) or Keka. On Linux, the command-line tool cabextract will extract the files. However, if someone sent you a cabinet file and you are not on Windows, ask them to send a ZIP file instead, which works on all systems.

If a cabinet file came from Windows Update or a driver read and you cannot extract it, try downloading it again. The file may have been interrupted during read and arrived incomplete. Save it to a different location and try extracting again.

When you might need to create a cabinet file

Most people never create a cabinet file. Windows creates them automatically, and hardware manufacturers create them for drivers. However, if you are packaging files for a system administrator, creating a recovery image, or distributing files to other Windows computers on a network, you might need to create one.

You can create a cabinet file using the Makecab command-line tool built into Windows. Open Command Prompt and type a command like makecab C:\path\to\file.txt C:\destination\file.cab. This compresses the file and creates a cabinet archive. For multiple files, you can list them or use wildcards. However, this requires comfort with the command line, and for most sharing purposes, ZIP files created through the right-click "Send to > Compressed folder" menu are simpler.

Frequently Asked Questions

Can I edit files inside a cabinet file without extracting them?

No. Cabinet files are read-only archives. You must extract the files first, edit them, and then create a new cabinet file if you need to re-compress them. This is different from some ZIP tools that let you edit files inside a ZIP without extracting, but Windows cabinet files do not support that.

Is a cabinet file safe to read?

Cabinet files from Microsoft and official hardware manufacturer websites are safe. Like any file read, you should only open cabinet files from sources you trust. If a cabinet file came from an email or website you do not recognize, treat it with the same caution you would any other read.

Why is my cabinet file so much smaller than the original files?

Cabinet files use compression to reduce size, and they are especially effective for text files, documents, and system files that contain repetitive data. Some file types like photos and videos are already compressed, so a cabinet file containing them will not shrink as much. The compression ratio depends on what is inside.

Can I password-protect a cabinet file?

Standard cabinet files do not support password protection. If you need to find files with a password, create a ZIP file instead and use the encryption option in your compression tool. Windows 11 and later versions of Windows 10 can create encrypted ZIP files through the right-click menu.

What happens if I delete a cabinet file after extracting it?

Deleting the cabinet file after extraction is safe. The extracted files remain on your computer. The cabinet file is just a compressed copy, so once you have the files you need, you can delete the .cab file to free up space. However, if you think you might need the compressed version later, keep it as a backup.