• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to get damn DISM to work?

Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
I'm using this command:
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd:1

And the god damn thing keeps bitching source files can't be found even though I'm pointing the path to the darn thing. ISO image is mounted and yet this retarded tool just can't see it. I don't understand why has Microsoft made this tool so monumentally retarded compared to Win8.x where you just used this:

Dism /Online /Cleanup-Image /ScanHealth

And it just worked. Any ideas?
 
Joined
Oct 17, 2012
Messages
9,781 (2.32/day)
Location
Massachusetts
System Name Americas cure is the death of Social Justice & Political Correctness
Processor i7-11700K
Motherboard Asrock Z590 Extreme wifi 6E
Cooling Noctua NH-U12A
Memory 32GB Corsair RGB fancy boi 5000
Video Card(s) RTX 3090 Reference
Storage Samsung 970 Evo 1Tb + Samsung 970 Evo 500Gb
Display(s) Dell - 27" LED QHD G-SYNC x2
Case Fractal Design Meshify-C
Audio Device(s) on board
Power Supply Seasonic Focus+ Gold 1000 Watt
Mouse Logitech G502 spectrum
Keyboard AZIO MGK-1 RGB (Kaith Blue)
Software Win 10 Professional 64 bit
Benchmark Scores the MLGeesiest
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
I've copied this off an online guide... And several of them had this. Apparently they all copied eachother without actually testing the damn thing. I'll try that.
 
Joined
Oct 17, 2012
Messages
9,781 (2.32/day)
Location
Massachusetts
System Name Americas cure is the death of Social Justice & Political Correctness
Processor i7-11700K
Motherboard Asrock Z590 Extreme wifi 6E
Cooling Noctua NH-U12A
Memory 32GB Corsair RGB fancy boi 5000
Video Card(s) RTX 3090 Reference
Storage Samsung 970 Evo 1Tb + Samsung 970 Evo 500Gb
Display(s) Dell - 27" LED QHD G-SYNC x2
Case Fractal Design Meshify-C
Audio Device(s) on board
Power Supply Seasonic Focus+ Gold 1000 Watt
Mouse Logitech G502 spectrum
Keyboard AZIO MGK-1 RGB (Kaith Blue)
Software Win 10 Professional 64 bit
Benchmark Scores the MLGeesiest
you dont need the "esd" command unless your running an esd file type.

i recommend if ytour just scanning to
DISM /Online /Cleanup-Image /ScanHealth

or DL an ISO , and run the command i linked above.
DISM /Online /Cleanup-Image /RestoreHealth /sources:WIM:X:\sources\Install.wim:1 /LimitAccess
"x" = drive letter.

iso can be DL'd from here
https://www.microsoft.com/en-us/software-download/techbench

be certain to run elevated CMD prompt.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Well, I've tried that command and it doesn't work as it always ends with error 0x800f081f. As for ESD, my original unaltered Windows 10 image only contains install.esd and NO install.wim.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
God damn it, I tried like 20 different versions from 10 different guides and none work. Keeps on bitching about "cannot find source". I just don't even know anymore...
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
I don't understand, if it was a syntax issue it would say that. Instead it just complains the source can't be found even though I'm pointing at it. Then I have to figure out how it's not found. The file not found or it can't find stuff inside the ESD or something third. I have no clue.
 
Joined
Oct 17, 2012
Messages
9,781 (2.32/day)
Location
Massachusetts
System Name Americas cure is the death of Social Justice & Political Correctness
Processor i7-11700K
Motherboard Asrock Z590 Extreme wifi 6E
Cooling Noctua NH-U12A
Memory 32GB Corsair RGB fancy boi 5000
Video Card(s) RTX 3090 Reference
Storage Samsung 970 Evo 1Tb + Samsung 970 Evo 500Gb
Display(s) Dell - 27" LED QHD G-SYNC x2
Case Fractal Design Meshify-C
Audio Device(s) on board
Power Supply Seasonic Focus+ Gold 1000 Watt
Mouse Logitech G502 spectrum
Keyboard AZIO MGK-1 RGB (Kaith Blue)
Software Win 10 Professional 64 bit
Benchmark Scores the MLGeesiest
God damn it, I tried like 20 different versions from 10 different guides and none work. Keeps on bitching about "cannot find source". I just don't even know anymore...

I got that damn "cant find source" 20 times the other day when i went through what u r now.

The way i got thru it, was to go to the DL link i posted, get an ISO of win10 N ,
Mount it by right clicking on it as thats built into 10
Then once its mounted , youll have the install.wim file,and the rest in a mounted drive

After those steps, you just need to use the command from anove and replace the x with your drive letter,and it should be fine.$$be sure all words are spelled exactly as they are in the directories when entering your commands##
For what its worth, i went thru this the other day too, and it turned out to be a letter here, or capitol there that fucked me up, it sux i know. but if it worked for me, hopefully it will 4 u 2
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Yes, I have the image mounted, the same bloody image I've used to install the OS I'm just using. This is absurd. I've tried this:

Dism /Online /Cleanup-Image /RestoreHealth /Source:E:\x64\sources\install.esd
Dism /Online /Cleanup-Image /RestoreHealth /Source:E:\x64\sources\install.esd:1
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd /limitaccess
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd:1
Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\x64\sources\install.esd:1 /limitaccess

None of this crap works even though entire freaking internet is saying that this is the way to do it. Some even mention using quotas for the path which makes no difference (It doesn't need it anyway since there aren't any spaces anyway.

I just can't understand how can OS integrity check tool feature be dumber as years pass by instead of being smarter and more useful.

EDIT:
Redownloading 4 gigs of stupid image because the one I have apparently isn't good enough. *sigh*
 
Joined
Oct 17, 2012
Messages
9,781 (2.32/day)
Location
Massachusetts
System Name Americas cure is the death of Social Justice & Political Correctness
Processor i7-11700K
Motherboard Asrock Z590 Extreme wifi 6E
Cooling Noctua NH-U12A
Memory 32GB Corsair RGB fancy boi 5000
Video Card(s) RTX 3090 Reference
Storage Samsung 970 Evo 1Tb + Samsung 970 Evo 500Gb
Display(s) Dell - 27" LED QHD G-SYNC x2
Case Fractal Design Meshify-C
Audio Device(s) on board
Power Supply Seasonic Focus+ Gold 1000 Watt
Mouse Logitech G502 spectrum
Keyboard AZIO MGK-1 RGB (Kaith Blue)
Software Win 10 Professional 64 bit
Benchmark Scores the MLGeesiest
I see its giving you trouble.
I too couldnt get the esd source command to work, thats why i suggest you go the "install.wim" route.

You posted that your downloading a iso, hopefully you try the wim method.

Best of luck

P.S.
if you decide to go with the "install.wim" method i recommended, this command worked just a moment ago for me, and hopefully it will for you too...

DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:X:\sources\Install.wim:1 /LimitAccess
im sure you know, but be certain to replace "X" with Your mounted drive letter.
 
Joined
Oct 24, 2004
Messages
1,294 (0.18/day)
Well, i browsed to the sub directory containing the install.esd file and initiated the following command (one of your previous command)

Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:install.esd:1



it worked as expected
 

Kursah

Super Moderator
Staff member
Joined
Oct 15, 2006
Messages
14,673 (2.29/day)
Location
Missoula, MT, USA
System Name Kursah's Gaming Rig 2018 (2022 Upgrade) - Ryzen+ Edition | Gaming Laptop (Lenovo Legion 5i Pro 2022)
Processor R7 5800X @ Stock | i7 12700H @ Stock
Motherboard Asus ROG Strix X370-F Gaming BIOS 6203| Legion 5i Pro NM-E231
Cooling Noctua NH-U14S Push-Pull + NT-H1 | Stock Cooling
Memory TEAMGROUP T-Force Vulcan Z 32GB (2x16) DDR4 4000 @ 3600 18-20-20-42 1.35v | 32GB DDR5 4800 (2x16)
Video Card(s) Palit GeForce RTX 4070 JetStream 12GB | CPU-based Intel Iris XE + RTX 3070 8GB 150W
Storage 4TB SP UD90 NVME, 960GB SATA SSD, 2TB HDD | 1TB Samsung OEM NVME SSD + 4TB Crucial P3 Plus NVME SSD
Display(s) Acer 28" 4K VG280K x2 | 16" 2560x1600 built-in
Case Corsair 600C - Stock Fans on Low | Stock Metal/Plastic
Audio Device(s) Aune T1 mk1 > AKG K553 Pro + JVC HA-RX 700 (Equalizer APO + PeaceUI) | Bluetooth Earbuds (BX29)
Power Supply EVGA 750G2 Modular + APC Back-UPS Pro 1500 | 300W OEM (heavy use) or Lenovo Legion C135W GAN (light)
Mouse Logitech G502 | Logitech M330
Keyboard HyperX Alloy Core RGB | Built in Keyboard (Lenovo laptop KB FTW)
Software Windows 11 Pro x64 | Windows 11 Home x64
Excellent command and utility to know about and use. I use it regularly. Not so much for image creation any longer but for image repair quite often.
 
Joined
Oct 24, 2004
Messages
1,294 (0.18/day)
i forgot to mention that i decompressed this microsoft iso on my harddrive, could it be that you are trying to access the install.esd from a virtual drive ? (in which case it's read only ?)
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Is "E:" correct? You're calling it from "F:"
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Apparently images downloaded through Media Creation tool aren't good (the ones I had). They come with INSTALL.ESD and are entirely rejected by DISM. I wonder what else is borked up with those...

The newly downloaded one has INSTALL.WIM and it worked this time. Absolutely bizarre.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Thx guys, I'll compress this data into a blog post. For all the so called guides I've read, not a single one mentioned it has to be WIM file (some listed even ESD which clearly doesn't work) or that certain ISO images don't work with DISM.

After I've done DISM thingie, SFC also managed to repair stuff. Which is what I've needed here.
 

crazyeyesreaper

Not a Moderator
Staff member
Joined
Mar 25, 2009
Messages
9,764 (1.77/day)
Location
04578
System Name Old reliable
Processor Intel 8700K @ 4.8 GHz
Motherboard MSI Z370 Gaming Pro Carbon AC
Cooling Custom Water
Memory 32 GB Crucial Ballistix 3666 MHz
Video Card(s) MSI GTX 1080 Ti Gaming X
Storage 3x SSDs 2x HDDs
Display(s) Dell U2412M + Samsung TA350
Case Thermaltake Core P3 TG
Audio Device(s) Samson Meteor Mic / Generic 2.1 / KRK KNS 6400 headset
Power Supply Zalman EBT-1000
Mouse Mionix NAOS 7000
Keyboard Mionix
FUCKING LIFE SAVING, ran into the Nvidia Opencl.dll issue with Windows 10 aka windows says its borked cant fix it need to do DISM to fix it had the same issues you were having. Thank fucking god the BSODs have stopped.
 
Joined
Jul 16, 2014
Messages
8,118 (2.27/day)
Location
SE Michigan
System Name Dumbass
Processor AMD Ryzen 7800X3D
Motherboard ASUS TUF gaming B650
Cooling Artic Liquid Freezer 2 - 420mm
Memory G.Skill Sniper 32gb DDR5 6000
Video Card(s) GreenTeam 4070 ti super 16gb
Storage Samsung EVO 500gb & 1Tb, 2tb HDD, 500gb WD Black
Display(s) 1x Nixeus NX_EDG27, 2x Dell S2440L (16:9)
Case Phanteks Enthoo Primo w/8 140mm SP Fans
Audio Device(s) onboard (realtek?) - SPKRS:Logitech Z623 200w 2.1
Power Supply Corsair HX1000i
Mouse Steeseries Esports Wireless
Keyboard Corsair K100
Software windows 10 H
Benchmark Scores https://i.imgur.com/aoz3vWY.jpg?2
Joined
Nov 1, 2008
Messages
4,213 (0.75/day)
Location
Vietnam
System Name Gaming System / HTPC-Server
Processor i7 8700K (@4.8 Ghz All-Core) / R7 5900X
Motherboard Z370 Aorus Ultra Gaming / MSI B450 Mortar Max
Cooling CM ML360 / CM ML240L
Memory 16Gb Hynix @3200 MHz / 16Gb Hynix @3000Mhz
Video Card(s) Zotac 3080 / Colorful 1060
Storage 750G MX300 + 2x500G NVMe / 40Tb Reds + 1Tb WD Blue NVMe
Display(s) LG 27GN800-B 27'' 2K 144Hz / Sony TV
Case Xigmatek Aquarius Plus / Corsair Air 240
Audio Device(s) On Board Realtek
Power Supply Super Flower Leadex III Gold 750W / Andyson TX-700 Platinum
Mouse Logitech G502 Hero / K400+
Keyboard Wooting Two / K400+
Software Windows 10 x64
Benchmark Scores Cinebench R15 = 1542 3D Mark Timespy = 9758
I came across this exact same problem.

Start menu was borked and sfc could not fix it. I tried using the .iso from the download tool, but DISM would reject it.

I ended up having to re-install the OS.
 
Joined
Oct 2, 2004
Messages
13,791 (1.93/day)
Oh my god, this is the most hilarious shit ever. Just reinstalled OS from ISO's given above, installed few drivers and guess what I got when I tried SFC and DISM for lol? Windows found corrupted files and was unable to fix them. Like 1 hour after OS installation. No wonder computers are all messed up if OS can't hold its integrity true after 1 hour after absolutely clean installation. Microsoft, what the hell are you doing?
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
It's probably the drivers. Microsoft distributes what vendors give them.

Case in point: this issue with Speaker Fill not working is now fixed in the latest drivers from Windows Update.

If you know it is the NVIDIA driver causing problems, report it to NVIDIA so they can get it fixed and Microsoft can push out a fixed driver.
 

crazyeyesreaper

Not a Moderator
Staff member
Joined
Mar 25, 2009
Messages
9,764 (1.77/day)
Location
04578
System Name Old reliable
Processor Intel 8700K @ 4.8 GHz
Motherboard MSI Z370 Gaming Pro Carbon AC
Cooling Custom Water
Memory 32 GB Crucial Ballistix 3666 MHz
Video Card(s) MSI GTX 1080 Ti Gaming X
Storage 3x SSDs 2x HDDs
Display(s) Dell U2412M + Samsung TA350
Case Thermaltake Core P3 TG
Audio Device(s) Samson Meteor Mic / Generic 2.1 / KRK KNS 6400 headset
Power Supply Zalman EBT-1000
Mouse Mionix NAOS 7000
Keyboard Mionix
It's probably the drivers. Microsoft distributes what vendors give them.

Case in point: this issue with Speaker Fill not working is now fixed in the latest drivers from Windows Update.

If you know it is the NVIDIA driver causing problems, report it to NVIDIA so they can get it fixed and Microsoft can push out a fixed driver.
My Opencl.dll issue is due to Microsoft and Nvidia not fixing an issue thats been around since mid 2015. Apparently Microsoft doesn't like th eOpencl.dll Nvidia driver bundles so it defaults to microsoft one causing conflicts. Apparently Nvidia fixed this already but it keep popping up. for most users it just creates a minor error they will never notice for me tho it caused BSODs. The above fixed it. Also seems to be more common problem with upgraded systems vs fresh installs.
 
Top