Create a WinPE USB or ISO  

    Create a WinPE USB or ISO

    Create a WinPE USB or ISO

    How to create a Windows Preinstallation Environment bootable USB flash drive or ISO image
    Published by Category: Installation & Upgrade
    02 Jul 2018
    Designer Media Ltd


    information   Information
    Windows Preinstallation Environment (WinPE) boot device belongs to every geeks toolbox. A quote from Wikipedia:

    WinPE was originally intended to be used only as a pre-installation platform for deploying Microsoft Windows operating systems, specifically to replace DOS in this respect. WinPE has the following uses:
    • Deployment of workstations and servers in large corporations as well as pre-installation by system builders of workstations and servers to be sold to end users.
    • Recovery platform to run 32-bit or 64-bit recovery tools such as Winternals ERD Commander or Windows Recovery Environment (Windows RE).
    • Platform for running third-party 32-bit or 64-bit disk cloning utilities.

    Creating a bootable WinPE USB or ISO is fast and easy. This tutorial will show how to create one for your purposes.






    Create a WinPE USB or ISO WinPE Create a WinPE USB or ISO
     Create bootable WinPE USB or ISO

    1) Download latest Windows 10 ADK (Assessment and Deployment Kit) or Windows Insider Preview ADK

    2) You may of course install the full 7 GB ADK, but for our purposes you only need components Deployment Tools and Windows Preinstallation Environment:
    Name:  image.png
Views: 16107
Size:  343.6 KB

    3) When installed, open Deployment and Imaging Tools interface elevated by right clicking it in Start > W > Windows Kits and select More > Run as administrator:
    Name:  image.png
Views: 16260
Size:  235.3 KB

    4) The prompt is quite long. Shorten it by jumping to root of the C: drive with command cd\ (#1 in next screenshot)

    5) Create WinPE files with following command (#2):

    copype amd64 D:\WinPEx64
    Name:  image.png
Views: 16182
Size:  98.7 KB

    Replace path D:\WinPEx64 with your preferred drive and folder name. The above command creates PE files to be used to boot a 64 bit machine. If you will make PE for 32 bit machine, replace amd64 in command with x86:

    copype x86 D:\WinPEx86

    6) Plug in a USB flash drive, note its drive letter. Enter following command, replopacing path D:\WinPEx64 with actual pathe to folder where you created the PE files, and drive letter I: with actual drive letter of your USB drive:

    MakeWinPEMedia /UFD D:\WinPEx64 I:

    If you want to create a WinPE ISO, change the /UFD switch to /ISO and add path and filename where you want to create the ISO file:

    MakeWinPEMedia /ISO D:\WinPEx64 F:\WPE64.iso

    You will be warned that the USB flash drive will be formatted, Accept with Y:
    Click image for larger version. 

Name:	image.png 
Views:	452 
Size:	90.8 KB 
ID:	174819

    That's it!

    Kari
  1.    21 Aug 2018 #1

    What to expect


    Hi,

    Please excuse basic query, I have never used this before. Anyhow I prepared the bootable usb and when I tried it I get a box with X:\windows\system32> command prompt showing. Is this right?

    I am attempting to follow the Macrium Reflect Knowledgebase "Restoring a UEFI/GPT System image to MBR" where it says Open a Windows command window. To open a command window click the icon [C:\] on the taskbar.

    I dont seem to have a taskbar, but seem to be at a command prompt already. Confused....
    Last edited by keithjr; 22 Aug 2018 at 11:10.
      My ComputerSystem Spec


  2. Posts : 217
    Microsoft Windows 10 x64
       14 Sep 2018 #2

    bonjour,

    Thanks Kari for this tuto

    I created the ISO with "MakeWinPEMedia /ISO D:\WinPEx64 F:\WPE64.iso"
    I simply copied all files of the ISO to a dedicated partition (2GB) on a second disk
    I can now select & boot directly from the BIOS to this partition (F8 on Asus) without doing anything else

    My only issue : Anyway to automatically select a default keyboard different that operating system language ?
    (French Keyboard with US Windows)

    some info Wpeutil Command-Line Options | Microsoft Docs

    This works :

    wpeutil SetKeyboardLayout 040C:0000040C
    It will affect all other programs run hereafter.

    Another cmd window (with the new keyboard layout) can be opened with:
    start cmd
    (Dont’t close the initial cmd window. That will make Windows PE restart)
    Next step could be adding these sommands above to \Windows\System32\Startnet.cmd

    or better WinPE: Add packages (Optional Components Reference) | Microsoft Docs
    Last edited by D4ni3l; 14 Sep 2018 at 15:04.
      My ComputerSystem Spec


 

Tutorial Categories

Create a WinPE USB or ISO Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Hi All, I bought an old, but in good condition Dell Inspiron 560 for cheap off some people who had recently purchased a new machine. I thought I'd use it as a sort of test system while studying for my CompTIA A+ exam. First thing I did was...
So my friend has Macrium Reflect Free installed on his WIndows 8 Home 64-bit and he is planning to upgrade to Windows 10. Will he be able to still use the MR boot menu even though it was built using WinPE 5 components? Or is it actually crucial (by...
Surface Pro 4 Sysprep WinPE Help in Installation and Upgrade
Hi, im currently close to finishing sysprep on the surface pro 4. Im using winpe and StartNet.cmd to run a script, specifically the following script; @ECHO OFF :: Geovert :: 2016-03-09 :: Deploy Windows 10 wpeinit
Macrium Reflect Winpe components in Backup and Restore
Just noticed the latest version require a download of over 800 MB to download win pe components where it was only approx 500 MB before.
Hi all I am following some microsoft documentation that says to use the command Wpeutil createpagefile C:\pagefile /size=256wpeutil is not recognized is what I get. Here is where I found the microsoft page. Install Windows PE - Windows 10...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:51.
Find Us