People who code: we want your input. Take the Survey

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
1answer
59 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) ...
0
votes
3answers
4k 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-...
1
vote
0answers
37 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 ...
0
votes
0answers
12 views

Windows 10 All-in-one setup media - added images not shown during setup

I'm trying to create an all-in-one setup media for Windows 10, without using a pre-built tool. All the editions I'm planning to put in this media are based on x64. As a base I use an install.wim file ...
0
votes
2answers
639 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 ...
0
votes
1answer
74 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/...
0
votes
0answers
20 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
124 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 ...
2
votes
1answer
305 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 ...
0
votes
1answer
108 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, ...
0
votes
1answer
406 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\...
1
vote
0answers
88 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? ...
0
votes
0answers
263 views

DISM incorrect parameter error

I am following this tutorial about capturing a Windows 10 IoT Enterprise image. After properly preparing a USB drive, I inserted it into my IoT device. Upon booting, I selected the correct USB drive ...
1
vote
1answer
237 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 ...
0
votes
1answer
971 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 ...
0
votes
1answer
732 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 ...
0
votes
0answers
36 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 ...
6
votes
3answers
3k 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? ...
7
votes
1answer
1k 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 ...
2
votes
0answers
426 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 ...
0
votes
0answers
34 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?
0
votes
0answers
49 views

Unable to fix corrupted files after BSOD

I have a relatively new laptop (1 month old) and when I got it I received a BSOD not too long after. I ignored it as a one off but in the last two weeks I believe I've had 2-3 more BSODs, which is far ...
0
votes
0answers
27 views

Restore Sector-Based Image (FFU) on targets containing Bad-Sectors

I have captured a Full-Flash-Update image using DISM from a source drive. Consider the following conditions for the target drive: It is a NAND-Flash-based storage It has equal or more healthy sectors ...
2
votes
0answers
1k 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 ...
0
votes
1answer
67 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 ...
1
vote
1answer
1k 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 ...
2
votes
1answer
153 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 ...
0
votes
1answer
712 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: ...
0
votes
1answer
259 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 ...
1
vote
0answers
94 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:\ ...
0
votes
1answer
2k 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 ...
0
votes
0answers
488 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 ...
1
vote
0answers
38 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 ...
0
votes
2answers
2k 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 ...
0
votes
0answers
628 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 ...
1
vote
2answers
123 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?
2
votes
1answer
1k 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 ...
2
votes
2answers
2k 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 ...
3
votes
1answer
560 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 ...
1
vote
0answers
538 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 /...
5
votes
2answers
7k 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 ...
0
votes
1answer
337 views

DISM RestoreHealth fail because an Invalid public key token

After some trouble with my OS (Windows 8.1 Professional N), i've decide to run the good old SFC /scannow, which found and repair some corrupted file. The CBS log report: 2019-10-05 06:52:37, Info ...
0
votes
1answer
195 views

Windows 8.1 DISM error 0x800f0906

I've had some issues with my laptop recently. It would randomly freeze and become unresponsive, and now completely fails to load anything on Chrome (strangely, incognito mode still works). I ran SFC ...
0
votes
1answer
653 views

Windows10 firmware update or hyper-v causes automatic repair loop everytime

I have an Asus FX705DX laptop (Ryzen 3550H) and i've been having the same issue since i bought it several months ago. Everytime a new Firmware (BIOS) update from Asus is installed automatically by ...
1
vote
0answers
33 views

Inject 1903 into WDS image?

I know that I can inject updates into a WDS image through DISM, I'm wondering whether I could actually inject build 1903 itself into a 1803 image so as to not have to re-capture? Has anyone tried ...
1
vote
1answer
4k views

Unable to add language pack from Windows 10 ADK/PE add-on to Windows 10 ISO

Scenario: I want to add additional languages to the Windows 10 Pro installer so I can easily build Windows instances with packer by only changing the autounattend.xml file. I would like Windows 10 to ...
0
votes
0answers
240 views

Windows 10 Pro NT DISM Repair image error 0x800f0906

I have been having some issues with accessing websites lately. On random websites my web browsers is either giving met the err_connection_reset error or an SNI error. To fix this i tried doing the ...
0
votes
0answers
35 views

Unable to upgrade windows 8.1 to 10

Dearl all, i'm trying to upgrade windows 8.1 to Windows 10 but at the end of the first installation phase, after copying the data, the update fails. Actually, i think it could be a problem related ...
1
vote
0answers
386 views

Is it possible to sysprep a wim file after it is captured?

I know what I am supposed to do: Run sysprep and then capture the image. I know that you can do a lot of offline work on a WIM file using DISM. I know you can mount, edit, and unmount a WIM. Is ...