IMPORTANT: You must have BOTH Windows AIK and Windows ADK installed on your workstation prior to following this guide.
I am also assuming you have had some prior experience with AIK/ADK and are familiar with the Command Line and drivers (*.inf).
Directions below are for a x86 WinPE 4.0 environment. If you want to create a x64 image, simply swap out my “x86” entries as “amd64” when running commands.
1 – Open ADK’s “Deployment and Imaging Tools Environment” from an Elevated Command Prompt (right-click, run as Administrator)
Windows 7: Start orb > All Programs > Windows Kits > Windows ADK > Deployment and Imaging Tools Environment
Windows 8: Start key > Right-click on “Deployment and Imaging Tools Environment” tile
2 – Enter the following command:
copype x86 c:\winpe_x86
3 – Enter the following command:
copy "c:\winpe_x86\media\sources\boot.wim" "c:\winpe_x86\winpe.wim"
Note: Keep your command prompt open for additional steps below.
4 – Open the Acronis WinPE ISO Builder from an Elevated Command Prompt
5 – Click “Next” to begin. Select the “winpe.wim” file in the C:\winpe_x86 directory. Click “Next”. Name your Acronis WIM file, or accept defaults. Click “Next”, “Proceed”.
The WinPE 4.0 file will now be mounted, injected with the Acronis media, and saved as a new WIM file. If it fails here, you probably didn’t have both AIK and ADK installed (links at top of post for download).
Optional – Add Additional Drivers (chipsets, storage controllers, etc. I like the Dell Driver CABs as I work with a bunch of Dell PCs):
A – Switch back to your “Deployment and Imaging Tools Environment” Command Prompt.
Create a spot to copy drivers into the Acronis WIM:
Store your driver files in this location. Grab your chipsets, storage controllers, NICs, etc. and place them in here.
B – Mount the AcronisMedia.WIM File to inject the drivers:
dism.exe /Mount-Wim /WimFile:c:\winpe_x86\AcronisMedia.wim /index:1 /MountDir:c:\winpe_x86\mount
C – Inject the drivers into the Acronis WIM:
dism /image:c:\winpe_x86\mount /Add-Driver /Driver:c:\winpe_x86\drivers
D – Save the changes to Acronis WIM:
dism.exe /Unmount-Wim /MountDir:c:\winpe_x86\mount /commit
Note: Don’t have Windows Explorer open to the directories you are working with in the Environment Command Prompt as it sometimes doesn’t “unhook” nicely.
6 – We need to copy two files in order to generate the ISO file. Switch back to your “Deployment and Imaging Tools Environment” Command Prompt if you skipped adding drivers in the steps above. You should be in the following directory: c:\winpe_x86
If you are using a 32-bit Version of Windows 7 or Windows 8 desktop to make the ISO:
copy "c:\program files\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\x86\Oscdimg\etfsboot.com"
copy "c:\program files\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\x86\Oscdimg\oscdimg.exe"
If you are using a 64-bit Version of Windows 7 or Windows 8 to make the ISO:
copy "c:\program files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\x86\Oscdimg\etfsboot.com"
copy "c:\program files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\x86\Oscdimg\oscdimg.exe"
7 – Copy the Acronis WIM to the correct location before creating the ISO (you will be asked to over-right the existing “boot.wim” file, enter “y” to confirm):
copy "c:\winpe_x86\AcronisMedia.wim" "c:\winpe_x86\media\sources\boot.wim"
8 – Change your working directory if you aren’t currently in it:
If you run a “dir” command, you should see a list of folders, the “winpe.wim”, “AcronisMedia.wim”, “etfsboot.com”, and “oscdimg.exe” files.
9 – Create the ISO file:
oscdimg.exe -b"etfsboot.com" -n Media "c:\winpe_x86\MyAcronisMedia.ISO"