π ~1 min read
Table of contents
Symptom & Impact
sfc /scannow on Windows Server 2012 R2 finds corrupt system files but cannot repair them, leaving stability warnings unresolved.
Environment & Reproduction
Triggered during routine health audits where component store cannot supply the original payload for the damaged file.
sfc /scannow
Root Cause Analysis
SFC depends on a healthy component store; when CBS payloads are missing, SFC can detect corruption but cannot replace files.
Quick Triage
Read CBS.log to list every unrepairable file and the missing manifest.
findstr /c:'[SR]' C:WindowsLogsCBSCBS.log > C:logssr.log
Step-by-Step Diagnosis
Identify which package owns each unrepairable file using DISM.
dism /online /get-packages /format:table

Solution β Primary Fix
Restore the component store with DISM first, then re-run SFC so it can find replacements.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
dism /online /cleanup-image /restorehealth /source:WIM:E:sourcesinstall.wim:1 /limitaccess
sfc /scannow

Solution β Alternative Approaches
Manually copy the affected file from a healthy peer at the same patch level and reset ACLs.
takeown /f C:WindowsSystem32bad.dll
icacls C:WindowsSystem32bad.dll /grant Administrators:F
Copy-Item \peerC$WindowsSystem32bad.dll C:WindowsSystem32
Verification & Acceptance Criteria
sfc /scannow returns Windows Resource Protection did not find any integrity violations.
sfc /verifyonly
Rollback Plan
If a replaced file caused new instability, restore the original from system state backup.
wbadmin start recovery -version: -itemtype:File -items:C:WindowsSystem32bad.dll
Prevention & Hardening
Schedule monthly DISM analyse and SFC verify to catch component drift early.
Dism /Online /Cleanup-Image /AnalyzeComponentStore
Related Errors & Cross-Refs
Related: DISM 0x800f081f, slow Windows Update scans, and crashed servicing stack.
Related tutorial: View the step-by-step tutorial for Windows Server 2012 R2.
View all Windows Server 2012 R2 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn troubleshooting page for System File Checker and component store repair.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.