Make new usb driveBefore you get started, you have to make your flash drive bootable. For your convenience here is the command sequence, which you should run on a command prompt with admin rights:
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! Install Windows AIKGet a copy of Windows AIK and install install it. You can try to get your copy here If the link is bad, type "Windows AIK tools" into google and be amazed Create Working WINPE FolderWinPE 3.0 is part of the Windows Automated Installation Kit (WAIK) for Windows 7. 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
Copy files to USB DriveNow, copy WinPE to your USB drive:
Substitute G: for your USB drive letter Install PStartDownload PStartYou can get PStart from http://www.pegtop.net/start/ Download PStart here http://www.pegtop.net/files/PStartSetup211.exe Run the executable and follow the prompts to install it on your usb drive. Be sure that there is a PStart Folder in the root directory of your USB drive Set PStart to automatic at startupIn the next step, we have to make sure that PStart will automatically launch when you boot up Windows PE. For this, you have to mount the wim file on your USB stick with imageX. ImageX belongs to WAIK, which you already downloaded and installed in our last session. Launch the Deployment Tools Command Prompt from the Windows Start Menu and type: mkdir c:\img imagex /mountrw G:\sources\boot.wim 1 c:\img I assume here that your USB drive has the drive letter "G:". Now launch Notepad with admin privileges (right-click and select "Run as administrator") and then open:
Add the following code after the winpeinit line
@echo off
The problem is that the drive letter for your USB drive won’t always be the same because the number of drives in the computer may vary. The following batch script will automatically find your USB drive and launch PStart:
Mount an image for modification
|
docs >