Apply Updates to an Image Using DISM


Although the recommended method of applying packages and updates to a Windows Embedded Standard 7 image is by creating a Configuration Set and then using Deployment Imaging Servicing and Management (DISM) to install that configuration set, DISM can be used to install individual updates to an image as well. This method some additional risks and is not recommended.


You can only use DISM to apply an .msu file to an offline image. For online images, you must use Windows Update Standalone Installer or create a configuration set or answer file for use with DISM.

Hardware and Software Assumptions

  • You have access to a Windows Image (WIM) file containing the Standard 7 image you want to update.
  • You have the Windows Update Package (.msu) file you wish to apply to your image.

Apply an update package to an offline image

  1. Create a directory on your development computer and mount your image to that directory by typing the following at the a command prompt:

    MD C:\MyDir\Mount
    DISM \Mount-Wim /Wimfile:E:\images\myimage.wim /index:1 /Mountdir:C:\MyDir\Mount
  2. Apply the update package (.msu) file by typing the following at a command prompt, replacing <file_path> with the full path to the configuration set:

    DISM /image:C:\MyDir\Mount /Add-Package /Packagepath:<file_path>
  3. Unmount the image and commit your changes by typing the following at a command prompt:

    DISM /Unmount-Wim /Mountdir:C:\MyDir\Mount /Commit

See Also


Maintain an Image Using a Configuration Set and DISM
Add Microsoft Updates to an Image Using Windows Update Standalone Installer


Add Updates to an Answer File using Image Configuration Editor