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
-1 votes
0 answers
31 views

Extract all existing languages pack from windows installation image

I need to extract some language packs from an exist windows 10 image as cab files in order to add them to another windows iso image with same version and same build number. I didn't try any thing ...
MBen's user avatar
  • 1
0 votes
1 answer
79 views

DISM error 87, "The destination folder or file... does not exist". But, it does

I'm trying to create a simple batch script to backup my drivers on any Windows PC. If I enter my script line-by-line in cmd it works fine, but when I run it as a batch script it gives me an error &...
Gimme5's user avatar
  • 1
0 votes
0 answers
29 views

Dism wim export and split different hashes

I have a rather weird question. I am in the process of creating bootable media/ images and I noticed every time I split a .wim into smaller .swm files the file hashes change for the .swm file every ...
Steven erberg's user avatar
1 vote
0 answers
72 views

When mounting a WIM file, does the performance of the disk containing the mountpoint matter?

Let's say I am mounting a WIM image on Windows using dism: dism /Mount-Image /ImageFile:D:\work\sources\install.wim /Index:1 /MountDir:E:\work.tmp Here, D:\work is the "source" directory (...
intelfx's user avatar
  • 172
2 votes
1 answer
344 views

Windows 10 1709 Won't Upgrade / DISM Errors

I am trying to install a more current version of Windows 10 but everything I have tried has failed. I don't know if problems with sfc /scannow and DISM are related but the latter is also problematic. ...
Brian's user avatar
  • 977
2 votes
0 answers
2k 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
  • 237
0 votes
1 answer
630 views

After applying WIM image using Dism, Windows doesn't work correctly

I have a freshly installed Windows 11 that isn't experiencing any errors or problems. All of my applications are working just fine. I would like to move this installation to a different hard disk. For ...
megapro17's user avatar
  • 113
0 votes
1 answer
356 views

Add software to Macrium Reflect Windows PE rescue media

I have created a WinPE 10 rescue medium on a flash drive and would like to add additional software (PortableApps, Veracrypt, Sysinternals tools) and drivers. When I just copy the portable executables ...
bosti's user avatar
  • 3
0 votes
1 answer
545 views

How to create a Windows setup usb/iso but ignore specific hardware component or driver

A common issue I find online is people with the "DRIVER PNP WATCHDOG" bluescreen during the setup of windows from say a bootable ISO created with the Microsoft iso tool or with Rufus. ...
David d C e Freitas's user avatar
1 vote
1 answer
946 views

Windows Dism.exe /RestoreHealth /LimitAccess, no /Source, Where is the Features on Demand location and should I use it?

Regarding the command Dism.exe /Online /Cleanup-Image /RestoreHealth /LimitAccess Normally /RestoreHealth is used without /LimitAccess, which makes Dism use Windows Update to compare against the ...
Jeff's user avatar
  • 544
1 vote
1 answer
261 views

How to manually add a program to the list of windows optional features so that it can be turned on or off?

The C:\Windows\System32\OptionalFeatures.exe program allows to Turn windows features on or off by checking or clearing the checkboxes from the shown list. For educational/learning purposes, how can a ...
user3330840's user avatar
1 vote
0 answers
666 views

How to force install a windows optional feature which was completely deleted and is absent from the Dism /online /Get-Features?

The original Windows 11 installer ISO was modified to work in a constrained resources settings and thus had completely removed the trace of most of the Windows' components, packages, or features to ...
user3330840's user avatar
0 votes
1 answer
203 views

Windows 11 - C:\Windows is a file not a directory of size 0 B. DISM tool try repair and other methods

C:\Windows is a file of size 0 B. What is happening in the system: Explorer.exe Location is not available. C:\ not available. Access denied. WinAnotherOS:\Users\user01>C: Access denied ...
nie_znaleziono's user avatar
1 vote
0 answers
232 views

Can't enable Virtual Machine Platform for WSL using DISM

I try to turn virtual machine by "turn windows feature on or off" but an error occurs: Error code: 0x80070490 Then, to enable WSL 2, I also try to run dism.exe /online /enable-feature /...
Phúc ˑ's user avatar
1 vote
1 answer
534 views

Can't enable Virtual Machine Platform for WSL using DISM [closed]

To enable WSL 2, I try to run dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart, but an error occurs: Error: 1168 Element not found. this is my dism.log file: ...
Phúc ˑ's user avatar
0 votes
0 answers
32 views

prevent files in mounted WIM images from being marked as sparse

I captured a image via dism /Capture-Image /Compress:max /CheckIntegrity /Verify /NoRpFix /EA /CaptureDir:D:\ /ImageFile:image.wim /Name:image. After mounting the image via dism /Mount-Image /...
goweon's user avatar
  • 1,703
0 votes
1 answer
277 views

Hacking a Windows 11 Installation Setup

During Windows 11 installation: Obviously install.wim's only image inside is extracted in this "Copying Windows files" stage. Now, this install.wim, I wish to replace with my own WIM file ...
Tempus Nomen's user avatar
1 vote
0 answers
88 views

How to get the KB Article number from a cumulative rollup without having to search for it

This is very different from similar questions I have read on this site. The problem I have, screenshot provided, is the cumulative update only says "rollup". There is no KB number and I have ...
webby68's user avatar
  • 227
1 vote
0 answers
169 views

dism for a subset of Hyper V features only

Environment: Mix of Windows 10 and Windows 11 Trying to use dism to enable Hyper V Hypervisor only. Tried: dism /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V-Hypervisor Complains of need to ...
Parag Doke's user avatar
0 votes
0 answers
30 views

Appending more images to install.wim. Would it be applied as well?

I'm appending an image of another drive, D:, to install.wim (an install.wim that already contains a slightly customized Windows). The additional image of D: is of course at index 2. When I run the OS ...
Tempus Nomen's user avatar
0 votes
1 answer
351 views

DISM Apply-Image out of Windows PE without formatting - loading screen

I am looking for a way to reapply the wim image without losing any users data out of Windows PE. So far my script looks like that: $TSProgressUI = New-Object -COMObject Microsoft.SMS.TSProgressUI $...
Stephan's user avatar
  • 101
2 votes
1 answer
1k 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
0 votes
0 answers
347 views

How to enable WSL2 , DISM can't find it on my updated Win10

I followed: https://docs.microsoft.com/en-us/windows/wsl/install-manual Here is the output of the first command Deployment Image Servicing and Management tool Version: 10.0.19041.572 Image Version: ...
Aivan Monceller's user avatar
2 votes
3 answers
907 views

WinSxS filling so fast that DISM cleanup cannot operate

I have a Windows 10 machine that is seeing the WinSxS folder fill up so quickly that DISM cannot run, and c: shows 0 bytes free. The machine also has a D: with 30 GB+ free space, so I have tried ...
cncmang's user avatar
  • 43
0 votes
0 answers
216 views

Why am I still able to use unsigned drivers without pressing F8 disable driver signature enforcement?

I am booted into windows 7 with test signing off and without enabling 'disable driver signature enforcement' These drivers are working fine and I'm not sure why. Initially, when I installed windows 7 ...
Lewis Kelsey's user avatar
0 votes
1 answer
198 views

Creating a clean WIM/ESD file out of my current Windows Server 2012 installation

Here's my scenario: We have an old Dell PowerEdge Server with an OEM Windows Server 2012 Foundation license. The machine is working perfectly and there's currently an OS deployment running on it, ...
Diazin's user avatar
  • 1
1 vote
1 answer
4k views

How to install simplified Chinese IME basic input features offline on Windows 11?

I want to add Chinese Pinyin IME on my Windows 11 PC, which requires addition package "Basic Input" to be installed. However my computer cannot install optional feature, language pack, ...
user167420's user avatar
0 votes
1 answer
1k views

Windows 10/11 cannot install feature updates, optional features or store apps: permission error 0x80070005

Since last November a permission-denied problem with 0x80070005 has been plaguing my PC. The problem occurs when: Installing/updating an app in Microsoft Store. If I search for an app that failed to ...
user167420's user avatar
0 votes
1 answer
2k views

Apply autounattend.xml after deploying image with Dism

I am looking for a way to apply an autounattend.xml/unattend.xml after the image has been deployed with Dism to bypass OOBE: I have deployed a Windows image with Dism, adding the autoattend.xml to ...
K S Maan's user avatar
0 votes
0 answers
128 views

Any solution for this blue screen loop?

folks! I am not an experienced windows os user and hope you can help with this. Few days ago I downloaded some windows updates. Posterior to restart it was showing a blue screen with some ...
Jordy Cuan's user avatar
1 vote
0 answers
56 views

My mouse cursor is self-clicking and flickering

My mouse cursor is behaving like mad, it's continuously self-clicking. Option of left-click appear without me clicking it and it selects on of the option from the list. Especially while browsing it ...
nish's user avatar
  • 31
0 votes
1 answer
100 views

W2K12 R2 - Windows update fails to install newest patches. DISM doesn't work either.(Error: 0x800f0906)

as I mentioned in tittle I have problem with installing newest patches, it fails everytime. NFC /SCANNOW doesn't finds any corrupted files. CHKDSK is also fine. DISM - online\image 0x800f0906\...
MajB's user avatar
  • 1
0 votes
1 answer
53 views

Having to run Windows 10 System File Checker every few months

My question is should I schedule a sfc /scannow on my latop once every week to prevent the startup issues I'm describing below or does anyone have any other ideas for me. Every few months on my ...
Jason Vorpahl's user avatar
0 votes
0 answers
185 views

How to identify Windows ISO version from Linux?

I downloaded a Windows 10 21H1 ISO file from here, and I need to find out the specific version number, not just 21H1. From windows you can use the DISM command to locate that info, but how would I ...
DarkBrave_'s user avatar
0 votes
0 answers
45 views

DISM restore capability removed from WIM copy, using original

Suppose I was over-eager in pruning my Windows install image: FOR /f %I ('DISM /Image /Get-Capabilities /Format:Table') DO DISM /Image /Remove-Capability /CapabilityName:%I Can I restore individual ...
shannon's user avatar
  • 101
-1 votes
1 answer
3k views

How do I fix this file that SFC flags as corrupted if using a copy straight from a brand-new ISO doesn’t work?

I recently set up a new Windows 10 PC (then v20H2), and whilst customizing it, I replaced the default “new email” sound (C:\Windows\Media\Windows Notify Email.wav) with the Win8.1 version, which I ...
Walter's user avatar
  • 141
0 votes
3 answers
12k views

Windows 10 Update Failure (2021-05 Version 20H2) KB5003173

I am updating my Windows 10 PC to v20H2 and it's stuck at 20%, stating it cannot be installed due to error 0x800f0831: CBS Log: Info CBS Store corruption, manifest missing for package: Windows-...
Kawaii Nea's user avatar
1 vote
0 answers
569 views

DISM unable to capture a dir located on network disk

I am trying to capture an image with DISM, where the /capturedir path is located on a NAS mapped to Z: via net use in the same elevated command prompt that is running DISM (Z: works fine with any ...
Anton M's user avatar
  • 171
0 votes
2 answers
6k views

How to modify a WinPE iso to also have the ability to install Windows from the WinPE

I want to use an existing WinPE.wim to troubleshoot problems and run Windows' install's setup.exe, with a desktop shortcut linking to it. Is this as simple as adding a desktop shortcut to folders ...
SteveF's user avatar
  • 13
0 votes
1 answer
507 views

What effect does the Windows Build # Have on DISM Restore?

I've been researching DISM functionality and I've read several articles, such as: https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image https://docs.microsoft.com/...
Daniel's user avatar
  • 111
0 votes
0 answers
109 views

Adding powershell and other packets to winre.wim doesnt work (0x800f081e)

as the question tells im trying to add powershell as a feature to a pxe bootable winRE.wim. I get the errorcode 0x800f081e and it says the packet is not valid for this image. For a better look, you ...
J.Doe's user avatar
  • 1
0 votes
0 answers
199 views

How do I switch from an old version of ADK to new version permanently in Windows 2012 R2 server?

Methods attempted: Edited the environment variable PATH and kept path of ADK "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" in ...
priyalsoni's user avatar
0 votes
1 answer
606 views

Unable To Install Windows KB

I am trying to install KB4592440 and it keeps failing. Since the user is remote ... I ran: DISM.exe /Online /Cleanup-image /Restorehealth And I found this bad reg key: (p) CBS Registry Error ...
user1256874's user avatar
3 votes
1 answer
1k 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
1 vote
1 answer
1k views

How to install Linux subsystem for Windows

I'm encountering a problem while trying to install Linux subsystem on my Windows 10 machine. I'm following the procedure, found on this URL. I've tried to launch the following command (in Powershell, ...
Dominique's user avatar
  • 2,017
0 votes
1 answer
3k views

Corrupted .NET Framework 4.0 Installation on Windows 10

After a bad Windows Update, sfc /scannow has confirmed that a bunch of .NET Framework 4.0 files are "corrupt". Here is an extract from the logs listing all corrupted files: C:\WINDOWS\...
Alain's user avatar
  • 803
1 vote
0 answers
477 views

Does Dism /Online /Cleanup-Image /RestoreHealth change anything if there are no corrupt files?

I ran RestoreHealth instead of ScanHealth-CheckHealth accidentally and now it's taking a while to complete and i think stopping it now could cause some issues. Will this change anything in my windows? ...
Tenno Skoom's user avatar
1 vote
2 answers
2k views

Dism.exe /ResetBase error on Windows server 2016

I'm executing the command DISM /Image:E:\WIM\Mount /Cleanup-Image /StartComponentCleanup /ResetBase on an offline mounted WIM Image. I'm facing this error: Error: 0x800f0806 The operation could not ...
priyalsoni's user avatar
0 votes
1 answer
4k views

Clone disk from cmd

Is there a way to clone a disk from the command prompt? I know about programs like Minitool Partition Wizard which can easily perform a clone from within Windows itself, but at the moment I only have ...
Foxel's user avatar
  • 1
0 votes
2 answers
3k views

DISM Error code 11 when converting Windows 10 install.esd to wim

I downloaded Windows 10 ISO file from Media Creation Tool that made by Microsoft. I wanna edit install.esd and for this I need to convert it to install.wim. I tried to do it with DISM but I got one ...
Running Child's user avatar