Windows: Extract files from a Windows MSU Update File


Windows builtin utility for extracting cab or msu files is expand

Usage is simple if you want to extract all files. Parameter -F defines the files to extract, the second parameter is the msu file and the third the directory to extract the files to. The directory must exist.

mkdir windows10.0-kb4056892-x64
D:\temp> expand -F:* windows10.0-kb4056892-x64_.msu windows10.0-kb4056892-x64

The msu files contains usually 4 files:, the cab files with update files and a txt and xml files which describes the update.

To extract all files run expand against the cab file. Same procudure as above. First create a folder and extract files to it

D:\temp> cd windows10.0-kb4056892-x64
D:\temp\windows10.0-kb4056892-x64> mkdir cabextracted
D:\temp\windows10.0-kb4056892-x64> expand -F:* cabextracted


Advertisment to support

2 thoughts on “Windows: Extract files from a Windows MSU Update File”

  1. Because DISM was failing to repair a few corrupt files in WinSxS, this was very useful to retrieve those that I couldn’t source from anywhere else besides the original updates where they originated from. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.