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: Deciphering The CBS.log


26 Apr 2010   #1

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 
Deciphering The CBS.log

I ran SFC a few hours ago, hoping to fix some network corruption. At the end, it said that it did find corruption (somewhere) that it couldn't fix, and referred to the cbs.log for details. That log is cumulative, so the only way to reference SFC results was by day and time, and even with that, the amount of lines involved is massive and cryptic.

Is there a way to see if it has dealt with specific files (network), without needing a computer for a brain?


My System SpecsSystem Spec
.

26 Apr 2010   #2

 

My System SpecsSystem Spec
26 Apr 2010   #3

Windows 7 Ultimate 32 bit
 
 

Casca, thank your the link. I appreciate it.
My System SpecsSystem Spec
.


26 Apr 2010   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Open an 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 right click anywhere in the window. Now this whole text is stored on the clipboard and you can paste it into a document file (e.g. Notepad) where you can analyze it.

PS: Just saw that the link that Casca posted proposes a similar solution. Well, now you have 2 ways.
My System SpecsSystem Spec
26 Apr 2010   #5

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

Thanks for the link, but I'm not certain that it will provide the answer that I'm looking for. First, because for some reason, when I run the string in the Command Prompt, it says that it can't open the log, even though I have closed every other program that might have it locked. It does help to pick out the SFC lines by the SR notation, but even with that, the chore is greater than my old mind can deal with.

I guess that I will need to just try the network again, and see what happens. If it still fails, I'm wondering if there is a way to clean out all network files and start from scratch?
My System SpecsSystem Spec
26 Apr 2010   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

In addition to WHS's post, you could also post this command below in to have only the sfc /scannow details placed on your desktop.

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


If there were any files listed that could not be fixed by SFC, then you could extract them from your Windows 7 installation disc to replace them with.

Extract Files from Windows 7 Installation DVD

Hope this helps,
Shawn
My System SpecsSystem Spec
26 Apr 2010   #7

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

I have tried changing the properties of CMD, even though I'm logged into the built in administrator account, to change it to run as administrator on the Compatibility tab, but everything on that tab is grayed out, and has a note at the top, that nothing can be changed, because it is part of this version of Windows. I also tried this in Safe Mode with the same results.

Looking at the Permissions for the administrator, the permissions are pretty limited, but trying to change them produces an Access Denied error.

Is it possible to give the Administrator full control of this, like the Trusted Installer has?
My System SpecsSystem Spec
26 Apr 2010   #8

 

here...


Attached Images
  
My System SpecsSystem Spec
26 Apr 2010   #9

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

Quote   Quote: Originally Posted by Casca View Post
here...
Thanks, I was looking on the wrong tab.
My System SpecsSystem Spec
26 Apr 2010   #10

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

Okay, I've tried the commands again in elevated command prompt, and instead of it saying that it can't open the file, when I run "findstr /c:"[SR]" %windir%\logs\cbs\cbs.log" it does nothing. When I run findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >%userprofile%\Desktop\sfcdetails.txt" it produces a txt file on the desktop, but it is blank.
My System SpecsSystem Spec
Reply

 Deciphering The CBS.log




Thread Tools



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 01:57 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