Add an Update to a Windows PE Image (Standard 7 SP1)

7/8/2014

You can use the Deployment Image Servicing and Management (DISM) tool to add an update to an offline image of Windows Preinstallation Environment (Windows PE) 3.0. For more information about DISM, see Deployment Image Servicing and Management Technical Reference.

Most updates from Windows Update do not apply to Windows PE for the following reasons:

  • Windows PE is a subset of the Windows operating system.
  • Windows PE runs few services.
  • Windows PE usually runs as a read-only file system.

To add a Windows PE update to a Windows PE offline image

  1. Mount the Windows PE image to a local directory by using the DISM tool. Consider the following example:

    dism /Mount-WIM /WimFile:c:\winpe_x86\winpe.wim /index:1 /MountDir:c:\winpe_x86\mount
    
  2. Add an update to the Windows PE image by using the dism /Add-Package option. Consider the following example:

    dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:<Path to package> 
    
  3. Find the name of the update by using the dism /Get-Features option. Consider the following example:

    dism /image:<path to image> /Get-Features
    

    By default, the state of each package is Enable Pending, which indicates that the optional component is installed and enabled. For more information about the /Get-Features option, see Operating System Package Servicing Command-Line Options.

  4. Commit the changes to the Windows PE image by using the dism /unmount option with the /commit option. Consider the following example:

    dism /unmount-Wim /MountDir:C:\winpe_x86\mount /Commit
    

See Also

Tasks

Create a Custom Windows PE Image