{"id":3084,"date":"2018-03-05T02:05:03","date_gmt":"2018-03-05T02:05:03","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=3084"},"modified":"2018-03-05T02:05:03","modified_gmt":"2018-03-05T02:05:03","slug":"create-windows-server-2012r2-2016-install-media-for-uefi-enabled-servers","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/fixes\/create-windows-server-2012r2-2016-install-media-for-uefi-enabled-servers","title":{"rendered":"Create Windows Server 2012R2\/2016 install media for UEFI-enabled servers"},"content":{"rendered":"<p class=\"x_MsoNormal\"><b>Procedure<\/b><\/p><p class=\"x_MsoNormal\">UEFI requires USB media to be in FAT32 format, which has a 4GB file size limitation. The install.wim file for Server 2012R2 is about 4.5GB, so needs to be split up as follows:<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\"><u>Step 1. Split install.wim image<\/u><\/p><ul type=\"disc\"><li class=\"x_MsoListParagraph\">Extract ISO contents, go to the Sources folder and locate the install.wim file<\/li><li class=\"x_MsoListParagraph\">Copy the file to a separate folder (e.g. C:\\Temp)<\/li><li class=\"x_MsoListParagraph\">Open a Powershell window with admin rights and browse to this newly created folder<\/li><li class=\"x_MsoListParagraph\">Run the following command:<\/li><\/ul><p class=\"x_MsoListParagraph\">Dism \/Split-Image \/ImageFile:install.wim \/SWMFile:install.swm \/FileSize:4000<\/p><p class=\"x_MsoListParagraph\">This will create two files: install.swm and install2.swm<\/p><ul type=\"disc\"><li class=\"x_MsoListParagraph\">Copy these two files to the Sources folder and delete the install.wim file<\/li><\/ul><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\"><u>Step 2. Format USB key<\/u><\/p><ul type=\"disc\"><li class=\"x_MsoListParagraph\">Run cmd<u><\/u><\/li><\/ul><p class=\"x_MsoNormal\">&gt; DISKPART<u><\/u><\/p><p class=\"x_MsoListParagraph\">&gt; LIST DISK<\/p><p class=\"x_MsoListParagraph\">&gt; SELECT DISK (pick appropriate disk)<\/p><p class=\"x_MsoListParagraph\">&gt; CLEAN<\/p><p class=\"x_MsoListParagraph\">&gt; CREATE PARTITION PRIMARY<\/p><p class=\"x_MsoListParagraph\">&gt; SELECT PARTITION 1<\/p><p class=\"x_MsoListParagraph\">&gt; ACTIVE<\/p><p class=\"x_MsoListParagraph\">&gt; FORMAT FS=FAT32 QUICK<\/p><p class=\"x_MsoListParagraph\">&gt; ASSIGN<\/p><p class=\"x_MsoListParagraph\">&gt; EXIT<\/p><ul type=\"disc\"><li class=\"x_MsoListParagraph\">Copy all the folders from extracted ISO into the USB stick. Now you should be able to boot and install Windows from it<\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>ProcedureUEFI requires USB media to be in FAT32 format, which has a 4GB file size limitation. The install.wim file for Server 2012R2 is about 4.5GB, so needs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[2292,2293,2295,2294,2291,1213,2290],"class_list":["post-3084","post","type-post","status-publish","format-standard","hentry","category-fixes","tag-wim","tag-4gb","tag-fat32","tag-too-big","tag-uefi-enabled-servers","tag-windows-10","tag-windows-server-2012r2"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3084"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3084\/revisions"}],"predecessor-version":[{"id":3085,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3084\/revisions\/3085"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}