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
1answer
22 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
1answer
86 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
0answers
46 views

Repair-WindowsImage: Insufficient storage space to complete this operation

After a lightning strike in a storm, the server has been in a bad state, even though most services work, some do not, as the task scheduler, Windows updates give error and the changes are reversed , I ...
0
votes
0answers
138 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 ...
1
vote
0answers
582 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
1answer
165 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
1answer
322 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 ...
0
votes
0answers
115 views

How to capture image of UEFI\GPT disk

i have on my Windows Server 2012 R2 role of Windows Deployment Services. I changed loader to syslinux. DHCP server i have on Mikrotik. Let me show config of Mikrotik (dhcp part): /ip dhcp-server ...
2
votes
1answer
912 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
0answers
850 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
1answer
2k 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
0answers
99 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
1answer
123 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
1answer
1k 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 ...
3
votes
1answer
3k 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
1answer
5k 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
1answer
47 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
1answer
455 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 ...
1
vote
1answer
1k 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
1answer
528 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-...
3
votes
1answer
695 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
3answers
3k 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
3answers
2k 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
1answer
4k 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
3answers
6k 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
0answers
123 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 ...
2
votes
2answers
905 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
1answer
3k 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
1answer
9k 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
2answers
2k 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
4answers
12k 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
0answers
2k 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
3answers
10k 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
0answers
525 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, ...
33
votes
9answers
82k 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
1answer
1k 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
0answers
3k 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
1answer
83 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 ...
3
votes
1answer
605 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
237 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 '...
4
votes
0answers
4k views

Server 2012 Windows Update not working

We have a windows server 2012 box that is hosted remotely. I've been trying to install a security patch and the windows update component appears to be corrupted. The error code i'm getting is ...
1
vote
1answer
101 views

How do I create a fully patched installation of Windows 2008 to use during upgrades from Windows 2003?

I need to upgrade some VMs due to the EOL of 2003. Many VMs can just be replaced with current version, but some are so old that it is easier to just try an upgrade and fallback if it doesn't work. ...
4
votes
1answer
28k views

What does DISM Return Code 0x800F081E mean when installing WMF 4.0 on Windows 7 machines? (online)

I'm using the Windows Update Agent to install WMF 4.0 on my Windows 7 workstations. I unpacked the MSU to get the cab files and install them using DISM online mode with the following commands (one for ...
2
votes
3answers
4k views

Remove all third-party drivers

Is there a way to un-DISM all drivers from Windows? Our images are injected with Dell's CAB driver packs, but with our new Optiplex 7020's we're getting a video error on bootup. We suspect there ...
5
votes
1answer
2k views

Powershell DISM New-Windows Image: Using a CompressionType gives an error

PS C:\ProgramData\Microsoft\Windows\Hyper-V\BigHomie> New-WindowsImage -CapturePath K: -ImagePath C:\VHDImports\Win764.wim -name "BigHomies Personal Image" -Verify -CompressionType "Max" Throws ...
21
votes
2answers
39k views

How do I convert a vhd to a wim file?

I just setup and sysprepped a nice new VM, now I need to convert it to a wim real quick, to upload to my sccm server. For some reason, I can't change the VM properties to boot from a legacy nic for ...
3
votes
1answer
2k views

Error 0x8007007e When trying to mount WinPE 5 wim in Windows 7 using Powershell

Using ADK for Windows 8.1, and the DISM cmdlets that come with them. I have WMF 4.0 installed. My machine is Windows 7 x64 SP1, and I'm trying to mount the wim using PS C:\Users\BigHomie> Mount-...
0
votes
1answer
3k views

upgrade from windows server 2012 server standard to data-center

When upgrading from windows server 2012 standard to data-center using dism, will a data loss occur? Will I have to re-install programs already installed in the server? I'm going to follow the ...
-1
votes
1answer
634 views

Cannot install Microsoft SQL Server 2012 prerequisites on Windows Server 2008 Core

I have the server with Windows Server 2008 core SP2 and I need to install SQL Server 2012 in it. The problem is that SQL Server requires .NET 4.5 and when I try to install .NET 4.5, the OS gives an ...