Create and Modify WinPE CD

This guide documents how to make a WinPE boot CD for the x86 architecture.

The WinPE environment is designed for installing Windows 7, troubleshooting and recovery.

Software required:

  • Windows AIK
    1. Open the ‘Deployment Tools Command Prompt’ (start -> All Programs -> Windows AIK)
    2. Run the following command

      copype.cmd x86 c:\winpe_x86
    3. Browse to c:\winpe_x86\ISO and create a new folder called ‘tools’
    4. Copy the following files to the tools folder
      • C:\Program Files\Windows AIK\Tools\x86\imagex.exe
      • C:\Program Files\Windows AIK\Tools\USMT\x86\usmtutils.exe

       

    5. Create a new text file called ‘wimscript.ini’ and save the following text inside.
    6. [ExclusionList]
      ntfs.log
      
      hiberfil.sys
      
      pagefile.sys
      
      "System Volume Information"
      
      RECYCLER
      
      Windows\CSC
      
      [CompressionExclusionList]
      
      *.mp3
      
      *.zip
      
      *.cab
      
      \WINDOWS\inf\*.pnf
    7. To enable scripting support run the following command to install the scripting package.
      dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program 
      Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab"
    8. Browse to C:\winpe_x86 copy winpe.wim and paste it to C:\winpe_x86\sources\
    9. Rename the new winpe.wim as boot.wim
    10. Create the image file by running the following command:
    11. Oscdimg -n –bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso
    12. The image is now located at the C:\winpe_x86 folder and can be burned to a CD.

 

Was this article helpful?

Related Articles