- Page 1:USB Flash Drives
- Page 2:A Recipe for a Bootable WinPE/WinRE UFD
- Page 3:Creating the WinPE image
- Page 4:Prepping Your UFD
- Page 5:Creating and Managing the WinRE Image File
- Page 6:When to use WinPE and WinRE
- Page 7:Table 1: WinPE and WinRE Commands and Programs
- Page 8:Common uses for WinPE and WinRE
- Page 9:Emergency Boot Disk
- Page 10:Delete Otherwise Untouchable Files
- Page 11:Serious Malware Clean-ups and Other Drastic Repairs
- Page 12:WinPE Miscellany
Creating and Managing the WinRE Image File
As it happens, WinRE capability is available from only two sources: the Windows Vista install media and as part of the Windows OEM Preinstallation Kit (OPK), which is a toolset available only to registered Microsoft partners. This may also explain why Microsoft fails to document how to build a WinRE boot UFD and why Technet claims that the WinRE wim file must be named winre.wim and installed on a hard disk (it’s also the case that this is indeed the only way to failover to a WinRE boot image, which may have been more to Microsoft’s point here). But because so many people have Vista installation media and might prefer a speedy boot that takes fewer than two minutes with a UFD instead of waiting for the install DVD to produce the recovery console, we show you how to grab the WinRE windows image file next and fly in the face of this contention.
- Mount the Windows Vista install DVD in your optical drive (I assume it uses drive letter E: ).
- Create a directory named c:\winre as the target for your WinRE image grab, then use imagex to grab the Windows RE image from the Vista-installation media. The secrets to this command are the number two argument, which tells imagex to grab the second Windows image file it finds and the title information in quotes, which eventually shows up on the display window at boot time. I also include a listing of that directory’s new contents, the winre.wim file at about 127 MB.
- Stick your UFD into a USB slot, then copy the winre.wim file into its \Sources\ directory. It will reside alongside boot.wim. Note: you’ll need a UFD of at least 512 MB to have sufficient room to follow this instruction.
When you want to use your UFD to boot to ordinary WinPE, leave this file structure along. When you want to use the Windows Recovery Environment, rename boot.wim to boot.orig, then rename winre.wim to boot.wim. Only then can you boot into the WinRE console as shown at the beginning of the story (you’ll need to rename boot.wim to winre.wim and boot.orig to boot.wim to revert to the original WinPE environment). If you don't see a file named winre.wim in the \sources directory, then you know it’s currently your boot tool, so it should be easy to keep track of. On the other hand, you could set up another directory on the UFD named \images, and keep boot.wim and winre.wim in there. Then you need to only copy boot.wim into the \sources directory to get back to plain-vanilla WinPE. Or you can copy winre.wim into the sources directory, delete boot.wim, then rename winre.wim to boot.wim to use WinRE instead. This way, you always have a backup version in the images directory should you mess up in the sources directory.
- USB Flash Drives
- A Recipe for a Bootable WinPE/WinRE UFD
- Creating the WinPE image
- Prepping Your UFD
- Creating and Managing the WinRE Image File
- When to use WinPE and WinRE
- Table 1: WinPE and WinRE Commands and Programs
- Common uses for WinPE and WinRE
- Emergency Boot Disk
- Delete Otherwise Untouchable Files
- Serious Malware Clean-ups and Other Drastic Repairs
- WinPE Miscellany