Trouble with DISM: Source Files Not Found Errors

December 5, 2025 5 answers
Asked by TechieTurtle23
I'm really frustrated with finding solutions for the DISM tool when I encounter the 'source files cannot be found' error on a server. I've read countless articles suggesting methods that just don't seem to work. First, they say to use an ISO of the OS, but every time I do that, it fails since it's not the same version as what's currently installed on the machine. Even building an ISO from the exact build and updates doesn't work. Secondly, I've also tried using the WinSxS folder from another computer, but again, it results in the same error. If anyone out there has successfully run DISM with the command 'DISM /online /cleanup-image /restorehealth' after hitting that error, I'd love to know how you did it. I need DISM to work so I can get updates installing again on the server!

Answers

CleverCactus89
DISM can be a pain! Honestly, if you constantly get errors, rebuilding might be the best bet. Sometimes itโ€™s just not worth the hassle trying to fix something thatโ€™s repeatedly failing.
Reply to this answer
NetworkNinja07
Looks like your WSUS settings might be causing conflicts. I had a similar problem where even specifying a local source, WSUS would still try to pull updates from itself. You might want to check and toggle the 'UseWUServer' registry key if that's the case.
Reply to this answer
FixItFelix74
Iโ€™ve successfully run DISM using a mounted ISO without issues, so it can work! What exact command are you trying? Are you sure you havenโ€™t got any additional switches mixed up?
Reply to this answer
CuriousCat17
A few tricks I found useful: First, run an SFC check. Then try commands like 'DISM /online /revertpendingactions' or 'DISM /online /Cleanup-Image /StartComponentCleanup /ResetBase'. Just a heads up thoughโ€”using the /resetbase option means you won't be able to uninstall previous updates.
Reply to this answer
SlickShadow42
Make sure you're running the command with admin rights and check that your paths are absolutely correct. When I last used it, I mounted the ISO directly on the problem machine and it worked fine.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions