I have spent several days trying to get DISM to fix corrupted files.
C:windowssystem32>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files but was unable to fix some of them.
For online repairs, details are included in the CBS log file located at
windirLogsCBSCBS.log. For example C:WindowsLogsCBSCBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.
After days of dozens of attempts trying to get DISM to use different sources I was able to get it to work by copying the WindowsWinsxs folder from another Windows 10 computer to a local folder on the affected computer. From there I was able to run dism /online /cleanup-image /restorehealth /source:c:tempwinsxs and that fixed 100 of 109 corrupted files.
After that SFC seemed to run clean now:
C:>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files and successfully repaired them.
For online repairs, details are included in the CBS log file located at
windirLogsCBSCBS.log. For example C:WindowsLogsCBSCBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.
Then to repair the last 9 corrupted files I tried the following to no avail:
`dism /online /cleanup-image /restorehealth`
`dism /online /cleanup-image /restorehealth /source:c:windowswinsxs` - tried using its own sxs files
`dism /online /cleanup-image /restorehealth /source:c:tempwinsxs` - tried other computer sxs files again.
`dism /online /cleanup-image /restorehealth /source:F:sourcesinstall.esd:6` - from bootable USB, resource files can't be found
`dism /online /cleanup-image /restorehealth /source:ESD:F:sourcesinstall.esd:6` - from bootable USB (created from MediaTool: 1 month ago), resource files can't be found, log file shows "The alternate source path directory could not be accessed"
`dism /online /cleanup-image /restorehealth /source:wim:C:tempinstall.wim:1` - after converting bootable USB sourcesinstall.esd index 6 to wim file, resource files can't be found, log file shows "The alternate source path directory could not be accessed"
But nothing is fixing these 9 files:
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) x86_netfx4-clr_dll_b03f5f7f11d50a3a_4.0.15840.200_none_7dcb9751327e3008clr.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) x86_microsoft-windows-s..-installers-onecore_31bf3856ad364e35_10.0.19041.2905_none_04121013a2785e4atimezoneai.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) x86_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_10.0.19041.2905_none_375a8a9dc0658663FeatureSettingsOverride.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.2905_none_21b500c8c45c6e6aCbsMsg.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) x86_microsoft-windows-s..-installers-onecore_31bf3856ad364e35_10.0.19041.3385_none_045af3d1a2407e83luainstall.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) amd64_microsoft-windows-3daudio-hrtfbins_31bf3856ad364e35_10.0.19041.3636_none_b843e5493baebe42rDefaultHrtfs.bin
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) amd64_microsoft-windows-s..-installers-onecore_31bf3856ad364e35_10.0.19041.2905_none_6030ab975ad5cf80netfxconfig.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) amd64_microsoft-windows-s..ingstack-base-extra_31bf3856ad364e35_10.0.19041.2905_none_9379262178c2f799netfxconfig.dll
2025-05-29 12:00:30, Info CBS (p) CSI Payload Corrupt (n) amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.2905_none_7dd39c4c7cb9dfa0CbsCore.dll
The only DISM /source that worked was using the copied windowswinsxs files from the other computer, but apparently that computer doesn’t have the matching 9 source files needed for these last 9 corrupted files.
What options do I have left? How can I get these fixed?