Updating WinPE - Ece

Updating WinPE

From Ece

Jump to: navigation, search

Note: This information is specific to our "VBDD" computer.

  • First, mount the current .wim (i.e. C:\winpe_x86\winpe.wim). To do this, use the command:
    "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" /mountrw C:\winpe_x86\winpe.wim 1 C:\winpe_x86\mnt\
  • Now, venture into C:\winpe_x86\mnt\ and edit what you'd like.
  • To unmount the .wim and commit any changes,
    "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" /unmount /commit C:\winpe_x86\mnt\
  • At this point the .wim file (C:\winpe_x86\winpe.wim) is up-to-date. Make a copy of this file, rename it "boot.wim," and place it in C:\winpe_x86\ISO\sources.
  • To create the .iso to burn,
    "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 .iso and enjoy!


Adding drivers to WinPE image

  • Mount the WinPE image
  • Download drivers and extract to a directory
  • Run:
"c:\Program Files\Windows AIK\Tools\PETools\peimg.exe" /inf=PATH_TO_DRIVERS\*.inf /image=PATH_TO_MOUNTED_WINPE
  • Unmount and commit WinPE image

Putting WinPE on USB Key

  • Format the USB drive
 Diskpart
 select disk 1
 clean
 create partition primary
 select partition 1
 active
 format fs=fat32
 assign
 exit
  • Copy WinPE files to USB key
xcopy c:\winpe_x86\iso\*.* /s /e /f e:\