Question The source files could not be found. Error: 0x800f081f

Mr.Stork

Honorable
Mar 24, 2019
128
6
10,595
I'm trying to fix some corrupted files in my widows, idk how some softwares got corrupted, it was fine previous night. So I followed some guides, opened Command Prompt, used SFC /SCANNOW. And found there are some corrupted files present, so I used DISM /Online /Cleanup-Image /RestoreHealth to fix them, but it says:
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18362.175
[===========================96.3%======================= ]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Now what, I searched the web and found that I need to manually download a copy of windows? and specify the source file of that windows? Idk, they didn't explain what I have to do, so I searched a little more and found this page which at least tries to explain what I have to do. But I need some help, I downloaded a version of windows and mounted it to I: using Daemon Tools and used the source command to specify the source, still no luck. Please help. Also, What does the Version and Image version mean?

I'm also inserting below a screenshot of the total mess in Command Prompt.
View: https://imgur.com/a/PmSe3l1
 

Colif

Win 11 Master
Moderator
your command sure looks like what I suggest.

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess W

where "X" is the drive letter where the ISO is located. Simply change the "X" to the correct drive letter
I assume I drive is the location of ISO?

Is this how you mounted ISO? https://www.tenforums.com/tutorials/3579-mount-unmount-iso-img-file-windows-10-a.html

There is another way to fix the files: https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html - all it does is replaces windows and removes most recent patches, replaces windows image which is what DISM is trying to fix
 

Mr.Stork

Honorable
Mar 24, 2019
128
6
10,595
your command sure looks like what I suggest.
Where did you suggest? Your profile picture looks familiar. Another post maybe? Or are you author the page?
Is this how you mounted ISO?
No, another way but I know how to do that what is shown in the tutorial, I'll try that,
There is another way to fix the files: https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html - all it does is replaces windows and removes most recent patches, replaces windows image which is what DISM is trying to fix
I have come across that method, I think it's like a format right? Idk much about it so you can elaborate if you want.
 

Colif

Win 11 Master
Moderator
no, I am not author of page, i was just saying that if I had suggested to do that command, those are the actions I would have given :)

As for the repair install, what it does is replaces your current version of windows with itself. well, a version of itself before any updates, so main difference between it and what you have now is a few cumulative updates. And given way they work, you are only 1 update behind as each one contains the previous updates.
It doesn't touch anything other than windows, so all your files and programs will still be there.
 
Last edited:

britechguy

Commendable
Jul 2, 2019
1,479
243
1,340
And I will second the recommendation of a Repair Install or In-Place Feature Update (the only difference being the former uses the ISO of the version of Windows you're currently running and the latter a newer [probably latest] version). You don't even need USB media if you can currently boot into Windows 10 on the system that's become cranky:

Doing a Windows 10 Repair Install or Feature Update Using the Windows 10 ISO file
 

Mr.Stork

Honorable
Mar 24, 2019
128
6
10,595
no, I am not author of page, i was just saying that if I had suggested to do that command, those are the actions I would have given :)

As for the repair install, what it does is replaces your current version of windows with itself. well, a version of itself before any updates, so main difference between it and what you have now is a few cumulative updates. And given way they work, you are only 1 update behind as each one contains the previous updates.
It doesn't touch anything other than windows, so all your files and programs will still be there.
I tried the Command prompt method, didn't work, all that's left is to do the repair. Will do it soon, after I get my HDD, thing is my HDD is kinda broken, I'll post a thread here please read it and share your opinion here: https://forums.tomshardware.com/thr...ng-this-hdd-more-info-below-pls-read.3502529/
 

Colif

Win 11 Master
Moderator
If the new drive is the only drive in PC, you will need to Clean install win 10 anyway which will resolve this problem entirely

use the media creation tool to make a bootable Installer USB
only have the new drive in PC when you install win 10.

follow this guide: https://forums.tomshardware.com/faq/how-to-do-a-clean-installation-of-windows-10.3170366/

if hdd you are replacing is one with this DISM error, it is possible the drive is cause of errors.
 

Mr.Stork

Honorable
Mar 24, 2019
128
6
10,595
If the new drive is the only drive in PC, you will need to Clean install win 10 anyway which will resolve this problem entirely

use the media creation tool to make a bootable Installer USB
only have the new drive in PC when you install win 10.

follow this guide: https://forums.tomshardware.com/faq/how-to-do-a-clean-installation-of-windows-10.3170366/

if hdd you are replacing is one with this DISM error, it is possible the drive is cause of errors.
Lol you're answering in both of my posts, anyway, Ik how to format and install win 10, I mainly use Media Creation Tool as you suggested and Rufs too sometimes if necessary. I'll try to repair windows the last time before moving on to my new drive.
 

Colif

Win 11 Master
Moderator
it seems a waste of time to try to repair windows if you are going to reinstall win 10 on a new ssd, but its your choice.

I wouldn't try to clone an install that has errors like this.

I answered both as they might have been linked, hdd playing up and windows being corrupted could be same cause. A bad drive.
 

Mr.Stork

Honorable
Mar 24, 2019
128
6
10,595
it seems a waste of time to try to repair windows if you are going to reinstall win 10 on a new ssd, but its your choice.
I wouldn't try to clone an install that has errors like this.
I'll just test it, and see how it works, if I mess it up somehow I don't have to worry because I'll have to format anyway. It's just a test.
 

Mr.Stork

Honorable
Mar 24, 2019
128
6
10,595
it seems a waste of time to try to repair windows if you are going to reinstall win 10 on a new ssd, but its your choice.

I wouldn't try to clone an install that has errors like this.

I answered both as they might have been linked, hdd playing up and windows being corrupted could be same cause. A bad drive.
I marked your answer as best, but as I haven't tried the last repair method I can't rn. Will mark it best if it works, on Monday. Cuz I get the HDD on monday.