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
0 votes
1 answer
28 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, ...
user avatar
  • 1
0 votes
0 answers
38 views

Do preinstalled apps in offline Windows 10 image get deleted during Windows Installation/Setup?

I have a fresh Windows 10 image and I've been trying to preinstall an appx package to the offline image. Based on Microsoft's docs I extracted the ISO that I downloaded from Microsoft, then I ran the ...
user avatar
  • 1
1 vote
1 answer
165 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, ...
user avatar
0 votes
0 answers
18 views

How can I repair my Asus G750JX - Boots to black screen with white cursor only - after failed windows update

I have an Asus G750JX with Windows 8.1 64 bit edition installed. On boot - after windows 8 symbol with spinning wheel I am presented with only a black screen (log in screen) and white cursor. Here's ...
user avatar
  • 1
0 votes
1 answer
132 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 ...
user avatar
0 votes
1 answer
310 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 ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
1 vote
0 answers
41 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 ...
user avatar
  • 31
0 votes
1 answer
36 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\...
user avatar
  • 1
0 votes
1 answer
34 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 ...
user avatar
0 votes
0 answers
44 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 ...
user avatar
0 votes
0 answers
27 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 ...
user avatar
  • 101
-1 votes
1 answer
368 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? [Solved]

SOLVED — See chosen answer below. 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) ...
user avatar
  • 119
0 votes
3 answers
8k 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-...
user avatar
1 vote
0 answers
154 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 ...
user avatar
  • 171
0 votes
2 answers
3k 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 ...
user avatar
  • 13
0 votes
1 answer
227 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/...
user avatar
  • 101
0 votes
0 answers
49 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 ...
user avatar
  • 1
0 votes
0 answers
97 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 ...
user avatar
0 votes
1 answer
241 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 ...
user avatar
2 votes
1 answer
507 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 ...
user avatar
1 vote
1 answer
373 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, ...
user avatar
  • 1,438
0 votes
1 answer
1k 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\...
user avatar
  • 803
1 vote
0 answers
235 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? ...
user avatar
1 vote
1 answer
649 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 1
0 votes
2 answers
2k 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 ...
user avatar
0 votes
0 answers
54 views

DISM is taking over 24 hours

I'm having problems installing Windows Updates so I thought that if I use DISM and then SFC, that it might fix the problem. When I run DISM.exe /Online /Cleanup-image /Restorehealth It takes over 24 ...
user avatar
  • 639
10 votes
3 answers
7k 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? Why is the native method generally the best method for most users? How does the native method differ from conventional cloning? ...
user avatar
  • 5,925
12 votes
1 answer
2k 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 ...
user avatar
  • 5,925
2 votes
0 answers
519 views

Windows 10 build 1909 - Corrupt Store - DISM version from 1903

Anyone shed any light on this. I've been looking at an issue with a windows 10 machine 1909 build 10.0.18363.720, where after windows updates are installed including KB4560960 (2020-06 Cumulative ...
user avatar
0 votes
0 answers
39 views

Can I repair Windows 10 v1909 system files with a v2004 ISO?

I have a laptop running Windows 10 v1909 with system file corruption that DISM and SFC are not able to repair. Can I repair it with a v2004 ISO image, without upgrading to the newer version?
user avatar
2 votes
0 answers
2k views

How to execute DISM from Windows 10 PE on Win 10 system with Windows Update / Microsoft as source only?

I've got a corrupt Windows 10 installation (SFC noted Windows Resource Protection found corrupt files but was unable to fix someo of them...) so I tried to run DISM, from a Windows 10 PE USB ...
user avatar
0 votes
1 answer
77 views

Windows 10 - no boot, reset PC fails, dism fails

My Windows 10 PC recently stopped booting (black screen, spinner rotates forever...). I tried a bunch of ideas (startup repair - fails, boot from USB key and repair - fails, reset my PC - fails). Ran ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
2 votes
1 answer
372 views

Win10 will no longer boot or restore after removing language pack

I've been following this explanation to change the default language from Spanish to English on my Windows 10 Home Single Language edition (yes, I know, naughty). In a fit of frustration, I ...
user avatar
0 votes
1 answer
2k views

Does DISM CheckHealth need either internet or Windows ISO to give an accurate result?

Using an elevated command prompt, on a PC without an internet connection or a downloaded Windows 10 ISO, I entered: Dism /Online /Cleanup-Image /CheckHealth It takes a few seconds, with the result: ...
user avatar
  • 87
0 votes
1 answer
339 views

Server 2012 - Unable to install Windows Updates

We are having issues installing windows updates(we use Ivanti to install updates) on Server 2012. SharePoint 2013 is installed on this server. An example is KB4540726 won't install. Manually ...
user avatar
  • 101
1 vote
0 answers
140 views

How to copy WINPE setup. Directory changed error in DISM

I'm attempting to copy an altered WINPE USB flash drive to an ISO. Here's the steps I have so far: Mount USB drive, copy all files from it, and unmount the drive Create a new amd64 WINPE base on C:\ ...
user avatar
  • 1,268
0 votes
1 answer
4k views

How to clone Windows 10 installation to multiple computers

I have tried finding topics about this on here but none of them answered my question: Is it possible to install Windows 10 on a PC (let's call it PC-01), customize it (add users, wallpaper, installed ...
user avatar
0 votes
0 answers
611 views

Error upgrading Server 2019 Evaluation to full

I have downloaded the iso of Windows Server 2019 from the evaluation center and installed the standard core edition (in a VM on Hyper-V Server 2019). I now want to upgrade this to the standard core ...
user avatar
  • 1
1 vote
1 answer
74 views

Custom WIM shows up blank in Windows Setup

I am trying to set up a custom image to load with windows setup. It works fine, but for some reason the operating system has a blank selection in Windows Setup. But when I check the WIM title and ...
user avatar
  • 247
1 vote
3 answers
3k views

Error 0x80070780 - The file cannot be accessed by the system. How can I delete this folder?

When I try to delete the folder named C:\Program Files\WindowsApps\FocusHomeInteractiveSA.APlagueTaleInnocence-Window_1.0.5.0_x64__4hny5m903y3g0 I get the error... The file cannot be accessed by ...
user avatar
0 votes
0 answers
1k views

Using DISM to repair system image. Image vs Source?

I'm trying to repair my system files as they seem to be corrupt, but doing a simple DISM /Online /Cleanup-Image /RestoreHealth tells me that I need to specify a Source. Using this Microsoft page I'm ...
user avatar
  • 101
1 vote
2 answers
148 views

When using DISM to load drivers on an offline image, what driver version gets used if multiple versions are installed?

Does windows intelligently pick, is it the latest version, is it the last one (by order of installation) or does something else happen?
user avatar
2 votes
1 answer
2k 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 ...
user avatar
  • 146
2 votes
2 answers
3k views

Use DISM to create a WIM image of the C: partition ONLY

I have an old laptop with windows 10 Pro installed and I want to make a .wim of the C: drive using DISM so I can append it to the system partition of my new laptop I have never used DISM before. How ...
user avatar
3 votes
1 answer
633 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 ...
user avatar
  • 181
1 vote
1 answer
1k views

Unable to capture Windows Image

I'm unable to capture image of Windows 10 with dism. When I try the dism throws me error 2: The system cannot find the file specified. I use this command to capture image: DISM /Capture-Image /...
user avatar
6 votes
2 answers
14k 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 ...
user avatar