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).

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).

DISM replaces the ImageX tool which was deprecated in Windows 8. DISM also replaces Package Manager (Pkgmgr.exe), PEimg, and Intlcfg that were included in previous deployment toolkits. DISM also adds new functionality to improve the experience for offline servicing.

192 questions
47
votes
8 answers

Installing Windows 7 x64 on a computer with only USB 3 ports

I am installing Windows 7 x64 on a HP EliteDesk 800 G3 SFF that only has USB 3 and USB Type-C ports. Initially, upon booting the USB install media, the USB keyboard and mouse wouldn't work - this was because the Windows 7 install media doesn't have…
qroberts
  • 5,189
  • 12
  • 39
  • 52
18
votes
1 answer

How to check if Windows Feature is installed and enabled with DISM.exe?

How to check if Windows Feature is installed and enabled with DISM.exe?
MichaelS
  • 880
  • 2
  • 8
  • 17
14
votes
3 answers

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 will it affect the currently installed software,…
alfred
  • 555
  • 6
  • 13
  • 24
13
votes
6 answers

Windows 10 DISM error: 0x800f081f

I have been trying to run sfc /scannow in cmd but have been unsuccessful. Therefore, after some research on the Internet, I turned to the following command: DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1…
Skipher
  • 315
  • 2
  • 5
  • 16
13
votes
2 answers

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? What are the pros and cons of native versus…
JW0914
  • 7,052
  • 7
  • 27
  • 48
13
votes
1 answer

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 when executing either?
JW0914
  • 7,052
  • 7
  • 27
  • 48
12
votes
1 answer

How to run DISM against a local source?

How can I run DISM agaisnt a USB Windows installer to repair my local Windows files? This is what I tried in Windows 8.1: DISM /Online /Cleanup-Image /RestoreHealth It returns error 0x800f081f: Note that my WinSxS folder has several folders and…
Gabriel
  • 2,860
  • 11
  • 36
  • 51
8
votes
2 answers

DISM /StartComponentCleanup fails, but /ScanHealth reports healthy

My WinSxS cleanup task was giving the "Last Run Result" of The component store has been corrupted. (0x80073712). No problem, to elevated command prompt and DISM. >DISM /Online /Cleanup-Image /ScanHealth Deployment Image Servicing and Management…
LuckySpoon
  • 670
  • 1
  • 4
  • 19
8
votes
2 answers

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 twice or has its security set twice Original…
Ray Woodcock
  • 473
  • 1
  • 6
  • 19
7
votes
2 answers

DISM to Capture Entire Disk As-Is

In short: Is it possible to leverage dism to capture an image of an entire disk as-is, akin to taking an image with Ghost, GParted, PartedMagic, CloneZilla etc.? I've got a shiny new machine and before I tear into it, I'd like an image of the disk…
JuliusPIV
  • 158
  • 1
  • 1
  • 11
7
votes
2 answers

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 the install.wim, setting the product key and…
7
votes
2 answers

Use DISM on different parition

I am trying to repair a corrupted windows installation which is on a separate local drive d: using DISM but I cannot find any information on how to run DISM to a repair a windows installation which is on a separate drive. How can I run the following…
JohnWineShirt
  • 83
  • 1
  • 1
  • 3
6
votes
3 answers

"Pkgmgr is deprecated" error while installing Windows Media Player

While installing WMP or Sony PC Companion, the installation gives the same error that is: Note: The PkgMgr.exe has been deprecated. Please update your scripts to use dism.exe to extract, install, uninstall, configure and update features and…
Amol Agrawal
  • 61
  • 1
  • 1
  • 3
5
votes
1 answer

Why does Diskpart tell lies in WinPE?

I'm working on producing a scalable imaging process with Windows Embedded 8.1 Industry pro. The hardware is a small form-factor Jetway PC motherboard with a UEFI compatible BIOS. I boot the box using a WinPE formatted thumb drive, then run diskpart…
Redgum
  • 163
  • 1
  • 4
5
votes
0 answers

DISM: Error 2 The system cannot find the file specified - during /Cleanup-Image

I was trying to get rid of old Windows Update files by running: Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore. I am getting Error: 2 'The system cannot find the file specified'. Specs: Windows 8.1. Attached is errors shown in…
Chris
  • 51
  • 1
  • 2
1
2 3
12 13