If you get the error message "cannot find source files"you need to have an ISO file mounted and need to specify where it is located with the below command
DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess Where "X" is the drive letter where the ISO is located. Simply change the "X" to the correct drive letter
i tried that already and it still can't find sources! Are you sure it works with windows 10? I don't have an ISO I have a USB stick i created with the media creation tool on the Microsoft website. I looked in the sources folder and install.wim is not even there. It is install.esd. And even changing the dism command to use the esd extension doesn't work. Neither does changing the esd extension to wim!
This thread should not have been moved to the windows update section because it has nothing to do with windows updates. I ran dism /online /cleanup-image /restorehealth ... I'm not having any problems with windows update!
This thread is in the Windows Update section because DISM and SFC issues are normally closely related to Windows Update errors so we keep them all together. We have specially trained analysts here at Sysnative who assist with Windows Update, SFC and DISM issues. However, we currently have a long backlog of threads and a very small number of helpers so we have a standard wait time of 48-72 hours on these threads. Please be patient :)
The DISM command is used to replace corrupted system files, so this thread fully belongs in the Windows Update section, so does any threads involving Windows Update, SFC, DISM, SURT, etc. :) I'll assist you with your issue. The 0x800f081f error code when running DISM under Windows 10 is a known issue. Somehow, some files are corrupted during the upgrade (there's no explanation to this yet) and they need to be replaced. Follow the instructions below please.
DISM - Fixing Component Store Corruption
Follow the instructions below to run a DISM scan on your system:
On Windows 8, drag your cursor in the bottom-left corner, and right-click on the metro menu preview, then select Command Prompt (Admin);
On Windows 8.1, right click on the Windows logo in the bottom-left corner and select Command Prompt (Admin);
Enter the command DISM /Online /Cleanup-Image /RestoreHealth and press on Enter;
Let the scan run until the end (100%);
Copy the C:\Windows\Logs\DISM folder and C:\Windows\Logs\CBS\CBS.log file on your Desktop, then right-click on it, go to Send to... and select Compressed .zip archive;
Note: Please note that the CBS.log is volatile, which means that if you don't upload it after the DISM scan is completed, it won't contains the information from the scan anymore. So archive it and upload it as soon as you can.
Alright, thank you for letting us know :) If it happens again, I invite you to create a new thread in the Windows Update section, and you can start with a DISM scan, following the instructions I posted above and provide both the CBS and DISM logs like asked, this will save us time :)
Edit: I was asking for a DISM scan to get fresh logs, not to hope that running it another time would solve the issue :)
Re-read my post, I didn't say that re-running it would fix the error. I was asking you to re-run it so it could generate new logs, and then you would upload them for me to review.
ok dism failed to find sources again. but then i ran sfc /scannow with repaired some corrupt files. i then ran dism again and it successfully restored. :grin1: