Latest posts by Michael Pietroforte (see all)
- Posting ops news and competition results March–May 2017 - Wed, Jun 21 2017
- Results of the February competitions - Fri, Mar 10 2017
- 4sysops IT news and winners of the first competition - Thu, Feb 2 2017
Update: There is now an easier way to create Windows PE boot media.
For Windows PE 1.0, the minimalist Windows based on Windows 2003/XP, you needed an SA (Software Assurance), OEM, or ISV license. When Windows Vista was released everyone had access to Windows PE 2.0. This also applies to the Windows 7-based edition, Windows PE 3.0. Windows PE (Preinstallation Environment) was originally designed to deploy Windows. However, it is also useful in creating your own customized rescue boot media. In this article, I will describe how you can create a bootable Windows PE 3.0 (WinPE) USB stick, and, in my next post, I will show how to add your own rescue tools and how to keep your rescue stick up-to-date without much hassle. You will see that the procedure described here is much more convenient than most solutions you'll find on the web.
Create a bootable USB drive ^
Before you get started, you have to make your flash drive bootable. I have already described this procedure in my post about the Windows 7 USB/DVD Download Tool. For your convenience here is the command sequence, which you should run on a command prompt with admin rights:
- list disk
- select disk #
- create partition primary
- select partition 1
- format quick fs=fat32
Replace '#' with the drive number of your USB drive. Be careful to choose the right disk in 3 because this procedure will erase the whole drive!
Copy the WinPE 3.0 files to the USB drive ^
WinPE 3.0 is part of the Windows Automated Installation Kit (WAIK) for Windows 7, which you can download here. Once you have installed the WAIK, you'll find a folder of the Windows AIK on the Windows Start Menu. Launch the Deployment Tools Command Prompt and enter this command:
- copype.cmd x86 c:\winpe_x86
- Then, copy winpe.wim to the correct folder:
copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim
- Now, copy WinPE to your USB drive:
xcopy C:\winpe_x86\iso\*.* /e G:\
In this example, 'G:' is the drive letter of your flash drive.
Now you should be able to boot from your WinPE 3.0 USB drive. In my next post, I will outline the interesting part—that is, how to prepare your USB drive so that you can add new tools without starting again from scratch.