
Windows 7
Creating a Bootable Windows PE Medium
Creating a Bootable Windows PE CD/DVD
1. On your technician computer, create a local Windows PE Build directory. Open an elevated command prompt and enter the following commands:
cd c:\program files\Windows AIK\Tools\PETools\copype.cmd <architecture> <destination>
<architecture> = x86, amd64 or ia64
<destination> = is the path to the local directory
Copype.cmd x86 c:\winpe_x86
2. Copy ImageX into the ISO subdirectory of your Windows PE build directory. On an x86 computer, you enter the following command:
Copy c:\program files\Windows AIK\Tools\x86\imagex.exe c:\winpe_x86\iso
3. Optionally create a configuration file called Wimscript.ini by using a text editor. The configuration file instructs the imagex tool to exclude certain files during the capture operation (for example, pagefile.sys or all .zip files)
4. Save the configuration file to the ISO subdirectory of the Windows PE build directory. The ImageX tool will recognise a Wimscript.ini file in the same location.
5. Create an ISO file by using the OSCdimg tool. For example, on an x86 computer you would click All programs, Microsoft Windows AIK, open the deployment tools command prompt and enter the following:
oscdimg -n –bc:\winpe_x86\etfsboot.com Cc:\winpe_x86\ISO
c:\winpe_x86\winpe_x86.iso
6. Burn the image (Winpe_x86.iso) to a CD/DVD ROM disk.
Creating a Bootable Windows PE UFD
Follow steps 1 & 2 from above and optionally follow step 3 from above.
Prepare a UFD Device –
1. From a running Vista/Windows 7 Operating System or a Windows PE Session, Insert your UFD Device.
2. At a command prompt us Diskpart to format the device as FAT32 Spanning the entire device, and set the partition active:
Diskpart
Select disk 1
Clean
Create partition primary size=(size of device)
Select partition 1
Active
Format fs=fat32 quick
Assign
Exit
The example above assumes Disk 1 is the UFD
3. On your technician computer, copy all the content in the \ISO directory onto your UFD device. You can manually create the structure or use the xcopy command to automatically build and to copy the appropriate files from your technician computer to your UFD. For example:
Xcopy c:\winpe_x86\iso\*.* /s /e /f f:\
Where c is the letter of your technician computer hard disk and f is the letter of your UFD device.