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
usasma
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
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

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
IggyAZ

Windows 7 Ultimate (32 bit)
 
 

My System SpecsSystem Spec
Reply

 How to analyse the CBS.log




Thread Tools





Similar help and support threads
Thread Forum
ANalyse minidump help
Attached is the my minidump as a result of the verifier when BSOD appeared. Sorry the SF Diagnostic Tool crashed while running. Please advise.. Thanks
BSOD Help and Support
Need help to analyse one minidump
Hello people, I want to help one member at other forum, so he had 0x124 error. I got the dump file, and analysed it. 0: kd> !analyze -v ******************************************************************************* * ...
BSOD Help and Support
Another BSOD to analyse...
Hi all, I've just finished building a new machine and installed Windows 7 Ultimate 64 bit. I keep getting BSODs at seemingly random intervals - the machine will sometimes run all morning fine and then suffer bluescreens within minutes of rebooting. They seem to be related to heavy network...
BSOD Help and Support
Analyse minidump
Can somebody please help me to analyse this minidump which causes a bluescreen? thanks Nicolas
BSOD Help and Support
Please analyse this .dmp file for me!
Hi All Can someone please take a look at this attached .dmp file for me with the debugger software? Many thanks http://www.fileshost.com/download.php?id=B71C5E731
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 12:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App