Assuming you have already installed the AIK package in your computer
Cd Program Files\Windows AIK\Tools\PETools\
Copype.cmd x86 C:\WinPE_x86
C:\WinPE_x86>cd iso
C:\WinPE_x86\ISO>mkdir imageTools
C:\WinPE_x86\ISO>cd imageTools
C:\WinPE_x86\ISO\imageTools>
C:\WinPE_x86\ISO\imageTools>copy "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" .
Using the Notepad.exe editor to create the wimscript.ini file with the following exclusion list:[ExclusionList]
ntfs.log
hiberfil.sys
pagefile.sys
"System Volume Information"
RECYCLER
Windows\CSC
[CompressionExclusionList]
*.mp3
*.zip
*.cab
\WINDOWS\inf\*.pnf
save the wimscript.ini file to C:\WinPE_x86\ISO\imageTools>
Create an image file (.iso) by using the Oscdimg tool.
C:\WinPE_x86\ISO\imageTools>Cd \Program Files\Windows AIK\Tools\PETools
C:\Program Files\Windows AIK\Tools\PETools>oscdimg.exe -n -bc:\winPE_x86\etfsboot.com c:\WinPE_x86\ISO c:\WinPE_x86\winpe_x86.iso
Burn the winpe_x86.iso to CD;