[SOLVED] sfc errors that I cannot resolve with DISM

ksorensen

Member
Joined
Jun 13, 2024
Posts
14
I am unable to launch Check for Updates on my Windows 2019 Datacenter server. A widow comes up but then immediately closes.

SFC /scannow is reporting issues but not fixing them:
Windows Resource Protection found corrupt files but was unable to fix some of them.
DISM is reporting source files that cannot be found
DISM.exe /Online /Cleanup-Image /RestoreHealth
I am not having any luck pointing it at install media I've mounted.
I looked up the correct WIM version with
DISM /get-wiminfo /wimfile:"D:\sources\install.wim"
dism /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim:4 /limitaccess
But it reports that it could not find source files

So, I am looking for some help! Please and thank you.
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Command line output below. Logs attached.

Thanks,

C:\Windows\system32>DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.1

Image Version: 10.0.17763.615

[==========================100.0%==========================]
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 Configure a Windows Repair Source.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 

Attachments

Hi,

Here's the next fix.

Step 1.
Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Great, please attempt to update and let me know if there are any remaining issues. If so, please provide the latest CBS logs.
 
So the check for updates window still closes/crashes right after I open it.
DISM still says it is running clean.
But, I am able to and have completed recommended updates using sconfig. I was unwilling to try that while DISM was reporting issues.

New CBS and DISM logs attached (post updates).

I don't think I need anything more, but if you have a suggestion that might address the check for updates window UI, let me know!

I have donated! This was a painless process for an otherwise painful problem!
 

Attachments

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top