 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - Make the CBS.log useable |
01-17-2010
|
#1 | | Vista and Windows7, sometimes Ubuntu and Fedora |
Make the CBS.log useable With the great help of Shawn, I was able to figure out how to reduce the massive data amounts of the CBS.log to the records of interest - those that the System file checker fixed and could not fix. With that, I have made a little tutorial about the whole process which I thought might be useful for reference:
If you encounter a strange behavior of your system or if the system sends you a message indicating that some system file is damaged, the System File Checker might be able to help. Here is what you do:
Open an elevated Command Prompt (go to Start > All Programs > Accessories > right click on Command Prompt > Run as Administrator).
Type sfc /scannow into the Command Prompt window – note the blank in front of the slash (/). This will run for a while.
When it is done, you can end up with the following different results:
1. SFC did not find any corrupted files
2. SFC did find corrupted files and was able to fix the files
3. SFC was not able to fix all corrupted files
In the cases 2 and 3, SFC stores the results in the CBS.log which you find in C:\Windows\Logs\CBS\CBS.log. This is a massive file of approximately 5MB and if you care to see it all, you must send CBS.log to one of your own folders from where you can double click on it. It will then open with Notepad. Note: You cannot open it inside the CBS folder. You will get an Access denied message.
But most likely you are only interested in the part that shows the corrupted files that were fixed – or not fixed. For that you need a significant data reduction. You do that as follows:
Open another elevated Command Prompt and paste this command into it: findstr /c:"[SR]" %windir%\logs\cbs\cbs.log
This will show all the files you want to see in the Command Prompt window.
Since that window is not very practical for a detailed study, you want to paste the content into a Notepad, Wordpad or Word file.
For that you right click on the Command Prompt window (any place is good) and click Select all. Then you click on the selected text in the window. Now this whole text is stored on the clipboard and you can paste it into a document file where you can analyze it. A word of warning: If you have tweaked your system and modified system files, the System File Checker may undo your tweaks.
Last edited by whs; 01-17-2010 at 09:24 PM..
| My System Specs | | System Manufacturer/Model Number HP, Dell, Gateway - 2 laptops and 2 desktops OS Vista and Windows7, sometimes Ubuntu and Fedora CPU from 1.6GHz Duo to 2.5GHz Quad Monitor(s) Displays 2x HP w2207 Keyboard with trackball - no mices Mouse terrible devices, who wants them Hard Drives 5x HDD, 2x SSD, 6x Externals Internet Speed DSL 6000 |
01-17-2010
|
#2 | | W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE |
This is good, as far as you went, but now how about an extension of the tutorial as to how to interpet the results?
I know that using "mark" is the customary way of copying the Command Prompt, but I find it less clumsy to click select all, then just click the prompt window and it automatically gets copied. | My System Specs | | System Manufacturer/Model Number DIY OS W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE CPU Phenom II 1090T w/Noctua NH-D14 /**4400+ X2 w/CM Hyper TX 3 Motherboard ASRock 890FX Deluxe 4/**A8N-SLI Memory 2 x 2GB Patriot PGS34g1600LLKA/**4x1GB Corsair VS Graphics Card EVGA GTX460 SC/**EVGA 8800GTS Sound Card Asus Xonar D2X/**Xonar D1 Monitor(s) Displays Acer X233H, Dell E152FPc /**LG M237-WD Screen Resolution 1920x1080 & 1024x768/**1980x1080 Keyboard Logitech Media USB/**Saitek Eclipse Mouse Cordless Trackman Wheel/**Ditto PSU CM RS600 w/ APC BX1000G/**Antec 500 TP w/ APC BX1000 Case HAF922/**Antec 1040IIB Cooling 3x200mm, 1x140 and 1x120mm/**5x80mm fans Hard Drives WDC 2TB, 1.5TB, 1TB, 500GB,Seagate 500GB , Maxtor 80GB /**500GB Seagate & WDC 1TB Black Internet Speed 3.3Mbps Other Info SB 560 5.1 w/ Sennheiser RS140/**Creative T20 speakers, Dvico FusionHDTV7 Gold RT, Cisco E3000, HP 5510V AIO, Linksys E3000, Belkin F5U237 hub and **F5D8055 adapter
(** = 2nd rig) |
01-17-2010
|
#3 | | |
I don't have a CBS.log to test this with,,
but can you try findstr /c:"[SR]" %windir%\logs\cbs\cbs.log > c:\test.txt See if that will throw the results into the text file. | My System Specs | | System Manufacturer/Model Number Self Built OS Win 7 Ultimate 32bit CPU C2D E6600 2.4Ghz Motherboard Intel D965WH Memory 4G Kingston KHX5400D2 Graphics Card EVGA GTX 570 HD SC (012-P3-1573-KR) Sound Card On-Board Monitor(s) Displays Samsung 226BW Screen Resolution 1680 x 1050 PSU Corsair TX750W Case In-Win C589 Cooling Stock Intel Cooling Hard Drives 2 x 250 Seagate Barracuda
2 x 500 Seagate Barracuda (Raid1) |
01-17-2010
|
#4 | | Vista and Windows7, sometimes Ubuntu and Fedora |

Quote: Originally Posted by seekermeister This is good, as far as you went, but now how about an extension of the tutorial as to how to interpet the results?
I know that using "mark" is the customary way of copying the Command Prompt, but I find it less clumsy to click select all, then just click the prompt window and it automatically gets copied.
Good point on the "select all". I changed the post acccordingly - forgot all about it.. Thanks.
As far as the interpretation of the results goes, that's another story. I did not want to venture into all the cases and possible permutations. But if you have a proposal for some generic text, i would be grateful. | My System Specs | | System Manufacturer/Model Number HP, Dell, Gateway - 2 laptops and 2 desktops OS Vista and Windows7, sometimes Ubuntu and Fedora CPU from 1.6GHz Duo to 2.5GHz Quad Monitor(s) Displays 2x HP w2207 Keyboard with trackball - no mices Mouse terrible devices, who wants them Hard Drives 5x HDD, 2x SSD, 6x Externals Internet Speed DSL 6000 |
01-17-2010
|
#5 | | W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE |
Not me. I was looking for the light that I don't have. | My System Specs | | System Manufacturer/Model Number DIY OS W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE CPU Phenom II 1090T w/Noctua NH-D14 /**4400+ X2 w/CM Hyper TX 3 Motherboard ASRock 890FX Deluxe 4/**A8N-SLI Memory 2 x 2GB Patriot PGS34g1600LLKA/**4x1GB Corsair VS Graphics Card EVGA GTX460 SC/**EVGA 8800GTS Sound Card Asus Xonar D2X/**Xonar D1 Monitor(s) Displays Acer X233H, Dell E152FPc /**LG M237-WD Screen Resolution 1920x1080 & 1024x768/**1980x1080 Keyboard Logitech Media USB/**Saitek Eclipse Mouse Cordless Trackman Wheel/**Ditto PSU CM RS600 w/ APC BX1000G/**Antec 500 TP w/ APC BX1000 Case HAF922/**Antec 1040IIB Cooling 3x200mm, 1x140 and 1x120mm/**5x80mm fans Hard Drives WDC 2TB, 1.5TB, 1TB, 500GB,Seagate 500GB , Maxtor 80GB /**500GB Seagate & WDC 1TB Black Internet Speed 3.3Mbps Other Info SB 560 5.1 w/ Sennheiser RS140/**Creative T20 speakers, Dvico FusionHDTV7 Gold RT, Cisco E3000, HP 5510V AIO, Linksys E3000, Belkin F5U237 hub and **F5D8055 adapter
(** = 2nd rig) |
01-17-2010
|
#6 | | |
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log > c:\test.txt This does work by the way,, so you don't have to copy paste from the command window
This will also work,,,
Open Notepad and paste this to it and save as whatever.cmd findstr /c:"[SR]" %windir%\logs\cbs\cbs.log > c:\test.txt
test.txt
This will run the string, and save then open the results in notepad.
You can then change "[SR]" to whatever you want to search for in that particular file. | My System Specs | | System Manufacturer/Model Number Self Built OS Win 7 Ultimate 32bit CPU C2D E6600 2.4Ghz Motherboard Intel D965WH Memory 4G Kingston KHX5400D2 Graphics Card EVGA GTX 570 HD SC (012-P3-1573-KR) Sound Card On-Board Monitor(s) Displays Samsung 226BW Screen Resolution 1680 x 1050 PSU Corsair TX750W Case In-Win C589 Cooling Stock Intel Cooling Hard Drives 2 x 250 Seagate Barracuda
2 x 500 Seagate Barracuda (Raid1) |
10-18-2010
|
#7 | | |
I am so glad to find this! After running SFC., it makes a log that I could not open.
Okay, that is solved, but I am having a hard time reading the results:
There appears to be four errors, but autochk.exe seems bad.
Cannot repair member file [l:22{11}]"autochk.exe" of Microsoft-Windows-Autochk, Version = 6.1.76 00.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2010-10-18 19:05:55, Info CSI 000002f4 [SR]
Cannot repair member file [l:22{11}]"autochk.exe" of Microsoft-Windows-Autochk, Version = 6.1.76 00.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2010-10-18 19:05:55, Info CSI 000002f5 [SR]
This component was referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.WindowsFoundationDelivery"
2010-10-18 19:05:55, Info CSI 000002f8 [SR]
Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:22{11}]"autochk.exe"; source file in store is also corrupted | My System Specs | | System Manufacturer/Model Number Asus G50 and Toshiba L505 OS Win 7 - 64 Pro CPU 2.28 Motherboard ?- asus laptop Memory 4 gb Graphics Card ? laptop Sound Card ? laptop Monitor(s) Displays dual display, laptop and 24" Samsung PSU laptop Case laptop Cooling laptop Hard Drives two 250gb drives in laptop and one 250 Esata |
10-18-2010
|
#8 | | Windows 7 Ultimate 32 bit |
Excellent thread. Thank you, Wolfgang. I can't rep you... | My System Specs | | System Manufacturer/Model Number Home built OS Windows 7 Ultimate 32 bit CPU Intel(R) Pentium(R) 4 CPU 3.00GHz Motherboard ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5 Memory 2.50 GB RAM Graphics Card NVIDIA GeForce 7600 GS Sound Card SoundMax Integrated Digital Audio (Chip) Monitor(s) Displays ViewSonic VX 1962 wm Screen Resolution 1680 X 1050 Keyboard Microsoft Comfort Curve Keyboard 2000 v10 USB Mouse Logitec optic USB Cooling Fan based Hard Drives Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB Internet Speed 3.01 Mb/s download 0.64 Mb/s upload |
02-11-2012
|
#9 | | Vista Home Premium SP1 64-bit |
Great post! Now next steps? Thanks great post.
Question: At what point do you run a repair on Windows 7 Pro sp1 64bit. I have had some random shut-downs which I attributed to my Wildfire SSD and blank screens which are related to my GPU.
Of course my original install disk is not sp1.
Reviewing the log, many files were repaired but many we un-repairable. Most seemed to be associated with speech recognition which I don't use.
I've uploaded the filtered CBS file (using the excellent command by tepid and whs).
Any advice? | My System Specs | | System Manufacturer/Model Number Home Built OS Vista Home Premium SP1 64-bit CPU Intel Core 2 Quad Q9550 Motherboard ASUS P5Q Pro Memory CORSAIR 4GB DDR2 SDRAM DDR2 800 (PC2 6400) Graphics Card Radeon HD 4870 X2 2GB Monitor(s) Displays Acer AL2216Wbd Black 22" PSU PC Power & Cooling Silencer PPCS750QBL 750W Case COOLER MASTER COSMOS 1000 Cooling Tuniq Tower 120 Hard Drives SAMSUNG Spinpoint 1TB 7200
Western Digital Caviar 500GB 7200 Other Info SAMSUNG 22X DVD Burner Black |
03-17-2012
|
#10 | | Windows Home Premium 64bit |
Hey I followed your guide, very good! Now that i found corrupted data how do i fix it. Im assuming the PAGE_FAULT BSOD errors im getting are related to these prossessor errors.
Here is what i got,
2012-03-17 11:50:29, Info CSI 000002e7 [SR] Cannot repair me
mber file [l:24{12}]"perfdisk.dll" of Microsoft-Windows-PerformanceBaseCounters,
Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutra
l, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neut
ral, TypeName neutral, PublicKey neutral in the store, file is missing
2012-03-17 11:50:29, Info CSI 000002e8 [SR] Cannot repair me
mber file [l:24{12}]"perfctrs.dll" of Microsoft-Windows-PerformanceBaseCounters,
Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutra
l, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neut
ral, TypeName neutral, PublicKey neutral in the store, file is missing
2012-03-17 11:50:29, Info CSI 000002e9 [SR] Cannot repair me
mber file [l:34{17}]"PerfCenterCpl.ico" of Microsoft-Windows-PerfCenterCPL, Vers
ion = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, Ve
rsionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral,
TypeName neutral, PublicKey neutral in the store, file is missing
2012-03-17 11:50:29, Info CSI 000002ea [SR] Cannot repair me
mber file [l:24{12}]"perfdisk.dll" of Microsoft-Windows-PerformanceBaseCounters,
Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutra
l, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neut
ral, TypeName neutral, PublicKey neutral in the store, file is missing
2012-03-17 11:50:29, Info CSI 000002eb [SR] This component w
as referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364
e35~amd64~~6.1.7601.17514.WindowsFoundationDelivery"
2012-03-17 11:50:29, Info CSI 000002ec [SR] Cannot repair me
mber file [l:24{12}]"perfctrs.dll" of Microsoft-Windows-PerformanceBaseCounters,
Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutra
l, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neut
ral, TypeName neutral, PublicKey neutral in the store, file is missing
2012-03-17 11:50:29, Info CSI 000002ed [SR] This component w
as referenced by [l:202{101}]"Microsoft-Windows-Foundation-Package~31bf3856ad364
e35~amd64~~6.1.7601.17514.WindowsFoundationDelivery"
2012-03-17 11:50:29, Info CSI 000002ee [SR] Could not reproj
ect corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:24{12}]"pe
rfdisk.dll"; source file in store is also corrupted
2012-03-17 11:50:29, Info CSI 000002ef [SR] Could not reproj
ect corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:24{12}]"pe
rfctrs.dll"; source file in store is also corrupted
2012-03-17 11:50:29, Info CSI 000002f0 [SR] Cannot repair me
mber file [l:34{17}]"PerfCenterCpl.ico" of Microsoft-Windows-PerfCenterCPL, Vers
ion = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, Ve
rsionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral,
TypeName neutral, PublicKey neutral in the store, file is missing
2012-03-17 11:50:29, Info CSI 000002f1 [SR] This component w
as referenced by [l:242{121}]"Microsoft-Windows-Client-Features-Package~31bf3856
ad364e35~amd64~~6.1.7601.17514.Microsoft-Windows-Client-Features-Update"
2012-03-17 11:50:29, Info CSI 000002f2 [SR] Could not reproj
ect corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:34{17}]"Pe
rfCenterCpl.ico"; source file in store is also corrupted
2012-03-17 11:50:29, Info CSI 000002f4 [SR] Repair complete
2012-03-17 11:50:29, Info CSI 000002f5 [SR] Committing trans
action
2012-03-17 11:50:29, Info CSI 000002f9 [SR] Verify and Repai
r Transaction completed. All files and registry keys listed in this transaction | My System Specs | | OS Windows Home Premium 64bit Make the CBS.log useable problems? All times are GMT -5. The time now is 09:35 PM. |  |