How do I analyze the 'CBS.log' file generated by the 'sfc' command to detect corrupt files in Windows 7?

8

2

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.

energydream2007

Posted 2012-08-26T19:16:30.953

Reputation: 105

I get a addware warning from avira on the linked site. – marsh-wiggle – 2014-12-20T08:44:05.087

Answers

4

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" from http://batchapp.webs.com/miscellaneous.htm

Capture

Links :

https://support.microsoft.com/en-en/kb/928228

http://batchapp.webs.com/miscellaneous.htm

intika

Posted 2012-08-26T19:16:30.953

Reputation: 839

0

your log is clean, no corrupt files were found,

2012-08-26 21:25:12, Info CSI    00000359 [SR] Repairing 0 components

Moab

Posted 2012-08-26T19:16:30.953

Reputation: 54 203

Tnx man but how can that be? - according to this there is something "....found corrupt files and was unable to fix..." – energydream2007 – 2012-08-26T19:53:23.777

I don't know, it should have logged the corrupt files in that log, but did not. – Moab – 2012-08-26T19:54:02.093

interesting - il try to run the command in winpe and see what il get – energydream2007 – 2012-08-26T19:57:15.043

I just ran the command "sfc /verifyonly" and my log looks just like yours, verify only does not repair anything, it said no integrity violations found at the end of the scan. – Moab – 2012-08-26T19:58:47.177

very interesting, cause i did ran it in scannow switch as always.. – energydream2007 – 2012-08-26T20:00:46.147

rename your cbs log file to CBS.log.BAK, rerun SFC /scannow – Moab – 2012-08-26T20:22:45.943

Ya its the same as delete the file as i did. same results – energydream2007 – 2012-08-26T20:38:32.763