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.

222 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,329
20
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
  • 930
20
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
  • 621
17
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
  • 9,096
14
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
  • 345
14
votes
2 answers

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
  • 3,020
14
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? 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 third-party…
JW0914
  • 9,096
12
votes
2 answers

Use DISM on different partition

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…
11
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…
8
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
  • 178
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…
8
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…
8
votes
3 answers

Windows 10 DISM cannot find files, even with ISO mounted

After running sfc /SCANNOW in my Windows 10 Pro installation, and getting "Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log." I tried to follow the…
vagaerg
  • 373
7
votes
5 answers

Force DISM to unmount/delete a mounted Windows WIM

I use DISM to customize and update images that I deploy to our computers. I do this on an external drive because its really heavy on I/O. A while ago I appear to have left the image mounted in my F drive as F:\WIN81MOUNT. The files are there.…
Mgamerz
  • 171
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…
1
2 3
14 15