Partilhar via


Create and Manage a Windows Image Using DISM

Applies To: Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2

Deployment Image Servicing and Management (DISM.exe) mounts a Windows image (.wim) file or virtual hard disk (.vhd or .vhdx) for servicing. You can also use the DISM image management command to list the image index numbers or to verify the architecture for the image that you are mounting. After you update the image, you must unmount it and either commit or discard the changes you have made.

You can use DISM servicing commands to install, uninstall, configure, and update the features and packages in offline Windows® images and offline Windows Preinstallation Environment (Windows PE) images. For more information about common DISM scenarios, see DISM Overview (Deployment Image Servicing and Management). For more information about DISM servicing commands, see Deployment Image Servicing and Management (DISM) Command-Line Options.

In This Section

Capture Images of Hard Disk Partitions Using DISM

Use the Diskpart tool and the Deployment Image Servicing and Management (DISM) tool to capture an image and save it as a .wim file.

Mount and Modify an Image Using DISM

Map the contents of a Windows image (.wim) file to a directory to service the image or to perform common file operations such as adding and deleting files.

Apply Images Using DISM

Use the Diskpart tool and the DISM tool to apply Windows images to one or more partitions onto a computer for deployment.

Split a Windows Image (.swm) File to Span Across Multiple DVDs

Split a large .wim file into several smaller files that will fit on your selected media. Copy split .wim files onto your selected media as .iso files.

Create a WIM for Multiple Architecture Types Using DISM

Create a single .wim file that includes both 32-bit and 64-bit Windows images.

Append a Volume Image to an Existing Image Using DISM

Add a second image to an existing .wim file.

Create a Data Image Using DISM

Create a .wim file that contains only files and applications that you intend to copy to the Windows installation by using an unattended answer file.

See Also

Reference

DISM Image Management Command-Line Options