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
0 answers
248 views

Autounattend.xml does not match custom install.wim

Here is my procedure for better understanding: Conducted Windows 10 IoT installation in Audit Mode. Added German language and performed updates. Shut down the PC in Sysprep/Generalize and restarted ...
ElGustago's user avatar
0 votes
2 answers
291 views

Changes made to install.wim file is not in effect

I am using the DISM command to mount the install.wim and adding few folders and file to the root folder c:\ and them committed the image file. then creating a bootable ISO with the modified the WIM ...
Prabhu Thiagarajan's user avatar
0 votes
1 answer
5k views

Windows Server 2019 Cannot Install .NET 3.5

crosspost Microsoft IT Pro Tech Community crosspost r/sysadmin Windows Server 2019 Cannot Install .NET 3.5 I am running Windows Server 2019 (Version 1809, Build 17763.4499) and I cannot install .NET ...
Paul Boyer's user avatar
1 vote
2 answers
3k views

How to fix very long logon times on Windows Server 2016?

I recently have very long login times on a Windows Server 2016 Datacenter VM. The boot is super fast, but after I type in credentials, it takes about 60 min until I get to the desktop. The login ...
efr's user avatar
  • 11
0 votes
2 answers
2k views

Cannot find valid source for DISM /RestoreHealth for corrupted Windows Server 2016

A Windows Server 2016 running in Hyper-V has failed and appears to be corrupted (at the time of writing I was able to start it and SOME services are available, but it's showing the spinning circle on ...
MBender's user avatar
  • 381
1 vote
0 answers
158 views

Unable to install FSRM role on Windows Server 2016

I tried to install FRSM role but installation failed with error 0x800f0922. Tried using GUI or DISM commands dism /online /enable-feature /featurename:FSRM-infrastructure /all dism /online /enable-...
Baud's user avatar
  • 71
1 vote
4 answers
2k views

Hyper-V 2019 Core Server can't install windows defender update KB4052623?

I am having a problem with installing the "Update for Microsoft Defender Antivirus antimalware platform - KB4052623 (Version 4.18.2205.7)" Update on my Microsoft Hyper-V Server 2019 Core ...
Keeran's user avatar
  • 111
1 vote
0 answers
1k views

Windows Update crashes before opening

Windows Server 2016. When I try to open Windows Update (Setting - Update and security), application crashes. In Event Log, I found: Faulting application name: SystemSettings.exe, version: 10.0.14393....
Petr Jankovský's user avatar
4 votes
1 answer
6k views

DISM unable to repair Server 2016

I've been fighting this for a few days now and could really use some help from the community. This started out as a failure to install windows updates on a Server 2016 Datacenter, which led to ...
Ian Williams's user avatar
0 votes
1 answer
486 views

Add custom exe app to windows image

Is there possibility to add custom .exe application to Windows 10 image which will run in autostart when i install image on some computer? Either with DISM or ICD? //EDIT: App is without installer - ...
Johny Wave's user avatar
2 votes
0 answers
2k views

Install "Media Feature Pack" on Windows 2009 (20H2) - OFFLINE

I am trying to figure out if it's possible to install the Windows Media Feature Pack on a Windows 10 N computer, build 20H2 whilst being offline. For versions of Windows 1903 and below you could ...
user3580480's user avatar
0 votes
1 answer
5k views

install application on a mounted WIM file

Every night my build server creates an updated WIM image by mounting, updating my application files and unmounting. then I have an updated nightly wim file. I want to take this nightly image and ...
user1902346's user avatar
2 votes
2 answers
3k views

Windows 10: Provisioned app not installed properly, correct version but 0 bytes app and data

I'm trying to provision an application as part of an image prepared in audit mode and then syspreped and then captured. The app is sideloaded since it is a Line Of Business app and the version of ...
Antti Stålnacke's user avatar
0 votes
0 answers
419 views

Install .Net 2.0 on Windows 10 1809 failed

I have 4 identical computers with fresh install of Windows 10 1809 pro x64 french, workgroup, no antivirus, no WSUS. The first were cloned 3 times, i made a sysprep after each clone. I want to ...
Baud's user avatar
  • 71
4 votes
0 answers
5k views

DISM: "The specified package is not valid Windows package"

I'm running a Windows Server 2016. When executing Dism /online /Get-Features on the power shell, I get this output: Version: 10.0.14393.0 Image Version: 10.0.14393.2457 Error: 0x800f0805 The ...
David Schneider's user avatar
3 votes
1 answer
2k views

DISM Can Mount Image but Can't Apply It

I am using DISM to capture a Windows image. I have successfully captured an image from the reference computer after running sysprep and booting from Windows PE. This was done manually using the DISM /...
RLBChrisBriant's user avatar
0 votes
1 answer
1k views

Windows Server 2019: Add language pack with DISM to .WIM

I have an Windows Server 2019 image with 4 editions: Windows Server 2019 Standard Windows Server 2019 Standard Core Windows Server 2019 Datacenter Windows Server 2019 Datacenter Core I want to add a ...
Chris's user avatar
  • 1
2 votes
1 answer
2k views

MDT Deployed Image has tanked ability to Apply Cumulative Windows 10 updates

My understanding of the issue has changed as we've been attempting to troubleshoot. It may make more sense to scroll down and read 'Update 6' first before reading through the entire body. We appear ...
Sam K's user avatar
  • 506
1 vote
0 answers
2k views

Issue with slipstreaming updates on Windows Server 2016

So I've been trying to slipstream updates on my Windows Server 2016 Datacenter edition (1607), as I often deploy test servers and wanted to have an ISO with the updates baked-in to accelerate the ...
Barbocer's user avatar
0 votes
1 answer
5k views

Reinstall default Windows Appx packages

We are uninstalling most Appx packages for our users upon deployment of Windows 10 machines. We are using something like this two-liner is sufficient to get rid of most UWP apps on the systems: # ...
the-wabbit's user avatar
1 vote
0 answers
342 views

Apply Customized Image after PXE boot

I am pretty new to DISM/WAIK etc. I am trying to implement pxe on my virtual machines (virtualbox), if worked fine later planning to implement in our production environment. I was able to deploy ...
user3326075's user avatar
0 votes
1 answer
493 views

How to re-enable test mode when deploying Windows 10 wim image with Dism?

I am upgrading about 200 machines in my lab from Windows 7 to Windows 10, and as part of the upgrade, I am also converting the file system on the machines to GPT. I am doing this as an automated ...
vadim6385's user avatar
3 votes
1 answer
2k views

W10 RSAT Installation Issue

I am having issues installing Remote Server Administration Tools on my W10 Pro laptop. This is my attempts and issues so far: Download WindowsTH-RSAT_WS2016-x64.msu from here: Remote Server ...
gndlp's user avatar
  • 129
5 votes
4 answers
45k views

Install OpenSSH client in Windows without internet access

I would like to install the Microsoft-provided OpenSSH client for Windows 10 on machines that do not have internet access. Typically the instructions for installing the OpenSSH client involve running ...
millinon's user avatar
  • 171
2 votes
1 answer
15k views

Install drivers on Windows Server using dism while online

We're in the process of migrating Windows Server virtual machines between cloud infrastructure. In certain circumstances (HyperV Gen2 UEFI) servers, the system will fail to boot unless we install the ...
epea's user avatar
  • 406
0 votes
1 answer
773 views

How do I delete the 'offline' directory created by dism?

While creating a slipstreamed Windows ISO, I wanted to 'un-do' and start over with a better plan. I attempted to delete the workspace but the workspace had a directory called offline, created by dism, ...
Jim Fred's user avatar
  • 111
1 vote
1 answer
1k views

Do Microsoft's imagex/dism have the equivalent of wimlib's --delta-from?

For pushing small changes to an existing wim image, you can significantly reduce network traffic by using the previous wim file as a base wim and a file that contains only the "changes" as the main ...
aggieNick02's user avatar
2 votes
2 answers
4k views

DISM fails to install MSMQ HTTP with 0x800f0922

Trying to install Windows Feature MSMQ-HTTP via DISM DISM /NoRestart /ONLINE /Enable-Feature /All /FeatureName:MSMQ-HTTP fails with Error: 0x800f0922 DISM failed. No operation was ...
fiat's user avatar
  • 817
2 votes
1 answer
1k views

DISM: "The source files could not be found and download failed"

Trying to install a selection of IIS Windows features via dism: dism /NoRestart /ONLINE /Enable-Feature /All /FeatureName:IIS -ASPNET /FeatureName:IIS-NetFxExtensibility /FeatureName:WCF-HTTP-...
fiat's user avatar
  • 817
4 votes
1 answer
2k views

Get ProgID of notepad++ in order to use it with the DefaultAppAssociations.xml in Windows 10

We would like to set a few default app associations via GPO. Apparently in Windows 10, you can set all default apps on your image and then export an XML with DISM.exe which contains all associations. ...
mariu5's user avatar
  • 173
2 votes
3 answers
4k views

How to use Windows 8.1 USB Installation Media as DISM Source?

Is it possible to use a Windows installation USB drive as the source for DISM? The USB installer was created using Microsoft's Media Creation Tool. This MS article states: You can use a mounted ...
johny why's user avatar
  • 161
1 vote
3 answers
4k views

Cannot reboot after applying WIM file

I've built a developer image and am deploying it to workstations. It's a sysprepped image but I'm facing one issue at the end that I'm hoping someone can help me resolve which is where the machine is ...
noonand's user avatar
  • 287
0 votes
1 answer
5k views

How to install .Net 4.6.2 on windows 2012r2

We have hundreds of IIS web servers with .Net 3.x and 4.0 installed using using dism.exe on windows 2012r2 (via chef) powershell command dism.exe /online /enable-feature /featurename:NetFX4 chef ...
spuder's user avatar
  • 1,745
4 votes
3 answers
8k views

Removing Windows 10 Built In Apps from a Windows 10 Image

I've Googled all over the place on how to remove the built in Windows 10 Apps like 3D Builder, Zune, Xbox, etc from a Windows 10 image file. All of the tutorials always point to the same thing - ...
Lawrence's user avatar
  • 380
1 vote
0 answers
157 views

Windows PE3.0 does not detect SSD -- Driver Injection

I’m having an issue with getting Windows PE 3.0 to recognize hard drive. At least I think this is the problem. I’m attempting to boot a Dell Latitude E7470 Solid State Drive, Windows 7 64-bit machine ...
user1330287's user avatar
3 votes
2 answers
2k views

Translate name of Windows Feature from Powershell to DISM

I have a list of Windows Feature I want to install with DISM but I only know what their names are when using PowerShell. Is there a way to quickly "translate" these names? It's more than a handful: ...
Christoffer Reijer's user avatar
0 votes
1 answer
5k views

Injecting Updates via Dism gives error 50 all the time

I am running Win 2012 R2 with MDT 2013, WDS & WSUS. trying to auto inject updates from wsus update share into my OS Wim (win 10 tech preview x64) for deployment. using this script $UpdatesPath = ...
Bram K's user avatar
  • 13
5 votes
1 answer
21k views

Is it possible to repair a windows image using DISM from WinPE

I have a Hyper-V VM that will not boot, bluescreening saying PAGE_FAULT_IN_NONPAGED_AREA I can boot into WinPE (recovery), but cannot boot in safe mode. Is it possible to run DISM from WinPE, and do ...
James Edmonds's user avatar
3 votes
2 answers
4k views

2012 R2 Hyper-V VM page fault in non paged area

I have a 2012 R2 server running hyper-v, with several 2012 R2 guest VMs. These were stored on a small raid 5 volume of 4 disks, and 2 of them failed. I managed to recover the array to the point of ...
James Edmonds's user avatar
0 votes
4 answers
15k views

Windows 10, multiple services crash when opening Windows Update

Over the past few days, an error seems to have developed on my Windows 10 Professional (anniversary update) workstation, whereby when opening the Update section of the Modern Settings app, loads of ...
James Edmonds's user avatar
0 votes
1 answer
5k views

Server 2012 - Component stores is corrupt

I upgraded a Windows Server from 2008R2 to 2012 and now it has various services failing to start - eg winrm, iis. I know I should tell it to rebuild but the server doesn't actually use any of these ...
somabc's user avatar
  • 33
1 vote
3 answers
29k views

Why is my Server 2012 R2 DISM failing to repair corruption

Can anyone lend me some assistance in repairing my server 2012 R2 image? I have a 2012 R2 VM, and have attached the install DVD we used from our datastore. I am then running the command: dism /...
James Edmonds's user avatar
0 votes
0 answers
659 views

System File Corruption causing Freezing a KSOD

At present we are having some difficulties with one of our Terminal Servers. It is a VM Server 2012 (64bit) What is happening at the moment is that random applications (IE, Chrome, Notepad, Word, ...
user3045068's user avatar
34 votes
9 answers
89k views

How to fix corrupted opencl.dll in Windows 10, if SFC and DISM are failing?

It took me several hours to fix the issue because the local component store was corrupted and the computers are accessing a local WSUS server instead of the public update server by Microsoft (and ...
Daniel's user avatar
  • 7,059
2 votes
1 answer
2k views

DISM deployed Windows 10 apps wont launch

I'm trying to deploy apps to computers around a school using DISM with a computer startup script. I've created a script to enumerate a directory on the network and install the app on the computers: ...
John Reid's user avatar
  • 165
1 vote
0 answers
4k views

Why does DISM say the Package is not applicable to this Image?

I'm already pretty far down an uncomfortable rabbit hole, chasing solutions to flash a WDS discover image to a bootable USB drive. I was following this tutorial which describes how to use the Windows ...
soapergem's user avatar
  • 719
1 vote
1 answer
97 views

Need to run a custom command during Windows 7 Setup between Phase 3 and 5

How can I run a cmd script during windows setup somewhere between the beginning of phase 3 and the beginning of phase 5? I need to copy hardware dependent files from the USB drive to the C: drive ...
Daro's user avatar
  • 243
4 votes
1 answer
1k views

new-WindowsImage stalls with 0x8007007E, can't load unattend.dll

I'm trying to convert capture a .VHDX as a .WIM file. The file in question is a syspreped Windows 7 generalized image. I'm working on Windows 8.1 and I have the Windows ADK installed. In powershell I ...
user3062206's user avatar
2 votes
1 answer
2k views

How do I troubleshoot "Failed to get staged packages for package" error when attempting to remove a provisioned app from an offline Windows 8.1 image?

When I attempt to remove provisioned apps from an offline Windows 8.1 image, most of the apps I want to remove cause no problem, but attempting to remove Microsoft.Office.OneNote causes an error. The ...
Jay Michaud's user avatar
  • 3,983
1 vote
1 answer
257 views

How to stop DISM resetting activation?

I have a lab of virtual (Windows 7 Ultimate) machines and want to create a Windows image using MDT 2013 / DISM. When I use the DISM capture-image on the reference machine and DISM apply-image on the '...
Tim's user avatar
  • 11