How to Use ImageX in WinPE

Boot from the WinPE CD or USB drive, and run ImageX. You can capture to a network location if you map the drive beforehand.


ImageX command:

e:\imagex.exe /capture d: d:\myimage.wim "my Win7 Install" /compress fast /verify


Format and partition

select disk 0, clean, create partition primary, assign letter=c:, active, exit
format c: /q /y


e:\imagex.exe /apply d:\myimage.wim imageNumber(usually 1) C:\


You may need to run bcdedit after applying the image.

x:\windows\system32\bcdedit /set {default} device partition=c:
x:\windows\system32\bcdedit /set {default} osdevice partition=c:
x:\windows\system32\bcdedit /set {bootmgr} device partition=c:

Be the first to comment

Leave a Reply

Your email address will not be published.