Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dism]

Deployment Image Servicing and Management (DISM.exe) is a command-line tool that can be used to service a Windows® image or to prepare a Windows Preinstallation Environment (Windows PE) image. DISM can be used to service a Windows image (.wim) or a virtual hard disk (.vhd or .vhdx).

46
votes
8answers
22k views

Installing Windows 7 x64 on a computer with only USB 3 ports

I am installing Windows 7 x64 on a HP EliteDesk 800 G3 SFF that only has USB 3 and USB Type-C ports. Initially, upon booting the USB install media, the USB keyboard and mouse wouldn't work - this ...
11
votes
6answers
61k views

Windows 10 DISM error: 0x800f081f

I have been trying to run sfc /scannow in cmd but have been unsuccessful. Therefore, after some research on the Internet, I turned to the following command: DISM /Online /Cleanup-Image /...
10
votes
1answer
12k views

How to check if Windows Feature is installed and enabled with DISM.exe?

How to check if Windows Feature is installed and enabled with DISM.exe?
9
votes
1answer
33k views

How to run DISM against a local source?

How can I run DISM agaisnt a USB Windows installer to repair my local Windows files? This is what I tried in Windows 8.1: DISM /Online /Cleanup-Image /RestoreHealth It returns error 0x800f081f: ...
8
votes
2answers
11k views

DISM /StartComponentCleanup fails, but /ScanHealth reports healthy

My WinSxS cleanup task was giving the "Last Run Result" of The component store has been corrupted. (0x80073712). No problem, to elevated command prompt and DISM. >DISM /Online /Cleanup-Image /...
6
votes
2answers
14k views

DISM to Capture Entire Disk As-Is

In short: Is it possible to leverage dism to capture an image of an entire disk as-is, akin to taking an image with Ghost, GParted, PartedMagic, CloneZilla etc.? I've got a shiny new machine and ...
6
votes
3answers
23k views

“Pkgmgr is deprecated” error while installing Windows Media Player

While installing WMP or Sony PC Companion, the installation gives the same error that is: Note: The PkgMgr.exe has been deprecated. Please update your scripts to use dism.exe to extract, install, ...
5
votes
1answer
2k views

Why does Diskpart tell lies in WinPE?

I'm working on producing a scalable imaging process with Windows Embedded 8.1 Industry pro. The hardware is a small form-factor Jetway PC motherboard with a UEFI compatible BIOS. I boot the box using ...
5
votes
4answers
9k views

Can't add .NET3.5 to Windows 8.1 using DISM

The same command line that works fine on Windows 8 PCs doesn't work on Windows 8.1 PCs. DISM.exe /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:C:\Users\Admin\Desktop\sxs ...
5
votes
0answers
5k views

DISM: Error 2 The system Cannot Find the File Specified - during /Cleanup-Image

hopefully someone can help me. I was trying to get rid of old windows update files by running Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore. I am getting Error: 2 'the system cannot find ...
4
votes
1answer
2k views

DISM and Dependencies

Is there a way to list out dependencies for each feature that you want to install via DISM? E.g. if I wanted to install IIS-ASPNET, I will need to install IIS-BasicAuthentication and IIS-Core (or ...
3
votes
5answers
33k views

DISM error 87 the add-package option is unknown

I am attempting to manually install Windows update KB2999226. I have extracted the msu file, but when attempting to install the .cab file through dism, I get the following error.
3
votes
3answers
5k views

Disable Windows 8.1 Component Store (WinSxS/DriverStore) automatic compression?

Windows 8.1 has a new Scheduled Task (Servicing\StartComponentCleanup) which will automatically delete or compress superseded and unused files from the Side by Side store, DriverStore and drivers ...
3
votes
2answers
8k views

How do I fix the errors listed in this CheckSUR.log file?

I'm trying to update my Windows 7 machine using Windows Updates but I'm continually getting error 800B0100 (similar to whats reported here, here, and here). After taking several steps mentioned in ...
3
votes
3answers
5k views

SFC found errors, DISM named the errors, but how can I fix them on Windows 7?

My computer crashed while running an old game not really meant for Windows 7. After every unexpected shutdown, I run sfc /scannow and this time it came back with errors. A long log, 12000 lines of ...
3
votes
1answer
7k views

Can dism be run with all features on windows 7

I've tried running dism from folder C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\x86\DISM on Windows 7 SP1 (32 bit). I still get limited command options and error ...
3
votes
2answers
4k views

Windows update fails with error 80073712, how to fix?

I have a laptop with Windows 8.1. Since patch Tuesday, it mysteriously freezes for about 4 minutes shortly after every bootup. There's barely enough time to log in before it happens. I tried a System ...
3
votes
2answers
4k views

component store is corrupted - 0x800f081f

I had problem install windows update. I found in event log problem with component store. First I check component store with Deployment Image Servicing and Management tool. Scanhealth dism /online ...
3
votes
1answer
17k views

Can dism /restorehealth be used to restore from a mounted 8.1 ISO?

On my x64 Lenovo z580 laptop with Windows 8.1 x64, I was trying to install KB2919355 when I encountered the error 80073712 which translates to component store corruption. Since then, I have run the ...
3
votes
1answer
576 views

Can you mount a .wim image using DISM?

I created a custom script to mount a sysprepped Windows 7 .wim image to a directory so I can edit a specific file in the image and then unmount it. The script seems to work just fine; however, each ...
3
votes
0answers
980 views

DISM Error 2 with custom Windows 7

I am trying to add storage drivers to a company customized version of Windows 7. I am able to mount this image using imagex, but when I try to put the drivers in using DISM, i get the following error: ...
3
votes
0answers
3k views

Windows 8 - DISM.exe /Online /Cleanup-Image /RestoreHealth Crashes - Error Code 0x800F0906

Background Info: I have a virtual copy of Windows 8 Pro x64 running on Oracle Virtual Box. When I try to install update KB2977766-X64, I receive error code 0x80073712. This occurs when I use both ...
2
votes
4answers
14k views

DISM fails with 'There is not enough space on the disk.' while capturing an image

I use DISM to capture images and store them on a network disk. I use a standard 32bit WinPE 4.0 environment to capture them. My current path was set to i:\images and I executed the following command: ...
2
votes
2answers
2k views

Windows 10 Upgrade: Stops at 23% without error, Dism not mounting boot.wim WIM Image

I am attempting an OS Upgrade Windows 8.1 Pro -> Windows 10 Pro. The Problem The installer does not give a message apart from saying that it failed at roughly 23%, opening the setuperr.log, I get ...
2
votes
1answer
367 views

How do I locate uncorrupted versions of corrupted files after running sfc /scannow

I had some corrupted system files. I have run sfc /scannow several times, and Dism ... RestoreHealth (followed by sfc /scannow again). This has fixed nearly everything, but I am left with the ...
2
votes
1answer
758 views

How do I remove windows features from disk in windows 7

This article says that one can use DISM /Remove to remove features from disk, changing the status to "Disabled with Payload Removed" instead of just "Disabled." When I tried, it said: C:\Windows\...
2
votes
1answer
18k views

dism.exe error on driver .cab installation

I'm trying to install .cab file on Windows 8.1. The file contains a driver and was downloaded from the Microsoft Update Catalog. File's path is e:\audio.cab and I use the following command (in ...
2
votes
2answers
6k views

Force DISM to unmount/delete a mounted Windows WIM

I use DISM to customize and update images that I deploy to our computers. I do this on an external drive because its really heavy on I/O. A while ago I appear to have left the image mounted in my F ...
2
votes
1answer
11k views

Unable to install IIS on Windows 10

I just upgraded my Windows 8 machine to Windows 10 yesterday. I did not have IIS installed at the time (though I've installed it with ease on other machines in the past). I was hoping it would once ...
2
votes
1answer
1k views

Windows 7 Deployment Image Servicing and Management (DISM) tool fails when trying to clean C:\windows\winsxs

I am running Windows 7 Home Premium 64-bit edition and I am tyring to run the Windows 7 Deployment Image Servicing and Management (DISM) tool, DISM.exe, have to try and clean/reclaim some space from ...
2
votes
0answers
3k views

sfc /scannow: What does “Duplicate ownership for directory” mean and how do I fix it?

I'm running WIndows 10 version 1709 (OS Build 16299.248). When I run sfc /scannow, it results in: Windows Resource Protection found corrupt files but was unable to fix some of them. Details are ...
2
votes
0answers
2k views

How do I fix a corrupted WIM file?

TLDR I have a corrupt WIM archive that I'm trying to extract. I have tried using DISM, but it won't let me mount it because it doesn't recognize it as a WIM file. I have also tried editing it with a ...
2
votes
2answers
2k views

Upgrade Windows installation from command line [DISM/ImageX]

One of the most amazing things I learnt on this site is how to install Windows without using the setup, from the command line. Now I want to upgrade an Windows 10 build 10240 installation (on an ...
2
votes
0answers
2k views

Windows Update causing server meltdown

A failed windows update caused my Windows Server 2012 R2 install to have a meltdown. Update package: Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 failed and every ...
2
votes
1answer
3k views

Windows 8.1 missing WinRE.wim in WinPE

I'm trying to pull a Windows 8.1 .wim file down to a laptop (the same laptop that was the source of the .wim), and am following these directions from MS. Everything works until "W:\Windows\System32\...
1
vote
3answers
2k views

Cannot install Windows 10 Creator update: “something went wrong” error code 0x800703ed

I have an older Lenovo Thinkpad that I dual boot Win10 & Kali Linux on. I cannot get the "Creator's Edition" update to install. The error code I keep getting is 0x800703ed So far I have: - Ran ...
1
vote
1answer
9k views

Use DISM on different parition

I am trying to repair a corrupted windows installation which is on a separate local drive d: using DISM but I cannot find any information on how to run DISM to a repair a windows installation which is ...
1
vote
1answer
2k views

Dism option difference: /mount-image vs /mount-wim

what is differrence between this two methods of image manipulation of dism from windows 8.1? dism /Mount-Wim:image.wim ... and dism /Mount-Image:image.wim ...
1
vote
3answers
372 views

Applying a WIM with duplicated file entries

I wanted to cleanup the partition table on my drive, so I grabbed another drive and made a Windows To Go workspace. In that WTG system, I backed up my exising Windows 10 with DISM. Then I cleaned the ...
1
vote
1answer
2k views

DISM doesn't work for Windows Vista image

I was trying to add the Spanish language pack and remove the English LP to Windows Vista Ultimate x64 SP2 iso file. Some info that will help you to answer: The OS installed on my PC is Windows 7 ...
1
vote
1answer
766 views

Windows 10 SFC and DISM errors

First of all, I know this is a duplicate but there was no real answer to the other question Windows 10 DISM error: 0x800f081f and I'm still not allowed to comment. :/ My original problem is an ...
1
vote
1answer
40 views

how can I do incremental backups using DISM in Windows 10?

How can I do incremental backups of folders using dism tool in Windows 10? Using dism one can create wim images from folders. dism /Capture-Image /ImageFile:D:\MyFolder.wim /CaptureDir:C:\MyFolder /...
1
vote
1answer
2k views

Enable “Graphics Tools for Windows 10” feature offline?

I am trying to build a Visual Studio 2015 project requiring Graphics Tools for Windows 10 as enabled feature. I've read that this could be installed (=enabled) using Windows 10 UI named "optional ...
1
vote
1answer
3k views

Windows Update frozen bootloop, can't remove update using DISM

OS: Windows 10 Pro x64 14393.187 PC: Asus M51AC-FR034S Hardware: Intel Core i7 4770S; Asus GTX 760; 16GB DDR3 1333MHz Storage: 1TB HDD; 240GB SSD (Samsung 850 Evo) After 35 days of uptime, fearing ...
1
vote
1answer
2k views

Online edition upgrade Windows Server 2012 (R2)

I had to find a way to upgrade a server from Windows Server 2012 R2 Standard to Windows Server 2012 R2 Datacenter Edition. A colleague did the installation of the Standard edition instead of the ...
1
vote
1answer
8k views

windows 7 Slipstream drivers to the install dvd/iso

I would like to know how can I slipstream drivers into the installer correctly. I know that I can insert inf files with dism but I'm wondering, whats up with driver install packages like a bluetooth ...
1
vote
1answer
114 views

Dism error 87 “cleanup-image option is unknown”

Im in winPE trying to use: dism /image:d:\ /cleanup-image /restorehealth /source:d:\temp on an offline image but cannot get past this error: "Dism error 87 “cleanup-image option is unknown”. I ...
1
vote
0answers
283 views

How Can I Execute DISM Through A Specific Source On Windows 10?

Right now I my computer crashes with errors like SystemService exception. It does this quite frequently. Especially if I run a GPU intensive application like a game. I've executed a DISM command for ...
1
vote
0answers
461 views

Error 582 while trying to access Windows Features

Today went to turn on the Hyper-V feature in the "Turn Windows Features On and Off" settings, but the dialogue would always just load for like 20 seconds then crash my machine. I looked up ...
1
vote
0answers
285 views

Boot WinPE from usb-stick using Command Prompt

I'm using a usb-stick with WinPE and dism to apply a Win8.1 image (*.wim) to a pc. After applying the image, the pc boots with Win8.1 and a few scripts are executed automatically doing some ...