Deciphering The CBS.log

Page 1 of 2 12 LastLast

  1. Posts : 6,618
    W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
       #1

    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 Computer

  2.   My Computer


  3. Posts : 11,990
    Windows 7 Ultimate 32 bit
       #3

    Casca, thank your the link. I appreciate it.
      My Computer


  4. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #4

    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 Computer


  5. Posts : 6,618
    W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
    Thread Starter
       #5

    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 Computer


  6. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #6

    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 Computer


  7. Posts : 6,618
    W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
    Thread Starter
       #7

    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 Computer


  8. Posts : 303
    Windows 7 Ultimate
       #8

    here...
    Attached Thumbnails Attached Thumbnails Deciphering The CBS.log-capture.png   Deciphering The CBS.log-captue.png  
      My Computer


  9. Posts : 6,618
    W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
    Thread Starter
       #9

    Casca said:
    here...
    Thanks, I was looking on the wrong tab.
      My Computer


  10. Posts : 6,618
    W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
    Thread Starter
       #10

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 19:14.
Find Us