Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: DISM - Deployment Image Servicing and Management tool

10 Mar 2009   #1

Windows 7 RC 7100 32bit/64bit
DISM - Deployment Image Servicing and Management tool

I found this tool while searching the system32 folder:


Deployment Image Servicing and Management tool
Version: 6.1.7048.0
DISM.exe [dism_options] {WIM_command} [<WIM_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
         {servicing_command} [<servicing_arguments>]
  DISM enumerates, installs, uninstalls, configures, and updates features
  and packages in Windows images. The commands that are available depend
  on the image being serviced and whether the image is offline or running.
  /Get-MountedWimInfo     - Displays information about mounted WIM images.
  /Get-WimInfo            - Displays information about images in a WIM file.
  /Commit-Wim             - Saves changes to a mounted WIM image.
  /Unmount-Wim            - Unmounts a mounted WIM image.
  /Mount-Wim              - Mounts an image from a WIM file.
  /Remount-Wim            - Recovers an orphaned WIM mount directory.
  /Cleanup-Wim            - Deletes resources associated with mounted WIM
                            images that are corrupt.
  /Online                 - Targets the running operating system.
  /Image                  - Specifies the path to the root directory of an
                            offline Windows image.
  /English                - Displays command line output in English.
  /Format                 - Specifies the report output format.
  /WinDir                 - Specifies the path to the Windows directory.
  /SysDriveDir            - Specifies the path to the system-loader file named
  /LogPath                - Specifies the logfile path.
  /LogLevel               - Specifies the output level shown in the log (1-4).
  /NoRestart              - Suppresses automatic reboots and reboot prompts.
  /Quiet                  - Suppresses all output except for error messages.
  /ScratchDir             - Specifies the path to a scratch directory.
For more information about these DISM options and their arguments, specify an
option immediately before /?.
    DISM.exe /Mount-Wim /?
    DISM.exe /ScratchDir /?
    DISM.exe /Image:C:\test\offline /?
    DISM.exe /Online /?
Usage short example:
DISM /Mount-Wim /WimFile:C:\W7\sources\install.wim /index:1

Looks really promising for working with WIM image files. Off to test it right now!

Note: I found someone has already started testing in order to create a guide. Will try on my part too.
How to use Windows 7 DISM by Muiz - Forums


My System SpecsSystem Spec
27 Aug 2009   #2

Windows 7 Ultimate x64 RTM
WinPE 3.0 Boot Environment Complete Tutorial and Script

I have been working with WinPE ever since version 1.0 and using it to deploy images, make backups, etc. Now that version 3.0 is out I have written a full tutorial on how to use it, build the boot environment, using it in a network/computer support department environment, and using GimageX GUI with DISM to deploy and capture images.

You can read my tutorial on DISM here -> Deployment Image Servicing and Management (DISM) WinPE 3.0 Boot Environment -
You can download my WinPE 3.0 Boot Environment Compilation completely free here -> WinPE 3.0 Boot Environment Scripts -

Let me know what you think. Enjoy and happy imaging!
My System SpecsSystem Spec
20 Nov 2010   #3

Windows 7

You can use the GDism for use the dism.exe on visual mode,
My System SpecsSystem Spec


 DISM - Deployment Image Servicing and Management tool

Thread Tools

Similar help and support threads
Thread Forum
error 87 DISM command-line not working, cant do cleanup servicing
DISM seems to be failing with error code after it was supplied with a valid command-line argument. Executing DISM /online /cleanup-image should return with operation successful. Instead the Deployment Imaging Service & Management Tool now reports there is an error while processing the command and...
Performance & Maintenance
Updates not injecting into image using DISM
Is this forum a good place for posting WDS related question? If not please direct me to the correct forum. Thank you. Issue, short version: after running DISM commands to inject updates to the WDS images, we use the image on a box and there are no new updates installed. Only the originally...
Windows Updates & Activation
Image Deployment of Windows 7
I have a licensing question regarding the deployement of Windows 7. We are currently purchasing notebooks that have an OEM key for Windows 7 Pro and have been configuring each by hand which can get really annoying. I want to create an image of Windows 7 and use it for deployement however I'm...
General Discussion
Virtual Machine Servicing Tool 3.0 Hits Beta.
Source - Virtual Machine Servicing Tool 3.0 Hits Beta - Available for download via Microsoft Connect - Softpedia
Q&A for Deployment and Management of Virtualization
Q&A Deployment and Management of Virtualization With Virtualization one of the barriers to deploying new servers the availability of hardware has been removed this means that it is possible to deploy very large numbers of VMs very quickly, which can be both a blessing and a curse ...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:59.
Twitter Facebook Google+