How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0

WinPE 2.0 (Microsoft Windows Preinstallation Environment version 2) also known as Windows PE or Vista WinPE is the new version of mini bootable tool from Microsoft that provides operating system features for installation, troubleshooting, and recovery. In other word, WinPE 2.0 is a slim down or tiny mini version of Windows (you will see lots of reference to MiniNT). Previously WinPE is mostly used by OEMs, ISVs or system builders to prepare and create recovery CD or recovery partition. Previous WinPE popularity is limited due to shortage of functionality compared with third-party boot loader. However, Vista WinPE 2.0 is greatly enhanced and improved, and widely distributed to the public as free download with Windows Automated Installation Kit (AIK). With its small size, WinPE 2.0 can be installed on a USB flash drive, also known as USB key to create a bootable USB flash drive with WinPE 2.0 with ability to access, read and write to NTFS partitions, workable on almost all modern computers support USB booting.

Step by step guide on how to make a WinPE 2.0 bootable USB flash drive:

  1. Get an USB key or USB flash drive. Depending on your need such as data storage or want to put in a lot of custom scripts or applications, it’s better to buy a USB memory key with at least 512 MB in size.
  2. Download and install the Windows Automated Installation Kit (Windows AIK), which also contains Windows PE 2.0.
  3. Format USB flash drive from within Windows Vista.
  4. Open a command prompt and execute the following commands to create a partition (explanation in bracket, which should be ignored):
    • Diskpart (text-mode command interpreter to manage objects such as disks, partitions, or volumes)
    • list disk (displays a list of disks and information about them)
    • select disk 1 (assuming the USD key is detected as disk 1 from the list generated by “list disk” command. This setting must be correct or else you may accidentally wipe out the hard disk instead.)
    • clean (removes any and all partition or volume formatting from the disk with focus)
    • create partition primary
    • select partition 1 (the only primary partition created by command above)
    • active
    • format fs=fat32 (use FAT32 file system)
    • assign (assigns a drive letter or mount point to the volume with focus)
    • exit
  5. Setup and customize Windows PE by following below instructions:
    • Click on Windows Start menu, open All Programs (if applicable), and then Windows AIK program folder. Select and click “Windows PE Tools Command Prompt”.
    • Type the following command:

      Run Copype.cmd x86 c:\winpe_x86

      If you want to create a 64-bit version of bootable USB flash disk, change the architecture from x86 to amd64. You may want to change the name of the folder too.

    • You can customize WinPE by copying any tools possible needed and available to the C:\winpe_x86\iso folder. The utilities may include imaging tools for capturing images such as imagex, wimscript.ini and etc.
  6. Insert the USB key disk into the machine where WinPE is installed.
  7. Run the following command in command prompt to copy WinPE and its contents to the USB flash drive:

    xcopy c:\winpe_x86\iso\*.* /s /e /f e:\

    c: and e: represents drive where the WinPE files are located and USB flash drive respectively. Change the drive letter if it’s not the same.

Source

Share and contribute or get technical support and help at My Digital Life Forums.



12 Responses to “How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0”

  1. Chuck
    April 3rd, 2007 20:54
    1

    So…is worth downloading if you don’t have a Vista-installed PC? Or am I going to need a vista disk to make this worth anything?

  2. Michael
    April 3rd, 2007 21:55
    2

    Do you have any snapshots?
    Can you add Portable Applications?

  3. AnYb
    April 3rd, 2007 22:30
    3

    Hi ,

    is possible build a WinPe on external Usb Hdd or Key without loading ram ?

    Thanks
    AnyB

  4. Chuck
    April 4th, 2007 17:15
    4

    I was messing around with this today and it’s a bitch. It’s pretty much all command line work. You have to download this AIK thing, burn the DVD, install dot net 2.0. OK fine. Then figure out how to make a USB drive’s FAT32 partition active primary, which is for some reason maddeningly difficult. If I could find a simple straightforward utility to do this it would probably be a snap. And don’t reply “Fdisk, you ass” unless you have a link to download it and know that it will make a 32 bit primary active partition on a USB drive.

    from what I am reading from the DVD contents, the USB key will have a (very) miniature Vista OS on it, it will not run more than 72 hours continuously. You will need some ram in the PC though.

  5. Michael
    April 4th, 2007 21:23
    5

    Sound like I don’t want to mess with this one. Unless someone wants to get it working and post an Acronis Universal Restore Image or something:)

  6. Limit
    April 4th, 2007 22:53
    6

    How much free space is left on the key after installation?

  7. Chuck
    April 5th, 2007 15:35
    7

    That would depend on the size of the key. I wouldn’t try it with less than a gig. I still haven’t gotten this to work.

  8. Michael
    May 6th, 2007 00:34
    8

    Oh my, they’ve really been adding to this thing.
    Look at all the plugins for this image.

    http://vistape.boot-land.net/eng/screen.html

  9. Gerhard
    June 28th, 2008 00:58
    9

    Help please!

    I downloaded Windows AIK from : http://www.microsoft.com/downloads/details.aspx?FamilyID=C7D4BC6D-15F3-4284-9123-679830D629F2&displaylang=en.

    But got an img file vista_6000.16386.061101-2205-LRMAIK_EN.img.

    How do I get the Windows AIK progam file?

    Thanks in advance, Gerhard

  10. Gerhard
    June 28th, 2008 05:17
    10

    Thanks, found it, have to burn the DVD see

    http://www.mechrest.com/plugins/BartPEGuide/VistaPEGuide.htm
    Downloading and Installing the Windows AIK:

    1. Burn the download to a DVD. It comes in a .img format.

    2.Insert the burned WAIK DVD and it should auto run. On the left side choose “Windows AIK Setup” to install the WAIK. The default location is C:\Program Files\Windows AIK.

  11. Quaid
    September 10th, 2008 07:08
    11

    It’s actually quite easy but it’s best to install on a Vista / W2K8 machine and run with the Vista AIK SP1 installed; just follow the steps (make sure you adhere to the sequence of steps) and it is the greatedst thing because it doesn’t matter what the h/w platform, nic drivers or storage drives (and you can add them in later anyway) and it still boots! Remember to include Ghost32, not Ghost.exe

  12. horrible
    October 4th, 2008 18:41
    12

    How big is this supposed to be, once you finish the last step? I’ve got 183MB, is that really windows? Or do I need to do something else?

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

bootable usb drive - bootable flash drive - create bootable usb drive - boot from flash drive - make usb bootable - make bootable usb drive - how to create bootable USB - creating a bootable usb drive - boot usb drive - Make USB Drive bootable - create bootable flash drive - make bootable usb - how to create a bootable flash drive - vista_6000.16386.061101-2205-LRMAIK_EN.img - make usb flash drive bootable - usb drive bootable - how to create bootable usb drive - how to make a flash drive bootable - make usb flash bootable - how to make bootable usb - make a bootable flash drive - bartpe vista - make flash drive bootable - how to boot from flash drive - how to make bootable flash drive - bootable usb flash drive - create bootable usb vista - how to create usb boot disk - make usb key bootable - Create Bootable USB Flash Drive - creating a bootable flash drive - create bootable usb - how to create bootable flash drive - vista boot usb - create boot usb - all - make bootable flash drive - winpe download - creating bootable usb drive - booting from usb drive - bootable usb vista - create boot usb drive - how to make bootable usb drive - how to make boot usb - booting from a usb drive - how to make a flash drive - make bootable usb flash drive - BOOTABLE USB KEY - how to create bootable flash - bootable usb flash - how to create a bootable usb drive - how to make a usb drive bootable - bootable flash drives - Vista boot from Flash drive - usb flash drive boot - make a usb key bootable - make usb drive bootable vista - make bootable usb vista - usb drive boot - bootable usb drives - usb boot - creating a bootable flash disk - make boot usb - bartpe usb - bootable flash drive windows - make boot usb drive - format usb bootable - usb flash bootable - making usb drive bootable - make bootable usb flash - making a bootable usb drive - "bootable Flash Drive" - bartpe usb drive - VISTA 64 Bootable USB - make a bootable usb flash drive -