{"id":4903,"date":"2017-08-03T23:30:49","date_gmt":"2017-08-03T21:30:49","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=4903"},"modified":"2017-08-04T12:44:32","modified_gmt":"2017-08-04T10:44:32","slug":"windows-shrink-a-wim-file","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-shrink-a-wim-file\/","title":{"rendered":"Windows: Shrink a wim file"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_4903 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_4903')){$('.twoclick_social_bookmarks_post_4903').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Shrink%20a%20wim%20file\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Athe%20install.wim%20of%20Windows%2010%20iso%20Images%20which%20contains%20multiple%20OS%20Versions%20is%20usually%20greater%20then%20magic%204GB%20broder.%0D%0A%0D%0ATherefore%20it%20is%20not%20possible%20to%20copy%20this%20file%20to%20an%20FAT32%20formated%20USB%20Stick%20because%20FAT32%20has%20a%20file%20size%20limit%20of%204GB.%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-shrink-a-wim-file\\\/\",\"post_id\":4903,\"post_title_referrer_track\":\"Windows%3A+Shrink+a+wim+file\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>the install.wim of Windows 10 iso Images which contains multiple OS Versions is usually greater then magic 4GB broder.<\/p>\n<p>Therefore it is not possible to copy this file to an FAT32 formated USB Stick because FAT32 has a file size limit of 4GB.<br \/>\n<!--more--><br \/>\nA way to shrink the wim file is to extract only the OS Version you want to install. <strong>dism<\/strong> can do this since Windows 8. Copy the install.wim file to your harddisk, i.e. D:\\temp and see which Windows Versions are included<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\Temp&gt; dir D:\\Temp\\install.wim\r\n03.08.2017  22:57     4.810.578.598 install.wim\r\nD:\\Temp&gt; dism \/Get-WIMinfo \/wimfile:install.wim\r\n\r\nDeployment Image Servicing and Management tool\r\nVersion: 6.3.9600.17031\r\n\r\nDetails for image : install.wim\r\n\r\nIndex : 1\r\nName : Windows 10 Pro\r\nDescription : Windows 10 Pro\r\nSize : 15.870.553.953 bytes\r\n\r\nIndex : 2\r\nName : Windows 10 Home\r\nDescription : Windows 10 Home\r\nSize : 15.688.600.726 bytes\r\n<\/pre>\n<p>Then export the OS Version to a new wim file and set maximum compression. Let use assume Windows 10 Professional which is Index 1:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\Temp&gt; dism \/Export-image \/SourceImageFile:install.wim \/SourceIndex:1 \/DestinationImageFile:install-new.wim \/DestinationName:&quot;Windows 10 Pro&quot; \/compress:max\r\nExporting image\r\n&#x5B;==========================100.0%==========================]\r\nD:\\Temp&gt; dir install-new.wim\r\n03.08.2017  23:08     4.095.320.725 install-new.wim\r\n<\/pre>\n<p>Now the size does not break the 4GB size limit and can transferred to an USB Stick<\/p>\n<p>Michael<\/p>\n<p><!--\ndism \/Get-WimInfo \/wimfile:install.wim\n\ndism \/Delete-Image \/ImageFile:install.wim \/Index:1\n\ndism \/Export-image \/SourceImageFile:install.wim \/SourceIndex:1 \/DestinationImageFile:D:\\temo\\install2.wim \/DestinationName:\"Windows 10 Pro\" \/compress:max\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, the install.wim of Windows 10 iso Images which contains multiple OS Versions is usually greater then magic 4GB broder. Therefore it is not possible to copy this file to an FAT32 formated USB Stick because FAT32 has a file size limit of 4GB.<\/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":[1085,1083,362,580,1084,1081,1082,20],"class_list":["post-4903","post","type-post","status-publish","format-standard","hentry","category-windows","category-windowsknowhow","tag-4gb-limit","tag-compress","tag-dism","tag-extract","tag-shrink","tag-split","tag-wim","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/4903","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=4903"}],"version-history":[{"count":2,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/4903\/revisions"}],"predecessor-version":[{"id":4905,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/4903\/revisions\/4905"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=4903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=4903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=4903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}