Skip to main content

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).

Filter by
Sorted by
Tagged with
47 votes
8 answers
36k 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 ...
qroberts's user avatar
  • 5,249
19 votes
1 answer
27k 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?
MichaelS's user avatar
  • 900
15 votes
1 answer
6k views

What is the purpose of the DISM /RestoreHealth parameter and SFC?

What is the purpose of the DISM /RestoreHealth parameter and the SFC /ScanNow parameter? How do they correlate to one another? In what order should they be run? Why does the order sequence matter ...
JW0914's user avatar
  • 8,168
15 votes
3 answers
56k views

How will DISM /Online /Cleanup-Image /RestoreHealth affect my current configuration?

I have two computers (win10x64 and win7x86) that completely freeze from time to time (black screen), and the only solution is to unplug them. If I use DISM /Online /Cleanup-Image /RestoreHealth, how ...
alfred's user avatar
  • 565
14 votes
6 answers
74k 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 /RestoreHealth ...
Skipher's user avatar
  • 335
13 votes
1 answer
56k 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: ...
Gabriel's user avatar
  • 2,940
12 votes
2 answers
18k views

What is the most efficient, native way to image a Windows partition?

What is the most efficient, native way to image a Windows partition? Is the native method generally the best method for most users? How does the native method differ from conventional cloning? What ...
JW0914's user avatar
  • 8,168
9 votes
2 answers
32k views

Windows 10: Why Does CBS.log Say Directory Is Owned Twice or Has Its Security Set Twice?

On my system, C:\Windows\Logs\CBS\CBS.log contains these lines: 2019-10-08 02:00:48, Info CSI 0000008e Warning: Overlap: Directory \??\C:\WINDOWS\System32\drivers\en-US\ is owned ...
Ray Woodcock's user avatar
8 votes
2 answers
61k 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 ...
JohnWineShirt's user avatar
8 votes
2 answers
29k 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 ...
JuliusPIV's user avatar
  • 178
8 votes
2 answers
15k 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 /...
LuckySpoon's user avatar
7 votes
2 answers
18k views

How can I add my product key permanently to a Windows 10 install USB drive?

Good evening, I am trying to activate a Windows 10 IoT Enterprise CBB install permanently with its license key by using the DISM tool. I have found this topic which explains how to do it (mounting ...
Major Squirrel's user avatar
6 votes
3 answers
17k views

Windows 10 DISM cannot find files, even with ISO mounted

After running sfc /SCANNOW in my Windows 10 Pro installation, and getting "Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log ...
vagaerg's user avatar
  • 353
6 votes
3 answers
27k 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, ...
Amol Agrawal's user avatar
5 votes
1 answer
3k 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 ...
Redgum's user avatar
  • 163
5 votes
5 answers
62k 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.
Plof27's user avatar
  • 63
5 votes
4 answers
27k 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: ...
Wouter's user avatar
  • 173
5 votes
1 answer
18k 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 ...
whenwillgatesfixwindows's user avatar
5 votes
4 answers
59k 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 ...
Mgamerz's user avatar
  • 151
5 votes
2 answers
43k 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 ...
alex's user avatar
  • 731
5 votes
4 answers
10k 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 ...
Martin's user avatar
  • 2,855
5 votes
0 answers
8k views

DISM: Error 2 The system cannot find the file specified - during /Cleanup-Image

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 the file specified'. Specs: ...
Chris's user avatar
  • 51
4 votes
1 answer
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 ...
Surgical Coder's user avatar
4 votes
2 answers
5k 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 ...
gilch's user avatar
  • 153
3 votes
3 answers
6k 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 ...
Quad5Ny's user avatar
  • 159
3 votes
2 answers
12k 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 ...
David says Reinstate Monica's user avatar
3 votes
1 answer
2k views

"We couldn’t complete the updates. Undoing changes" endless loop

I need help, everytime I start/restart/shutdown my computer, it tries to install Windows Updates and fails, and showing this: I am able to boot into my computer normally and use it without problems ...
Ξένη Γήινος's user avatar
3 votes
1 answer
11k views

WinSxS folder minimizing with DISM online /SPSuperseded vs DISM online /StartComponentCleanup /ResetBase

In order to minimize WinSxS folder you can use the following DISM commands: dism /online /Cleanup-Image /StartComponentCleanup /ResetBase Using the /ResetBase switch with the /...
Mike's user avatar
  • 433
3 votes
2 answers
5k 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 ...
Andreas Reiff's user avatar
3 votes
3 answers
6k 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 ...
Corey Ogburn's user avatar
3 votes
1 answer
3k views

How to upgrade to a specific build of windows 10

So, I have a Windows 10 installation that has all kinds of issues. It's running Windows 10 Enterprise, 10.0.17134.1130 (x64) I'm trying to restore this with DISM, using another installation of ...
level42's user avatar
  • 156
3 votes
1 answer
925 views

Fixing Windows Update being unable to install updates while sfc and dism are unusable

At some point in the lifetime of my PC Desktop system I got two bluescreens in a row while playing video games. Following that I managed to stop the system from crashing by rewireing all hardware but ...
salbeira's user avatar
  • 181
3 votes
1 answer
12k views

How to mount a WIM image as a drive letter in Windows?

I want to mount a WIM image as a new drive letter on Windows 10. As follows from Microsoft documentation for DISM Image Management Command-Line Options, DISM can only mount a WIM image to an ...
paperskilltrees's user avatar
3 votes
1 answer
1k views

Why do these configuration file exclusions work with DISM /Capture-Image but not the New-WindowsImage cmdlet?

I am trying to create a configuration file to define exclusions for an image capture as described in DISM Configuration List and WimScript.ini Files. The exclusion rules seem to be ignored when I ...
Lance U. Matthews's user avatar
3 votes
2 answers
7k 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 ...
Jan's user avatar
  • 173
3 votes
1 answer
19k 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 ...
Zain Ally's user avatar
  • 452
3 votes
1 answer
1k 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 ...
Tester123's user avatar
3 votes
0 answers
9k views

How to stop Dism.exe /online /Cleanup-Image /StartComponentCleanup?

I have a Windows Server 2026 that executes Dism.exe /online /Cleanup-Image /StartComponentCleanup now for more than one day. This task is executed by TiWorker.exe. I read that it is not save to ...
xMRi's user avatar
  • 247
3 votes
2 answers
7k 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 ...
Elmo's user avatar
  • 14.7k
3 votes
0 answers
1k 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: ...
RBGT21's user avatar
  • 31
3 votes
1 answer
4k 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 ...
slickboy's user avatar
  • 165
3 votes
1 answer
10k 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 ...
Jon's user avatar
  • 464
2 votes
4 answers
4k 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 ...
KidACrimson's user avatar
2 votes
1 answer
2k views

Is Task Scheduler's StartComponentCleanup the exact same utility/process as dism.exe's StartComponentCleanup?

I have a computer that I can only access remotely, and running a scheduled Microsoft/Windows/Servicing/StartComponentCleanup with Task Scheduler seems to timeout after several hours. However, when I ...
cncmang's user avatar
  • 43
2 votes
1 answer
4k 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 ...
shibormot's user avatar
  • 251
2 votes
1 answer
515 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 ...
PatrickC's user avatar
2 votes
2 answers
167 views

DISM /Cleanup-Image actual documentation

Where is actually DISM /Cleanup-Image documented? DISM /Cleanup-Image is mentioned in different pages e.g. https://learn.microsoft.com/de-de/windows-hardware/manufacture/desktop/repair-a-windows-image?...
wolfrevo's user avatar
  • 217
2 votes
1 answer
939 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\...
dfrankow's user avatar
  • 619
2 votes
2 answers
1k 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 /...
acman123's user avatar
  • 773
2 votes
1 answer
7k 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 ...
zdimension's user avatar
  • 13.3k

1
2 3 4 5