Creating A Bootable WinPE 2.0 USB Key

Windows Preinstallation Environment (PE) 2.0 is a slimed down version of Windows (hence all the MiniNT references) that used to be the exclusive domain of OEM's providers. Microsoft has wisely chosen to offer this to the masses as part of the Windows AIK. USB keys can be found just about anywhere these days for next to nothing. Combine the capabilities of WinPE with the portability of a USB key and you just made a very powerful troubleshooting, imaging, and data recovery tool. Here is a quick step by step on how to do just that:

Step 1. ) Get USB Key

You probably already have a few and if not you can purchase these just about anywhere, so I won't tell you where to get one.  You should get a USB 2.0 device of at least 512mb in size, but if you plan on putting a lot into a custom PE install or plan on using it to transfer data too then you are better served getting a larger size (2.0-4.0GB)

Step 2.) Download and Install the Windows Automated Installation Kit (Windows AIK)

This deployment oriented tool set contains Windows PE 2.0.

Step 3.) Format the USB key

Note: This must be done from Windows Vista

Start a command prompt and run the following. This set of commands assumes your USB key is detected as disk 1, you should double check that by doing a list of the disks before cleaning it. If you have multiple hard drives you could end up wiping your second drive using this command. You have been warned.

  • Diskpart
  • select disk 1
  • clean
  • create partition primary
  • select partition 1
  • active
  • format fs=fat32
  • assign
  • exit

Step 4.) Setup Windows PE

  • In this step you will create and customize WinPE for your disk. From the machine that you installed the Windows AIK go to the start menu and select "Windows PE Tools Command Prompt" from under the Windows AIK program folder.
  • Run Copype.cmd x86 c:\winpe_x86
    • you can create an 64-bit version by changing the architecture from x86 to amd64
  • Add customizations to WinPE
    • copy any tools you want available to the C:\winpe_x86\iso folder such as imaging tools if you want to use this for capturing images (imagex, wimscript.ini)

Step 5 .) Copy Windows PE to USB Key

Insert the USB key into the machine that you have WinPE on and run the following command to copy the contents to the USB Key

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

change c: to reflect the drive your files on and e: to be your USB key.

There you have it...a quick way to make a handy USB version of WinPE that you can take with you anywhere.  These can be used in almost any modern computer that supports USB booting. More information on this and other great things you can do with Windows PE are located in the Windows AIK.


Posted Feb 05 2007, 10:10 AM by Josh Phillips

Follow Me on Twitter

Did you enjoy this article? If yes, then subscribe to our RSS 2.0 feed or

Comments

Novaoblivion wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-05-2007 12:35 PM

Cool I could use something like this, now if I can just find the time to try it out :)

John Chambers wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-05-2007 12:36 PM

Josh, MS took the AIK download down. Any Ideas where to find it know

Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-05-2007 12:42 PM

I just saw that myself.  I have notified MSFT they are looking into it.  Will update the links if needed when they get back to me.

Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-05-2007 5:28 PM
Martien wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-06-2007 3:37 AM

Cool stuff, going to try this out :)

Matt Freestone wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-06-2007 10:07 AM

Yeah, this sounds awesome Josh, very nice!

Billy Lovejoy wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-06-2007 8:01 PM

Nice but old news :)

Tademos wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 1:09 AM

Hi! I've downloaded the AIK from MS and burned it on a DVD. In the middle of the installation a message appears, that I have to insert the WAIK Kit CD... what does this mean? I started the installation from the WAIK Kit CD...

I use Vista 32 bit, english.

Thanks for help!

Tiernans Comms Closet wrote creating a bootable winPE 2.0 USB key
on 02-07-2007 1:52 AM

John from Windows Connected has a post showing you how to build a Bootable WinPE 2.0 USB key . could

Dan wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 3:05 AM

Does anyone know if this only works on USB keys, or could one get it to work on an 80GB IPOD, as that is always with me and would be really usefull?

Daily Cup of Tech » HowTo Make A WinPE USB Key wrote Daily Cup of Tech » HowTo Make A WinPE USB Key
on 02-07-2007 5:04 AM
Mitsos wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 5:13 AM
Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 6:22 AM

Dan,

I don't know if it would work with an IPOD.  It should work with any type of USB device....The fact that you would have to wipe it out and do a diskpart would be enough to scare me off from using my ipod.

EisBlade wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 8:30 AM

Yep...nice, but arrives a bit late.  USB usage is nice, but not all PC's boot from USB yet.  Better compatability is still by way of bootable CD/DVD media.  Other reference sites to check out are:

Bart @ http://www.nu2.nu/bootablecd/

http://www.ubcd4win.com (the better of the two)

Bruce Franklin wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 10:28 AM

Tademos,

I ran into the same problem.  The ISO image doesn't use the correct disk label.  To fix it extract the files from the ISO (PowerArchiver will do this) and burn the disc using WLHAIK as the label.  Then it will work.

Petar Smilajkov wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 11:49 AM

Hey, very nice post!

Cheers,

Petar

www.VistaJuice.com

jchambers wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 12:42 PM

downlaoding it as I post.

tx.

wrk wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 12:58 PM

Very nice, I did everything as it's posted here and... it doesn't work, the computer (tried two) doesn't boot from usb stick (tried two as well), there is only a message asking to remove devices and restart... Thanks for any help :)

Creating A Bootable WinPE 2.0 USB Key » D’ Technology Weblog — Technology, Blogging, Gadgets, Fashion, Life Style. wrote Creating A Bootable WinPE 2.0 USB Key » D’ Technology Weblog — Technology, Blogging, Gadgets, Fashion, Life Style.
on 02-07-2007 1:08 PM
Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-07-2007 1:27 PM

wrk,

are you sure the machine you are using is capable of USB booting?  I have done this a few times and these steps are solid.

ebserver wrote Links del.icio.us de 7-02-07
on 02-07-2007 4:38 PM

Josh's Windows Weblog : Creating A Bootable WinPE 2.0 USB Key » Hidden » Alguem consegue ler isto? (so de longe) Concerto "Artistas pelo SIM" »

Boot WinPE 2.0 van USB-stick at Microsoft Minded wrote Boot WinPE 2.0 van USB-stick at Microsoft Minded
on 02-08-2007 6:56 AM
Tademos wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-08-2007 8:32 AM

@Bruce

Thx for the hint. I used ISOBuster to extract the files, because PowerArchiver didn't extract correctly.

Bryan wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-08-2007 10:18 AM

I too am getting the exact error wrk is getting.  It says remove media and press any key to restart,

This is a Dell Optiplex GX280.

Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-08-2007 10:26 AM

Bryan,

have access to any other machines to try?

Matt Armfield wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-08-2007 12:13 PM

Anyone getting the proverbial "Insert the disk: Windows Automated Installation Kit CD and press OK" when trying to install the WAIK?  This is on a Vista Enterprise install.

Matt Armfield wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-08-2007 12:25 PM

D'oh!  Didn't see the earlier post!

nevermind.  :)

Netanel Ben-Shushan's blog wrote איך ליצור Bootable WinPE 2.0 Disk on key?
on 02-08-2007 2:15 PM
sebastien wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-09-2007 6:32 AM

> Step 3.) Format the USB key

> Note: This must be done from Windows Vista

Why on earth, Windows Vista should be mandatory for this ?

You can format an USB key using XP (Fat or Fat32)

- Select your USB drive

- Right-click then 'format...'

- Select Fat or Fat32, blah, blah...

- Click OK

- And voilà !

jchambers wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-10-2007 5:06 PM

Well my first download died. :( Now the link is down again.

I saw on a few other forums, the the install program has issues snd MS pulled it.

Bryan Powell wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-12-2007 6:02 AM

Josh,

I tired a new machine, a Dell Optiplex GX 620, and got the same result.

I hope it's not an ID 10 T error on my end.

Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-16-2007 2:15 PM

Bryan,

Not sure man....I don't have a tell to try out.  My testing was all with IBM/Lenovo and HP/Compaq hardware....but it worked on all those.

PuntoRete wrote Fare il boot da una chiave USB con WinPE 2.0
on 02-16-2007 5:54 PM
Severud.org - Snakker du norsk? » links for 2007-02-24 wrote Severud.org - Snakker du norsk? » links for 2007-02-24
on 02-23-2007 7:23 PM
Connected to Vista Bookmarks wrote Features and Tutorials
on 02-24-2007 1:16 PM

Creating A Bootable WinPE 2.0 USB Key How to Uninstall a Program in Windows Vista How to use the Windows

Adrian Silasi wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-28-2007 9:58 AM

This is a long shot, but does anyone know about licensing WinPE to include it in this way with a commercial utility? (i.e. make a commercial product that boots of a USB key/CD)

Thanks.

Josh Phillips wrote re: Creating A Bootable WinPE 2.0 USB Key
on 02-28-2007 1:27 PM

Adrian,

I don't know the licensing, but I am sure it can be done (winternals has erd commander based on it before).  You just need to contact Microsoft and navigate to the right person to talk to.

lesehan.web.id » Blog Archive » Install Windows Vista from a high speed USB 2.0 Flash Drive wrote lesehan.web.id » Blog Archive » Install Windows Vista from a high speed USB 2.0 Flash Drive
on 03-01-2007 6:19 AM
Josh's Windows Weblog wrote How To Install Windows Vista from a USB Key
on 03-01-2007 7:00 AM

Blogger Kurt Shintaku has created a HowTo guide to installing Windows Vista from a USB key . His post

VistaJuice wrote Install Vista from a USB Key
on 03-01-2007 11:58 PM

Straight from WindowsConnected (verbatim): Blogger Kurt Shintaku has created a HowTo guide to installing Windows Vista from a USB key. His post gives credit to our "How to create a bootable WinPE USB Key" as inspiration for writing it, so thanks Kurt..

dave wrote re: Creating A Bootable WinPE 2.0 USB Key
on 03-02-2007 8:44 AM

My 2g 4gb iPod nano will not show up as a disk in diskpart (only a volume). Is this why you need vista?

Ken wrote re: Creating A Bootable WinPE 2.0 USB Key
on 03-05-2007 1:40 PM

Anyone have links on using this method for WinXP (re)deployment for those of us who have to stick to XP (re)builds for the time being?

on 03-05-2007 4:21 PM

Even without submissions , i t certainly isn't taking long to come up with new additions to Windows Vista

Connected to Vista Bookmarks wrote More Great Bookmarks Added
on 03-05-2007 4:25 PM

Even without submissions , i t certainly isn't taking long to come up with new additions to Windows Vista

Netweb links for 2007-03-07 « wrote Netweb links for 2007-03-07 «
on 03-07-2007 12:24 AM
» WinPE 2.0 USB Key wrote » WinPE 2.0 USB Key
on 03-07-2007 6:38 PM
How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0 » My Digital Life wrote How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0 » My Digital Life
on 04-02-2007 9:37 AM
Full of I.T. wrote Best of Questions and Answers from Webcast: Windows Deployment Services Overview
on 04-30-2007 3:21 PM

Here are the "Best Of" the questions and answers from today's TechNet Webcast: "Windows Deployment Services

Peering through Windows... wrote The Search for YOUR Golden Image...
on 06-01-2007 8:47 AM

If you are anything like me, you know as well as I do, you can't beat a wipe and reload of your PC to

How to Create a Bootable WinPE USB Key « Desktop Feedbag wrote How to Create a Bootable WinPE USB Key « Desktop Feedbag
on 06-21-2007 10:01 AM
merry christmas funny myspace comments wrote merry christmas funny myspace comments
on 09-18-2007 10:53 AM

merry christmas funny myspace comments

Install and setup Windows Xp, Firewall, WSUS 3.0, iSCSI and WinPE From USB | Install, setup and configure wrote Install and setup Windows Xp, Firewall, WSUS 3.0, iSCSI and WinPE From USB | Install, setup and configure
on 10-20-2007 8:46 PM

Pingback from  Install and setup Windows Xp, Firewall, WSUS 3.0, iSCSI and WinPE From USB | Install, setup and configure

C H 4 T T 3 R | H 0 M E » Blog Archive » How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0 wrote C H 4 T T 3 R | H 0 M E » Blog Archive » How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0
on 12-03-2007 12:16 AM

Pingback from  C H 4 T T 3 R | H 0 M E  » Blog Archive   » How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0

HOWTO: Install Windows Vista from a high speed USB 2.0 Flash Drive at Android Spark wrote HOWTO: Install Windows Vista from a high speed USB 2.0 Flash Drive at Android Spark
on 12-26-2008 10:28 PM

Pingback from  HOWTO: Install Windows Vista from a high speed USB 2.0 Flash Drive at  Android Spark

Bootable USB « Nick Knudson wrote Bootable USB « Nick Knudson
on 01-06-2009 5:04 PM

Pingback from  Bootable USB «  Nick Knudson

I ain’t nobody » Blog Archive » Boot the damn Windows from USB. wrote I ain’t nobody » Blog Archive » Boot the damn Windows from USB.
on 02-13-2009 4:09 PM

Pingback from  I ain’t nobody  » Blog Archive   » Boot the damn Windows from USB.

Hviidnet.com » Blog Archive » Installing vista USB stick wrote Hviidnet.com » Blog Archive » Installing vista USB stick
on 03-15-2009 3:59 PM

Pingback from  Hviidnet.com  » Blog Archive   » Installing vista USB stick

Como crear un sistema Windows arrancable desde una llave USB | Gadget Blog Windows wrote Como crear un sistema Windows arrancable desde una llave USB | Gadget Blog Windows
on 03-20-2009 7:57 AM

Pingback from  Como crear un sistema Windows arrancable desde una llave USB | Gadget Blog Windows

» Como crear un sistema Windows arrancable desde una llave USB - AlgoEstaPasando.com wrote » Como crear un sistema Windows arrancable desde una llave USB - AlgoEstaPasando.com
on 03-20-2009 7:22 PM

Pingback from  » Como crear un sistema Windows arrancable desde una llave USB - AlgoEstaPasando.com

????????? Linkblog » Creating A Bootable WinPE 2.0 USB Key wrote ????????? Linkblog » Creating A Bootable WinPE 2.0 USB Key
on 05-04-2009 10:05 PM

Pingback from  ????????? Linkblog » Creating A Bootable WinPE 2.0 USB Key

Features and Tutorials | TECHNOLOGY BLOGGER FACEBOOK LOWONGAN KERJA MP3 wrote Features and Tutorials | TECHNOLOGY BLOGGER FACEBOOK LOWONGAN KERJA MP3
on 06-05-2009 9:50 PM

Pingback from  Features and Tutorials | TECHNOLOGY BLOGGER FACEBOOK LOWONGAN KERJA MP3

oke entertainment » Blog Archive » Features and Tutorials wrote oke entertainment » Blog Archive » Features and Tutorials
on 06-17-2009 3:06 AM

Pingback from  oke entertainment  » Blog Archive   » Features and Tutorials

Install Windows Vista from a high speed USB 2.0 Flash Drive | What’s UP wrote Install Windows Vista from a high speed USB 2.0 Flash Drive | What’s UP
on 06-27-2009 4:34 AM

Pingback from  Install Windows Vista from a high speed USB 2.0 Flash Drive | What’s UP

Install Windows 7 or Windows Vista in USB Thumb IN THIRTY Minutes « X-focus (Hong Kong) wrote Install Windows 7 or Windows Vista in USB Thumb IN THIRTY Minutes « X-focus (Hong Kong)
on 07-24-2009 8:53 PM

Pingback from  Install Windows 7 or Windows Vista in USB Thumb IN THIRTY Minutes « X-focus (Hong Kong)

Twitter Trackbacks for Creating A Bootable WinPE 2.0 USB Key - Josh's Windows Weblog - Windows Connected [windowsconnected.com] on Topsy.com wrote Twitter Trackbacks for Creating A Bootable WinPE 2.0 USB Key - Josh's Windows Weblog - Windows Connected [windowsconnected.com] on Topsy.com
on 08-28-2009 6:01 PM

Pingback from  Twitter Trackbacks for                 Creating A Bootable WinPE 2.0 USB Key - Josh's Windows Weblog - Windows Connected         [windowsconnected.com]        on Topsy.com

uberVU - social comments wrote Social comments and analytics for this post
on 12-08-2009 9:13 PM

This post was mentioned on Twitter by edzdamangere: Tweet to self... http://bit.ly/aUdsp sumfn useful... I am so jealous, I CAN'T WATCH THE BET AWARDS!!!

?????????Vista WinPE??????????????????????????? = ???????????? ???????????? wrote ?????????Vista WinPE??????????????????????????? = ???????????? ????????????
on 12-13-2009 7:47 PM

Pingback from  ?????????Vista WinPE??????????????????????????? = ???????????? ????????????

Windows is a registered trademark of Microsoft Corporation.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems Themed By nb development