{"id":94,"date":"2018-08-06T10:02:16","date_gmt":"2018-08-06T10:02:16","guid":{"rendered":"https:\/\/www.laptoparena.net\/blog\/?p=94"},"modified":"2018-08-06T10:06:22","modified_gmt":"2018-08-06T10:06:22","slug":"create-a-windows-pe-bootable-image","status":"publish","type":"post","link":"https:\/\/www.laptoparena.net\/blog\/create-a-windows-pe-bootable-image\/","title":{"rendered":"Create a windows pe bootable image"},"content":{"rendered":"<h2><span data-blogger-escaped-style=\"font-weight: normal;\">For windows 7 &#8211; Windows PE 3.1<\/span><\/h2>\n<p>Download AIK (Automated Installation Kit ) :\u00a0<a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=5753\">http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=5753<\/a><\/p>\n<p>1. Run from Start menu : Microsoft Windows AIK -&gt; Deployment Tools Command Prompt (as administrator).<br \/>\n2. Type :<\/p>\n<pre>copype.cmd amd64 c:\\winpe<\/pre>\n<pre>or<\/pre>\n<pre>copype.cmd x86 c:\\winpe<\/pre>\n<p>The 64-bit version can boot 64-bit UEFI and 64-bit BIOS PCs.<br \/>\nThe 32-bit version can boot 32-bit UEFI, 32-bit BIOS, and 64-bit BIOS PCs.<\/p>\n<p>copy c:\\winpe\\winpe.wim c:\\winpe\\iso\\sources\\boot.wim<br \/>\ncopy C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex.exe c:\\winpe\\iso\\<\/p>\n<p>Delete\u00a0 C:\\winpe_x86\\ISO\\boot\\bootfix.bin<br \/>\nif you do not want to be prompted to press any key when booting<\/p>\n<p>3. Create an iso file to burn to cd. Type :<br \/>\noscdimg -n -bC:\\winpe_x86\\etfsboot.com c:\\winpe_x86\\iso c:\\winpe_x86\\winpex86.iso<\/p>\n<p>or for usb :<\/p>\n<pre>MakeWinPEMedia \/UFD C:\\WinPE_amd64 F:<\/pre>\n<p>4. Burn and boot or use network boot by\u00a0<a href=\"https:\/\/www.laptoparena.net\/blog\/how-to-setup-a-pxe-boot-server\/\" data-blogger-escaped-target=\"_blank\">pxe server<\/a><\/p>\n<p>You will end up with a cmd prompt :<br \/>\nX:\\windows\\system32\\&gt;wpeinit<\/p>\n<p><span style=\"font-family: 'arial';\" data-blogger-escaped-style=\"font-family: &quot;arial&quot;; font-size: 10pt;\"><span style=\"font-size: x-large;\" data-blogger-escaped-style=\"font-size: large;\">For windows 8.1 or 8 &#8211; Windows PE 5.1<\/span><\/span><\/p>\n<p>Download &#8211; Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1<br \/>\n<a href=\"http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39982\">http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39982<\/a><br \/>\nand install it.<\/p>\n<p>1. Run from Start menu : Microsoft Windows AIK -&gt; Deployment Tools Command Prompt (as administrator).<br \/>\n2. Type :<br \/>\ncopype x86 C:\\winpe<\/p>\n<p>Delete\u00a0 C:\\winpe\\media\\Boot\\bootfix.bin<br \/>\nif you do not want to be prompted to press any key when booting<\/p>\n<p>MakeWinPEMedia \/ISO C:\\winpe_x86 C:\\winpe_x86\\winpe_x86_win81.iso<br \/>\nor manually :<\/p>\n<hr \/>\n<p>Set stick partition as active with\u00a0<b>diskpart :<\/b><\/p>\n<blockquote class=\"tr_bq\"><p>list volume<\/p>\n<p>select volume X:<\/p>\n<p>active<\/p><\/blockquote>\n<p>Make it bootable :<\/p>\n<blockquote class=\"tr_bq\"><p>bootsect.exe \/nt60 x: \/mbr<\/p><\/blockquote>\n<p>Copy the content of C:\\winpe\\media to the stick using explorer or cmd :<\/p>\n<blockquote class=\"tr_bq\"><p>xcopy \/herky C:\\winpe\\media X:<\/p><\/blockquote>\n<hr \/>\n<p>Add additional drivers :\u00a0\u00a0<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn613857.aspx\">https:\/\/technet.microsoft.com\/en-us\/library\/dn613857.aspx<\/a><\/p>\n<p><b>Mount the image :<br \/>\n<\/b>Dism \/Mount-Wim \/WimFile:&#8221;C:\\WinPE_x86\\ISO\\sources\\boot.wim&#8221; \/index:1 \/MountDir:&#8221;C:\\WinPE_x86\\mount&#8221;<\/p>\n<p><b>Add the driver :<br \/>\n<\/b>Dism \/Add-Driver \/Image:&#8221;C:\\WinPE_x86\\mount&#8221; \/Driver:&#8221;C:\\SampleDriver\\oem.inf&#8221;<\/p>\n<p><b>Unmount the image :<br \/>\n<\/b>Dism \/Unmount-Wim \/MountDir:&#8221;C:\\WinPE_x86\\mount&#8221; \/commit<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For windows 7 &#8211; Windows PE 3.1 Download AIK (Automated Installation Kit ) :\u00a0http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=5753 1. Run from Start menu : Microsoft Windows AIK -&gt; Deployment Tools Command Prompt (as administrator). 2. Type : copype.cmd amd64 c:\\winpe or copype.cmd x86 c:\\winpe The 64-bit version can boot 64-bit UEFI and 64-bit BIOS PCs. The 32-bit version can &#8230; <a title=\"Create a windows pe bootable image\" class=\"read-more\" href=\"https:\/\/www.laptoparena.net\/blog\/create-a-windows-pe-bootable-image\/\" aria-label=\"Read more about Create a windows pe bootable image\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":2,"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laptoparena.net\/blog\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}