Fix sfc /scannow error: “Windows Resource Protection found corrupt files but was unable to fix some of them”

Situation: The client has a problem to run some programs such as Search, Command Prompt and Outlook. When he tried to run sfc /scannow, he receives this message:

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
windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.

Troubleshooting: we check CBS.log and find this error:

2021-10-28 13:28:09, Error CSI 0000015e@2021/10/28:18:28:09.493 (F) onecore\base\wcp\componentstore\csd_core.cpp(584): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function CCSDirect::GetComponentManifest expression: (null) [gle=0x80004005]

Resolution 1:

run these Deployment Image Servicing and Management commands:

“DISM /Online /Cleanup-Image /CheckHealth” without quote and press ENTER
“DISM /Online /Cleanup-Image /ScanHealth” without quote and press ENTER
“DISM /Online /Cleanup-Image /RestoreHealth” without quote and press ENTER


Resolution 2: Install the latest Windows Update.

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

Leave a Reply