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).
225 questions
-1
votes
2
answers
230
views
How to install Windows features from a CD or ISO image?
I have downloaded a Windows 11 ISO from Microsoft and de-bloated using the tiny11 script from here:
https://github.com/ntdevlabs/tiny11builder
I used tiny11Coremaker.ps1 script to remove stuff. The ...
1
vote
1
answer
109
views
Windows MSU Patch Installation Fails at 94% Post-Restart with "Undoing Changes" – No Errors in CBS Logs (Tried DISM Extraction & Step-by-Step Install)
I'm encountering an issue installing a Windows MSU patch (e.g., KBXXXXXXX) using WUSA on Windows 10. The initial installation phase completes successfully, but after restarting, the post-install phase ...
0
votes
1
answer
271
views
`dism /online /cleanup-image` aborts with error 2, 'The system cannto find the file specified'
My windows is in German, so many of the following messages are in German. I have added the English translations where needed.
The problem at my Win 11 x64 Pro startet when I wanted to open notepad.exe,...
0
votes
0
answers
100
views
DISM suddenly showing up on screen?
A command line entry suddenly popped up unexpectedly on screen talking about some image management tool, so I took a screenshot, shut down my PC as fast as possible, and read up, as I never saw that ...
1
vote
0
answers
260
views
Windows 10 DISM fixed 100 of 109 files, how to fix remaining 9 corrupted files?
I have spent several days trying to get DISM to fix corrupted files.
C:\windows\system32>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of ...
0
votes
0
answers
166
views
Is it possible to create a "broken hard link" in Windows?
Note: This question is specifically about hard links in Windows like those used by the Windows Component Store This question is not about Reparse Points, Symbolic Links, or Junctions.
I am using ...
1
vote
0
answers
84
views
How do I search for packages or software installable via DISM On Windows Server 2022 Standard Edition
I'm running Windows Server 2022 Standard Edition. I'd like to search for packages so I can know what's the command to install them for a command like dism /online /enable-feature /featurename:IIS-...
0
votes
0
answers
285
views
sfc and dism cannot run in Windows Install USB Troubleshoot Command prompt - what can I use?
I have a Thinkpad X220 Laptop, which came with licensed Windows 10 Home preinstalled; I managed to set it up as dual boot with Ubuntu 20.04 via GRUB, and it worked great for some years.
A month or so ...
0
votes
0
answers
254
views
Do I need /generalise when sysprepping for a different machine?
I am trying to setup low/zero touch windows 11 installations for a small pc repair shop which will work on a variety of different machines and licensing situations. I was able to create an unattended....
1
vote
0
answers
268
views
Windows Update error 0x80004005 | DISM can't restore health or clean components [closed]
I've been having an issue with my Windows 10 installation for almost a year now. I've been trying to install a Windows 10 Feature Update since around last year's September and I've been unable to.
...
1
vote
1
answer
1k
views
DISM not completing image capture
I am attempting to capture an image of a 37GB VHD I converted from a Windows 11 Oracle VM. I have mounted the VHD drive and am trying to use DISM to capture an image. I'm using the command:
"dism ...
1
vote
0
answers
349
views
DISM app associations does completely whatever
I need to update the default files of a few w11 machine, using Dism /Online /Export-DefaultAppAssociations and Import-DefaultAppAssociations I can do this easely. Except not, DISM does shit from a to ...
1
vote
0
answers
139
views
DISM - how to download offline installer
This dism command install MediaFeaturePack for Windows 10 N LTSC:
dism /online /add-capability /capabilityname:Media.MediaFeaturePack~~~~0.0.1.0
Is there a way to somehow modify it to get an offline ...
2
votes
0
answers
4k
views
Is 'sfc /scannow' really needed after 'Dism /Cleanup-Image /RestoreHealth'?
I've been trying to delve deeper into how Dism /Cleanup-Image /RestoreHealth and sfc /scannow works and came to a conclusion that, in terms of the final result, /RestoreHealth completely covers and ...
0
votes
1
answer
70
views
WIM file and disk addresses
Does a WIM file contain disk addresses of the files it contains?
If I was to create a WIM image of a partition using Dism, and then apply that image to a new partition, again using Dism, would the ...