In this step, you replace the default Boot.wim in the \ISO directory with your new customized image. For example, imagex /unmount c:\winpe_x86\mount /commit Step 7: Replace the Default Boot.wim File In this step, you commit the changes to the original image file (Winpe.wim) by using the ImageX For example, dism /cleanup or Imagex /cleanup This operation can reduce the overall image size. This operation removes any non-installed or corrupt packages from the final image. In this step, you prepare the image by using the Dism or Imagex /cleanup command. To load the tools into memory along with Windows PE, copy the source files into the mounted \Windows directory. The media must be available to access the tools. In both previous examples, the tools are not loaded into memory during a Windows PE RAM boot. Where can be Windows OPK or Windows AIK and can be Xcopy “c:\program files\\Tools\\Servicing” c:\winpe_x86\iso\Servicing /sĬopy %windir%\system32\msxml6*.dll c:\winpe_x86\iso\Servicing
You must copy the entire \Servicing folder and MSXML6 binaries. For example, at a command prompt,Ĭopy “c:\program files\\Tools\x86\imagex.exe” c:\winpe_x86\iso\Ī tool for servicing Windows image (.wim) files offline. The following is a list of common tools to include in your Windows PE image.Ī command-line tool for capturing and applying images during deployment scenarios. You can add applications and scripts to your Windows PE image that you might need while working in Windows PE. Step 4: (Optional) Add Additional Customizations Repeat for each package you wish to add to your mounted wim file. Windows Management Instrumentation (WMI) support Windows Recovery Environment component (available only on the Windows OPK) Also I have only shown the x86 folder path option but that can be replaced with the ia64 or amd64 folder path optionsĪdditional font support for ja-jp, ko-kr, zh-cn, zh-hk, and zh-tw. Note: all spaces and colons must be “as shown” above.
You can also import packages and add drivers and language packs.Īdd a Windows feature to the base image by using theĭism /image:c:\winpe_x86\mount /add-package /packagepath:”c:\program files\windows aik\tools\petools\x86\WinPE-HTA.cab” Windows features are included with the base image (Winpe.wim) but are not installed.
This is where using the newer Windows 7 AIK tools differs from the older versions you are no longer using tools like “peimg” since they have been incorporated into DISM.īy using the Dism tool, you can install Windows features by using the Imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
By default, all tools are installed at C:\Program Files\ version\Tools, where The menu shortcut opens a Command Prompt window and automatically sets environment variables to point to all the necessary tools.
Windows OPK or Windows AIK, and then click On your technician computer, click Start, point to All Programs, point to.In this step, you create a required directory structure that supports building a Windows PE image. Step 1: Set up a Windows PE Build Environment