Vista-kb3 Create bootable USB disk with diskpart and WAIK
From JBKB
Version: 1.0.3
Difficult level: 4/5
Status: Tested and works fine
Requirements
This KB assume you have a USB disk by choice and Windows AIK already installed on your Vista machine.
Diskpart operations
Start CMD in elevated administrator mode:
Type in the following (all in bold):
diskpart
This starts the application diskpart.
list disk
This to verify which ID your flash disk got
select disk 1
where 1 is the Disk ID you verified with list disk
sel disk 1 works as well, now you have selected your flash disk
clean
Warning: This will delete all data you previously had on the flash disk
create partition primary
create par primary works as well, this creates a partition
select partition 1
sel par 1 works as well to select the primary partition
active
act works as well and this active the partition.
format fs=fat32
Format the flash disk with filesystem FAT32.
assign
assign a letter for the flash disk
exit
exit the diskpart application
Boot image
In CMD navigate to your PETools folder (default: C:\Program Files\Windows AIK\Tools\PETools>)
here run:
Copype.cmd x86 c:\winpe_x86
where x86 is your processor architecture and c:\winpe_x86 is your destination folder.

then run the following:
xcopy c:\winpe_x86\iso\*.* /s /e /f g:\
where g:\ is the drive letter for the flash disk.
Now you have a USB disk/key that is bootable with winPE 2.0


