Error Codes Wiki

Windows SFC /scannow Errors — System File Checker Troubleshooting

Errorsystem

About Windows SFC /scannow Errors

Complete guide to Windows SFC /scannow errors including 'could not perform the requested operation', 'found corrupt files but unable to fix', and pending repairs. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.

Here are the key things to understand: SFC (System File Checker) scans and repairs protected Windows system files. Common result: 'Windows Resource Protection found corrupt files but was unable to fix some of them'. SFC logs results to %WinDir%\Logs\CBS\CBS.log. SFC requires the Windows component store (WinSxS) to be healthy for repairs. Must be run from elevated (Administrator) Command Prompt. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.

The most common reasons this occurs include: Corrupted Windows component store (WinSxS folder) — SFC needs healthy sources to repair from. Windows Update failed installation leaving system files in inconsistent state. Malware that modified protected system files. Third-party software replacing system DLLs with modified versions. Disk errors corrupting system files on the Windows partition. Identifying the root cause is the first step toward finding the right solution.

To resolve this, follow these recommended steps: Run DISM first: DISM /Online /Cleanup-Image /RestoreHealth (fixes the component store SFC uses). After DISM completes, run sfc /scannow again from elevated Command Prompt. If DISM fails, specify a Windows ISO as source: DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim. Check CBS.log for specific files that failed: findstr /c:"[SR] Cannot" %WinDir%\Logs\CBS\CBS.log. As last resort, run SFC from Windows Recovery: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.

This article is part of our Windows Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.

Quick Answer

Should I run SFC or DISM first?

Run DISM /Online /Cleanup-Image /RestoreHealth first to fix the component store, then SFC /scannow to repair system files.

Overview

Complete guide to Windows SFC /scannow errors including 'could not perform the requested operation', 'found corrupt files but unable to fix', and pending repairs.

Key Details

  • SFC (System File Checker) scans and repairs protected Windows system files
  • Common result: 'Windows Resource Protection found corrupt files but was unable to fix some of them'
  • SFC logs results to %WinDir%\Logs\CBS\CBS.log
  • SFC requires the Windows component store (WinSxS) to be healthy for repairs
  • Must be run from elevated (Administrator) Command Prompt

Common Causes

  • Corrupted Windows component store (WinSxS folder) — SFC needs healthy sources to repair from
  • Windows Update failed installation leaving system files in inconsistent state
  • Malware that modified protected system files
  • Third-party software replacing system DLLs with modified versions
  • Disk errors corrupting system files on the Windows partition

Steps

  1. 1Run DISM first: DISM /Online /Cleanup-Image /RestoreHealth (fixes the component store SFC uses)
  2. 2After DISM completes, run sfc /scannow again from elevated Command Prompt
  3. 3If DISM fails, specify a Windows ISO as source: DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim
  4. 4Check CBS.log for specific files that failed: findstr /c:"[SR] Cannot" %WinDir%\Logs\CBS\CBS.log
  5. 5As last resort, run SFC from Windows Recovery: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

Tags

windowssfcsystem-file-checkerrepaircorruption

More in System

Frequently Asked Questions

Run DISM /Online /Cleanup-Image /RestoreHealth first to fix the component store, then SFC /scannow to repair system files.