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
0answers
20 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
16 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 ...
1
vote
0answers
71 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
51 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
0answers
74 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
29 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
70 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
0answers
38 views

Fix for Automatic Repair Infinite Blue Screen Loop - Failure to Boot: Dell Inspiron 7570

I was able to fix the infinite looping blue screen of Automatic Repair on my Dell Inspiron 7570, running Win10 in April 2020, after many fruitless hours of research and phone support from Dell (to ...
0
votes
0answers
97 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 ...
0
votes
0answers
28 views

How do I Natively Backup and Restore Partitions in Windows?

I am upgrading computers from Windows 7 to Windows 10 using an image with specific software and a custom configuration. Is there a native way in Windows to back up the entirety of D: to another ...
0
votes
0answers
13 views

Can not access file through network sharing

I want to apply an image using DISM onto a desktop when booted into WINPE. The image is in the LAPTOP and the file and folder is SHARED for EVERYONE. I booted into WINPE in the DESKTOP, tried to use "...
1
vote
0answers
47 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
0answers
129 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
118 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
27 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
1answer
493 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
143 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
90 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
362 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 ...
0
votes
0answers
161 views

Corrupt Defender on Windows Server 2016 0x8007007e

These are the facts: a) Listing (by cmd dir or any other way) of C:\Windows\servicing\Packages needs around an hour, which is much too much, during this time the files are all the time accessed by ...
1
vote
2answers
334 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
251 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
171 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 /...
2
votes
0answers
2k 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
227 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
72 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
0answers
364 views

Why DISM ScanHealth is available and RestoreHealth isn't?

I use Windows7 I try to fix my windows with DISM. I try DISM /Online /Cleanup-Image /ScanHealth and I get output But when I use DISM /Online /Cleanup-Image /RestoreHealth I get unrecognized ...
0
votes
1answer
387 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
3k 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
170 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
34 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 ...
0
votes
0answers
264 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 ...
1
vote
1answer
291 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 ...
0
votes
0answers
147 views

Encrypting WIM files

We use WIM files to deploy images on workstations (we use DISM on WinPE). Is there a way to encrypt the WIM file while it sits on the flash drive, and decrypt it upon use? We haven't found this ...
2
votes
1answer
5k views

Dism error 87 “cleanup-image option is unknown”

Im in winPE trying to use: dism /image:d:\ /cleanup-image /restorehealth /source:d:\temp on an offline image but cannot get past this error: "Dism error 87 “cleanup-image option is unknown”. I ...
0
votes
0answers
1k views

“chkdsk /r” to confirm no error OR “chkdsk /f” to avoid heavy loading to HDD?

Recently I got "Reallocation Event Count" (C4) warning in SMART test for my notebook harddisk(HDD). I've cloned the whole HDD sector-by-sector to a brand new one using a external HDD docking. Then I ...
1
vote
1answer
322 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 /...
0
votes
0answers
37 views

Correcting non booting Win with DISM

I have tried for a few hours now, but I cant find a solution. Windows 10 Pro x64 During boot I get a BSOD with the stop code CRITICAL_PROCESS_DIED every time, same in Safe Mode. I tried system ...
0
votes
0answers
1k views

DISM /Capture-FFU and /Apply-FFU is painfully slow

I need to capture+apply an entire disk image with Windows Full Flash Update (FFU) It seems an interesting improvement compared to WIM images, also they state that it is faster... but it doesn't seem ...
2
votes
2answers
5k 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 ...
0
votes
0answers
669 views

Slipstream updates and feature updates to Windows Server Essentials 2016

I have a physical disk of Windows Server Essentials 2016 RTM. How can I slipstream the monthly cumulative updates and the feature updates like 1703/1709/1803, so that a new ISO will install the ...
1
vote
0answers
552 views

How Can I Execute DISM Through A Specific Source On Windows 10?

Right now I my computer crashes with errors like SystemService exception. It does this quite frequently. Especially if I run a GPU intensive application like a game. I've executed a DISM command for ...
0
votes
2answers
10k views

How to run copype.cmd for WinPE from Batch File

I'm writing a tool that sets up a WinPE Drive for you, and I have been calling DISM commands from an admin batch file. However, I cannot figure out how to run the copype command to set up the drive ...
5
votes
2answers
18k 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 ...
1
vote
0answers
1k views

Error 582 while trying to access Windows Features

Today went to turn on the Hyper-V feature in the "Turn Windows Features On and Off" settings, but the dialogue would always just load for like 20 seconds then crash my machine. I looked up ...
1
vote
0answers
520 views

Boot WinPE from usb-stick using Command Prompt

I'm using a usb-stick with WinPE and dism to apply a Win8.1 image (*.wim) to a pc. After applying the image, the pc boots with Win8.1 and a few scripts are executed automatically doing some ...
1
vote
1answer
3k 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 /...
3
votes
0answers
7k 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 ...
0
votes
0answers
568 views

“Inaccessible boot device” error, but BCD, partition and drivers seem correct. What else could cause it?

My Win8.1 x64 EFI laptop refused to reboot after a recent update, the error is INACCESSIBLE BIOT DEVICE but I can't figure how to debug this. So far this is what I've done: -Used DISKPART to assign ...