ThisCalculator

Everyday

Install CAB File on Windows 10: Step-by-Step

Updated · Standard formula, shown below

Install CAB File on Windows 10: Step-by-Step

This guide shows you how to install a .cab file on Windows 10. CAB (Cabinet) files are compressed archives often used for driver updates, Windows component packages, or standalone software. You’ll learn the two main methods: using the built-in dism command for system packages and drivers, and the Expand command for extracting files manually. No extra software is required.

What You’ll Need

  • A Windows 10 PC with administrator access
  • The .cab file you want to install (downloaded or copied locally)
  • Optional: a folder to extract contents if you only need specific files

Step-by-Step

Method 1: Using DISM (for drivers and Windows packages)

  1. Locate the .cab file – Note the full path, e.g., C:\Downloads\driver.cab.
  2. Open Command Prompt as Administrator – Press Windows Key, type cmd, right-click “Command Prompt” and select “Run as administrator”. Accept the UAC prompt.
  3. Install a driver package – Type the following and press Enter:
    dism /online /add-driver /driver:"C:\Downloads\driver.cab" /install
    This adds the driver to the Windows image and installs it immediately.
  4. For a Windows component package (like a language pack or update) – Use:
    dism /online /add-package /packagepath:"C:\Downloads\package.cab"
  5. Wait for the process to complete – DISM shows a progress bar. When it says “The operation completed successfully”, the install is done.
  6. Restart your PC if prompted or if the change affects system files.

Method 2: Using Expand (to extract files manually)

  1. Create a destination folder – e.g., C:\Extracted. You can do this in File Explorer or with the command mkdir C:\Extracted.
  2. Open Command Prompt as Administrator (same as above).
  3. Run the expand command – Type:
    expand -F:* "C:\Downloads\file.cab" C:\Extracted
    The -F:* extracts all files. Replace the path and destination as needed.
  4. Check the extracted files – The contents are now in the destination folder. You can run an installer (like setup.exe) or manually place files as needed.

Common Mistakes

  • Not running as administrator – DISM and Expand require elevated privileges. Without admin, you’ll get “Access denied” errors.
  • Using the wrong command – Mixing up /add-driver and /add-package. Drivers use /add-driver; Windows packages (like updates) use /add-package.
  • Incorrect file path – Spaces in paths must be enclosed in quotes. Always use the full path, not a relative one.
  • Forgetting to extract before using – Some CAB files are not meant to be installed directly; they contain installers that need extraction first.
  • Assuming all CAB files are drivers – Some are just archives; check the contents first if unsure.

Tips

  • Check the CAB file type – Right-click and select “Properties” to see if it’s a driver or a package. The filename may hint (e.g., “driver” or “update”).
  • Use the /logpath option – For DISM, add /logpath:C:\dism.log to see detailed logs if something fails.
  • Extract first if unsure – Use Expand to see what’s inside before installing. This can prevent unintended changes.
  • Keep a system restore point – Before installing system-level packages, create a restore point (Control Panel > System > System Protection).
  • Use DISM with /online only on a running system – Do not use it on an offline image unless you know what you’re doing.

Troubleshooting

  • “Error 87: The parameter is incorrect” – Check the syntax. Ensure you used the correct command and quoted paths with spaces.
  • “Error 3: The system cannot find the file specified” – The path to the CAB file is wrong or the file is not accessible. Verify the path and that the file exists.
  • “Error 5: Access is denied” – You are not running as administrator. Close and reopen Command Prompt with admin rights.
  • DISM fails with “The source files could not be found” – This happens when the CAB file is corrupted or incomplete. Re-download the file.
  • Driver not installing after DISM – The driver may be unsigned or incompatible with your Windows version. Check the driver’s compatibility or try installing via Device Manager (right-click the device > Update driver > Browse my computer).
  • Expand says “The system cannot find the file specified” – Ensure the source path is correct and the file is not locked by another program.

Frequently Asked Questions

Can I install a CAB file by double-clicking it?

No. Windows does not have a built-in double-click installer for CAB files. You must use Command Prompt or extract the contents manually.

How do I know if a CAB file is a driver?

Look for files like *.inf inside the CAB after extracting. If present, it’s likely a driver package. You can also check the file’s properties for a “Driver” tab.

Is it safe to install a CAB file from the internet?

Only if you trust the source. CAB files can contain executable code. Always download from official or reputable sites, and scan with antivirus before installing.

Can I uninstall a CAB file after installing it?

For drivers, you can uninstall via Device Manager. For Windows packages, use dism /online /remove-package /packagename:... (you need the package name). Some packages may not be removable.

What if DISM says “The operation completed successfully” but the driver doesn’t appear?

Try restarting your PC. If it still doesn’t show, the driver may not be compatible with your hardware. Check the manufacturer’s website for a proper installer.

Can I use PowerShell instead of Command Prompt?

Yes. PowerShell works the same way. Open PowerShell as Administrator and use the same dism or expand commands.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.