Windows – How to analyze the ‘CBS.log’ file generated by the ‘sfc’ command to detect corrupt files in Windows 7

sfcwindows 7

I have some problems with my Windows 7 system so I've ran sfc /scannow. I'm getting this message:

Windows Resource Protection found corrupt files and was unable to fix some of them…

I also searched the folder of the log file to find the cbs.log. I then ran this command to pull out the actual problems/corrupt files:

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

This command created an sfcdetails text file (download).

Can someone help me analyze this file? I haven't found a detailed article about it so far.

Best Answer

Answer :

You can manually make search for those text :

  • "corrup"
  • "repair"
  • "Repairing corrupted file"
  • "Cannot repair member file"
  • "Repaired file"
  • "[SR]"

Capture

Alternative Answer :

Use the application "Read and analyze Cbs.log"

Update (as of 2020): warning the official download link for this application is dead, proceed with caution.

Capture


Additional details on the Microsoft's documentation

Related Question