SFC Found Corrupt Files but Could Not Fix Them: How to Read CBS.log and Repair Windows 11

Magnifying glass over a row of five blank file icons, two marked with amber crosses, beside a scroll-shaped log and a small wrench on a navy background
Magnifying glass over a row of five blank file icons, two marked with amber crosses, beside a scroll-shaped log and a small wrench on a navy background

When SFC found corrupt files but could not fix them, the scan has told you something useful, even though it did not finish the job. The message means the tool found damage in protected Windows files and could not replace every damaged file from its cached copy. This guide explains what each SFC result means, how to read the CBS.log details safely, and the order we would use to repair Windows 11 from there.

Last reviewed: November 24, 2026. Steps were compared with Microsoft documentation where a page exists; none was run on a real PC. The top picture is a generated illustration.

Quick answer: when SFC found corrupt files but could not fix them, read the log, run DISM, then escalate

The short version

  • Read the SFC lines in CBS.log. They name the files that could not be repaired.
  • Run DISM /Online /Cleanup-Image /RestoreHealth first, restart, then run sfc /scannow once more.
  • If the same file is reported again, stop repeating SFC and run it in Safe Mode.
  • If that fails, run SFC offline from the Windows recovery environment and check the drive.
  • Use a repair install before a reset, and keep a backup of your files throughout.

In this guide

What the SFC message means

System File Checker, run as sfc /scannow from an elevated Command Prompt, checks protected Windows files and replaces damaged ones from a cached copy where it can. When it cannot finish that job, it prints a result message, and the detail is written to the component log. We opened Microsoft's support page for the tool and confirmed the wording of all four result messages, which are set out below. Read the message first, because each one points to a different next step.

  1. Read the message Note which result line appeared at the end of the scan. The wording decides the path you take.
  2. Read the log lines Extract the SFC lines from CBS.log and look for the entries that name a file SFC could not repair.
  3. Repair the source first Run DISM, restart and retry SFC once, because DISM repairs the component store that SFC copies from.
  4. Escalate in order Move to Safe Mode, then offline SFC, then a drive check, then a repair install. A reset is the last step, not the first.

The four result messages

MessageWhat Microsoft says it meansNext step in this guide
Windows Resource Protection did not find any integrity violations.You do not have any missing or corrupted system files.No file repair is needed. If Windows still misbehaves, look for the cause elsewhere, such as a driver or the drive.
Windows Resource Protection found corrupt files and successfully repaired them.The operation was successful. Microsoft's page points to the log for the detail of what was restored.Read the log lines for the run, then run sfc /scannow once more to confirm a clean result.
Windows Resource Protection found corrupt files but was unable to fix some of them.SFC found damage it could not repair from its cached copy. Microsoft's page describes replacing files by hand; this guide does not.Read the log, run DISM, restart, retry SFC once, then move to Safe Mode and offline steps.
Windows Resource Protection could not perform the requested operation.SFC could not run its check normally. Microsoft's page says to run the scan in Safe Mode and lists the PendingDeletes and PendingRenames folders as something to check.Run SFC in Safe Mode first, then check the pending folders as described in step 4.

Which path to take

  • Result says "unable to fix some of them"
    • Read the CBS.log lines and note any "Cannot repair member file" entries
      • Run DISM, restart, then run SFC once more
        • Clean result: the problem is probably solved; confirm the rest of the system another way
          • Same file reported again: stop repeating SFC and go to Safe Mode
            • SFC still fails there: run it offline from recovery, then check the drive
              • Drive is healthy and SFC still fails: repair install
                • Repair install does not fix it: reset with files kept, after a backup
    • Result says "could not perform the requested operation"
      • Go straight to Safe Mode, then follow the same order

    Step-by-step fixes

    Work through these in order. The routine repair commands are covered in our routine SFC and DISM guide, so this section covers only what changes once SFC has already reported files it could not fix. Do not skip the log step, because it tells you which file the rest of the work is about.

    Before you start

    Back up your personal files before any repair. Our system image backup guide covers one way to do that. If you have a restore point from earlier, System Restore is another route to check, but it is not a repair for damaged component files.

    1. Read the CBS.log details without changing any files

    Open an elevated Command Prompt by searching for cmd, right-clicking Command Prompt and choosing Run as administrator. Run this one command, which Microsoft's support page gives to copy the SFC lines from the log into a text file on your Desktop:

    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

    The command only reads the log and writes one new text file. Open sfcdetails.txt in Notepad. Microsoft's page says the file holds details from every time SFC has run on the computer, so start from the newest entries and check the date and time on each line.

    Look for lines that contain "Cannot repair member file". Microsoft's knowledge base article 928228 explains that this entry means the file content does not match the operating system definition for that file and that SFC cannot repair it. The quoted file name after the entry is the file, and the text after "of" usually names the component it belongs to. Write the file name down, because the later steps depend on it. The article's example is from an older version of Windows, so the layout matters more than the exact text.

    Microsoft's support page also describes taking ownership of a file with takeown and granting access with icacls before copying in a known good copy. We do not recommend that in this guide. It changes permissions on protected system files, and a copy from another machine that is not identical can make the damage worse. The steps below work from the log without touching individual files.

    You should see: a text file on your Desktop with lines that start with a date and time and contain [SR]. The newest block of lines is the most recent SFC run.

    If this fails: if the command says access is denied, the window is not elevated, so close it and open Command Prompt again as administrator. If sfcdetails.txt is empty, the log may not contain SFC lines yet, so run sfc /scannow once and read the log again.

    Not every log line is a problem

    KB 928228 notes that a log entry saying SFC is repairing a file does not mean a repair happened when the file was only verified. We did not find a Microsoft statement about false alarms on the page we read. Treat one log line as a clue to check, not a verdict, and look for the same file across more than one run.

    2. Run DISM before SFC again

    Microsoft's support page says to run DISM before SFC, because DISM supplies the files that SFC uses for its repairs. In an elevated Command Prompt, run:

    DISM.exe /Online /Cleanup-image /Restorehealth

    DISM uses Windows Update as its source by default. Microsoft's page notes that if the Windows Update client is broken, you can use a repair source instead, with the /Source option and /LimitAccess. Our guide to fixing Windows Update when it is stuck or failing covers the update side. If DISM itself reports an error, our separate article on DISM error 0x800f081f and source files covers that problem.

    You should see: progress percentages while the repair runs, then a completion or error message. The exact wording can vary between builds, so note whether it reports an error at the end.

    If this fails: an error means DISM could not get the files it needs. Do not run SFC expecting a different result until you have sorted the DISM error, and check the source option in the Microsoft page cited above.

    3. Restart, then run sfc /scannow once more

    Restart the PC, then open an elevated Command Prompt and run the scan again:

    sfc /scannow

    Keep the window open until the verification reaches 100 percent, as Microsoft's page advises. Run DISM and SFC one more time only if the first pair changed something. If the same "unable to fix" result comes back, stop repeating and move to step 4.

    You should see: one of the four result messages. A clean result means the problem is resolved for this scan. A repeat of "unable to fix some of them" means the damage is still there.

    If this fails: if the window closes or you see "could not perform the requested operation", go to step 4 instead of repeating this step.

    4. Run SFC in Safe Mode, especially for the could not perform message

    Microsoft's page says that for "could not perform the requested operation", you should run the scan in Safe Mode. Our guide to Safe Mode explains how to start it. Once you are in Safe Mode, open an elevated Command Prompt and run sfc /scannow again.

    Microsoft's page also says to make sure the PendingDeletes and PendingRenames folders exist under the WinSxS\Temp folder in your Windows folder, such as C:\Windows. Treat that as a pointer only: look, but do not delete or move anything in there. Our article on the WinSxS folder in Windows 11 explains what that folder holds and why it should be left alone.

    You should see: the scan runs in Safe Mode and reports one of the four result messages. If the pending folders are present, that matches the page's description.

    If this fails: if the scan still cannot run in Safe Mode, or the pending folders are missing, note the exact message and move on to step 5. Missing folders on their own are a clue, not a fix.

    5. Run SFC offline from the Windows recovery environment

    When Windows will not run a normal scan, an offline scan from the recovery environment can check the Windows folder while it is not in use. You need a recovery drive or the recovery options that Windows offers; our guide to creating a Windows 11 recovery drive explains how to make one. Open Command Prompt from the recovery options. The menu names can change between versions, and we did not confirm them against a Microsoft page, so follow the labels you see.

    In recovery, Windows is often not on C:, so find its letter first. Check each drive letter until you find the folder that holds Windows. For example:

    dir D:

    Repeat with other letters, such as dir C: or dir E:, until you see a Windows folder and a Users folder. Use that letter in the next command, in both places where C: appears here, replacing C: with your letter. The offline syntax below comes from Microsoft's SFC command reference, which we did not open for this guide, so check it against sfc /? on your own PC if the command is rejected:

    sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

    You should see: a result message after the offline scan finishes. Note it, and check the log again for new "Cannot repair member file" lines.

    If this fails: if you see that the Windows folder cannot be found, try the other drive letters. If the PC cannot reach recovery at all, see our guide to Windows startup repair when the PC will not boot.

    6. Check the drive before anything else

    Repeated file damage can have a drive cause, so check the drive before you reinstall anything. Microsoft's chkdsk reference describes the /scan parameter as an online scan of the volume, and it is for NTFS volumes. Run this in an elevated Command Prompt, using the letter of your Windows drive:

    chkdsk C: /scan

    We did not confirm from that reference that /scan repairs anything, so treat it as a check. Microsoft's page does say that /f fixes errors on the disk and /r locates bad sectors and recovers readable information, and that both need the disk to be locked, which can mean a restart. Do not run chkdsk /f or chkdsk /r as a first step on a drive that may be failing, and back up your files first. For a more detailed look at drive health, see our guide to checking hard drive and SSD health with SMART.

    You should see: a message saying whether the scan found problems. A clean result points the search back to files and updates.

    If this fails: if chkdsk reports errors or cannot run on the volume, back up what you can first. Failing hardware is not fixed by repeating file repairs, so treat the drive as the likely cause and get help.

    7. Repair install Windows 11 before any reset

    A repair install reinstalls Windows over the current system and keeps your personal files and apps. We did not open Microsoft's Windows 11 installation media page for this guide, so check the current option names on Microsoft's download page. In general, you download the Windows 11 installation media, run setup.exe from inside Windows, and choose the option to keep personal files and apps. Our guide to repairing Windows 11 without losing files walks through the same idea.

    You should see: the setup screens, then Windows restarting while it repairs the system. Your files and apps remain if you chose the keep option. After the repair, run sfc /scannow once to check the result.

    If this fails: if setup cannot finish, note the error code and check the drive from step 6 again. Only consider a reset after the repair install has failed. Our guide to resetting Windows 11 and keeping files covers that route, and our article on problems with resetting your PC covers what can go wrong during it.

    How to tell it is fixed

    A fix is confirmed when a fresh SFC run reports that no integrity violations were found, after a restart, and the newest log lines show no new "Cannot repair member file" entries. One clean run is a good sign, but it does not prove that the earlier fault will not come back, so watch the PC for a day or two.

    Stop looping. If the same file appears in CBS.log across several runs, with DISM and a restart in between, repeating SFC again will not change the outcome. The next step is a different route: Safe Mode, offline SFC, the drive check, or a repair install. Repeat counts are not evidence of progress.

    1. Restart the PC and confirm it starts normally.
    2. Run sfc /scannow once in an elevated Command Prompt.
    3. Confirm the result is "did not find any integrity violations".
    4. Read the newest lines of sfcdetails.txt and check there are no new "Cannot repair member file" entries.
    5. Use the PC normally for a day or two. If crashes continue, our guide to understanding and fixing blue screen errors is the next place to look.

    When to stop and get help

    Stop and get help if the PC will not start normally, if setup or the drive check keeps failing, or if the log names files from more than one component after a full pass. Microsoft's page does not describe these cases, so we are giving a practical boundary rather than a documented one.

    If the PC gets stuck in a startup loop, see our guide to fixing the Windows automatic repair loop. If the error names the configuration registry database, see our guide to configuration registry database error 0x800703F1. If you see repeated crashes alongside the SFC messages, memory can be the cause; our guides to checking whether RAM is failing and fixing memory management blue screens are the places to look. A recent driver or update can also be the trigger, so review our guides on updating drivers and rolling back a Windows update if the trouble began after a change. For registry problems rather than system files, compare registry cleaners compared with SFC.

    If the log names a missing DLL, do not download that single file from a website. Our article on fixing missing DLL errors in Windows explains safer options. If you suspect infection, run a malware scan with the security tool you already use, and do not turn off protection to make SFC run; our guide to removing malware from a Windows PC covers the scan.

    If every route above has failed and your backup is safe, a clean install from USB is the last repair option before a PC is replaced; our guide to clean installing Windows 11 from a USB drive covers it. For a short decision on a particular symptom, the repair assistant can help you choose the next page to read.

    Frequently asked questions

    About the messages

    What does SFC found corrupt files but was unable to fix some of them mean?

    Microsoft's support page gives this as one of the four SFC result messages. It means SFC found damage in protected Windows files and could not replace all of it from its cached copy. The CBS.log lines show which files are affected.

    Is it safe to keep running sfc /scannow?

    Running it once after DISM and a restart is reasonable. Running it again and again with the same result does not change the outcome, so move to the next route instead.

    What does Cannot repair member file mean?

    According to Microsoft's knowledge base article 928228, the file content does not match the operating system definition for that file, and SFC cannot repair it.

    Does Microsoft say the log can show false alarms?

    We did not find a Microsoft statement about false alarms on the page we read. The same article notes that a log entry saying SFC is repairing a file does not mean a repair happened when a file was only verified, so check the same file across more than one run.

    About the next steps

    Why should DISM run before SFC?

    Microsoft's support page says DISM provides the files that SFC needs to repair corrupted files, so DISM is run first.

    What should I do if SFC says it could not perform the requested operation?

    Microsoft's page says to run the scan in Safe Mode and to check that the PendingDeletes and PendingRenames folders exist under the WinSxS\Temp folder. Check them, but do not delete anything in that folder.

    Do I have to replace the damaged file by hand?

    Microsoft's page describes that method, but this guide does not recommend it. The Safe Mode, offline, drive check and repair install steps are safer ways to work through the same problem.

    When is a reset the right step?

    A reset is the last step after a repair install has failed and your files are backed up. Choose the option that keeps your files when you reset, and read the choices carefully.

    More help

    For more repair guides on Windows problems, visit PC repair guides.

    How this guide was checked

    We opened four Microsoft pages: the support page for the System File Checker, knowledge base article 928228 (which now sits on Microsoft Learn), the chkdsk reference, and the Repair a Windows Image page for Windows 8.1 and Windows Server 2012, which describes the same DISM command. Two other Microsoft URLs returned not-found pages, so we did not use them. Steps were compared with Microsoft documentation where a page exists; none was run on a real PC. Where a step rests on a page we did not open, we say so in the text.

    Sources