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).
68 questions
-1
votes
2
answers
29
views
Error during cab file installation in windows server 2019
When we run dism command in cmd for installation manual patch of KB5003282 of cab file in windows 2019 server. We are getting error is the specified package is not applicable to this image.
0
votes
0
answers
98
views
Windows Server 2016 DISM Repair
I Have a Server 2016 Data Center - the OS was corrupted by a faulty HDD (backup not available). I want to try to repair with DISM via Windows Recovery Environment. But can't get it to work.
I'm ...
0
votes
0
answers
583
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 ...
0
votes
2
answers
484
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 ...
0
votes
1
answer
10k
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 ...
1
vote
2
answers
4k
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 ...
0
votes
2
answers
4k
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 ...
1
vote
0
answers
211
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-...
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 ...
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....
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 ...
0
votes
1
answer
708
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 - ...
2
votes
0
answers
3k
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 ...
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 ...
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 ...
0
votes
0
answers
496
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 ...
4
votes
0
answers
6k
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 ...
3
votes
1
answer
3k
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 /...
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 ...
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 ...
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 ...
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:
# ...
1
vote
0
answers
371
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 ...
0
votes
1
answer
536
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 ...
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 ...
5
votes
4
answers
55k
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 ...
2
votes
1
answer
16k
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 ...
0
votes
1
answer
891
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, ...
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 ...
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 ...
2
votes
1
answer
2k
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-...
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.
...
2
votes
3
answers
5k
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 ...
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 ...
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 ...
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 - ...
1
vote
0
answers
198
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 ...
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:
...
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 = ...
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 ...
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 ...
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 ...
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 ...
1
vote
3
answers
30k
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 /...
0
votes
0
answers
672
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, ...
34
votes
9
answers
90k
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 ...
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:
...
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 ...
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 ...
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 ...