Affected versions: Windows Server 2019

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution β€” Primary Fix
  7. Solution β€” Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

sfc /scannow on Windows Server 2019 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
Illustrative mockup for windows-server-2019 β€” terminal_or_powershell
Diagnostic output for packaging/sfc-cannot-repair β€” Illustrative mockup β€” Progressive Robot

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
Illustrative mockup for windows-server-2019 β€” event_or_log_viewer
Resolution for packaging/sfc-cannot-repair β€” Illustrative mockup β€” Progressive Robot

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: DISM 0x800f081f, slow Windows Update scans, and crashed servicing stack.

Related tutorial: View the step-by-step tutorial for Windows Server 2019.

View all Windows Server 2019 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.