{"id":5317,"date":"2018-04-04T23:17:54","date_gmt":"2018-04-04T21:17:54","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=5317"},"modified":"2018-04-09T14:15:25","modified_gmt":"2018-04-09T12:15:25","slug":"windows-extract-files-from-a-windows-msu-update-file","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-extract-files-from-a-windows-msu-update-file\/","title":{"rendered":"Windows: Extract files from a Windows MSU Update File"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_5317 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_5317')){$('.twoclick_social_bookmarks_post_5317').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Extract%20files%20from%20a%20Windows%20MSU%20Update%20File\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0AWindows%20builtin%20utility%20for%20extracting%20cab%20or%20msu%20files%20is%20expand%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-extract-files-from-a-windows-msu-update-file\\\/\",\"post_id\":5317,\"post_title_referrer_track\":\"Windows%3A+Extract+files+from+a+Windows+MSU+Update+File\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>Windows builtin utility for extracting cab or msu files is <strong>expand<\/strong><br \/>\n<!--more--><br \/>\nUsage 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. <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmkdir windows10.0-kb4056892-x64\r\nD:\\temp&gt; expand -F:* windows10.0-kb4056892-x64_.msu windows10.0-kb4056892-x64\r\nwindows10.0-kb4056892-x64\\WSUSSCAN.cab....\r\nwindows10.0-kb4056892-x64\\Windows10.0-K....\r\nwindows10.0-kb4056892-x64\\Windows10.0-K....\r\nwindows10.0-kb4056892-x64\\Windows10.0-K.....\r\n<\/pre>\n<p>The msu files contains usually 4 files: WSUSSCAN.cab, the cab files with update files and a txt and xml files which describes the update.<\/p>\n<p>To extract all files run expand against the cab file. Same procudure as above. First create a folder and extract files to it<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\temp&gt; cd windows10.0-kb4056892-x64\r\nD:\\temp\\windows10.0-kb4056892-x64&gt; mkdir cabextracted\r\nD:\\temp\\windows10.0-kb4056892-x64&gt; expand -F:* Windows10.0-KB4056892-x64.cab cabextracted\r\n...\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, Windows builtin utility for extracting cab or msu files is expand<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[1161,580,1160,1162,20],"class_list":["post-5317","post","type-post","status-publish","format-standard","hentry","category-windows","category-windowsknowhow","tag-cab","tag-extract","tag-msu","tag-update-files","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=5317"}],"version-history":[{"count":4,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5317\/revisions"}],"predecessor-version":[{"id":5336,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5317\/revisions\/5336"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=5317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=5317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=5317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}