Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to analyse the CBS.log

17 Jan 2010   #1
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 
How to analyse the CBS.log

The data provided by the CBS.log is massive - 5.4MB of text is a years worth of reading. Has anybody figured out a way to quickly identify the corrupted files ?? I have read this Microsoft page, but that does not really help.

My System SpecsSystem Spec
.

17 Jan 2010   #2
Microsoft MVP

 
 

Here's the most common text to search for (from the KB article that you referenced):

Repairing corrupted file
Cannot repair member file
Repaired file

Personally, when I search, I search for the term "repair" (without the quotes).
Also, I search from the bottom up, checking dates as I go (so I only have to review the latest sessions).
My System SpecsSystem Spec
17 Jan 2010   #3
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Thanks for the answer. I am not sure how you search for those terms. I pasted the Notepad content into a Word file and tried to search the text from there. But the terms you mention did not yield any results.


Example:
My System SpecsSystem Spec
.


17 Jan 2010   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Wolfgang,

You might be able to use what I did in OPTION TWO of the SFC tutorial below to search for specific items (within the quotes in the code) in the CBS.log, and have it placed neatly in a separate file.

SFC /SCANNOW Command - System File Checker

Hope this helps,
Shawn
My System SpecsSystem Spec
17 Jan 2010   #5
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Thanks Shawn. But my problem is not to open the CBS.log. It is just too much data to sift thru. The OPTION TWO did not really do anything for me. It says:

My System SpecsSystem Spec
17 Jan 2010   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Oh well, it was worth a try.

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

You might see if any of the other FINDSTR command switches may allow you to sort through the CBS.log easier.
My System SpecsSystem Spec
17 Jan 2010   #7
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Hmm, success. With that part of the command ( findstr /c:"[SR]" %windir%\logs\cbs\cbs.log ) it shows me all the files it repaired and the ones it could not repair. And that is a manageable amount of data. I pasted into a Word file and then it is easy to read. Thanks again Shawn.

PS: Amazing though how many files (95 in total) it had to repair - on a system that is only 2 months old. Since there were many gadgets, I suspect that my Vista sidebar is going to be on the blink next time I reboot. But that is easy to fix.
My System SpecsSystem Spec
17 Jan 2010   #8
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome Wolfgang.
My System SpecsSystem Spec
17 Jan 2010   #9
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

So now I just made a little generic summary for those that want to just see the repaired and non-repaired files in the CBS.log - just in case somebody is looking for the solution in this thread:

With the command findstr /c:"[SR]" %windir%\logs\cbs\cbs.log (in elevated Command Prompt) it shows all the files it repaired and the ones it could not repair. And that is a manageable amount of data. Paste that into a Notepad, Word or Wordpad file and then it is easy to read.
My System SpecsSystem Spec
17 Jan 2010   #10

Windows 7 Ultimate (32 bit)
 
 

My System SpecsSystem Spec
Reply

 How to analyse the CBS.log




Thread Tools



Similar help and support threads for2: How to analyse the CBS.log
Thread Forum
ANalyse minidump help BSOD Help and Support
Need help to analyse one minidump BSOD Help and Support
Another BSOD to analyse... BSOD Help and Support
Analyse minidump BSOD Help and Support
Plz help analyse BSOD BSOD Help and Support
Please analyse this .dmp file for me! BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:13 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33