Windows 8 and 8.1 Forums


running - System File Checker (SFC) AND the CBS.log

  1. #1

    running - System File Checker (SFC) AND the CBS.log


    W8Pro:
    after running the SFC, corrupt files were found, but *not repaired (per the CBS.log)
    Microsoft article Kb 928228 (written for Vista) states the following command can be run on the CBS.log file to identify the SFC entries and write them to a text file: findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt

    QUESTION: I have run the above command from an elevated Command Prompt in W8 with no results; so something is wrong.
    Did the author possibly mistype a piece of the command ?? Perhaps [SR] should have been written as {SR} ??
    Help will be appreciated so that I can ID files NOT repaired and then try to fix them.

    (ps. I have no interest in repairing or replacing my entire W8 installation as a solution for corrupt system files - at this time any way.. . Thanks )

    Although the Seven Forums has a tutorial on using the SFC, with a more expanded flag? than I have tried, I can't get W8 to analyse the CBS.log and create a file for the results.
    SFC /SCANNOW Command - System File Checker - Windows 7 Help Forums[2]=Performance Maintenance

      My System SpecsSystem Spec

  2. #2


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    In Administrator command prompt type:

    Dism /Online /Cleanup-Image /RestoreHealth

    Press Enter & let it run.Just wait, it takes a while.

    Then run sfc /scannow.Things should be fixed.
    I have tested this myself & it fixed problems sfc could not fix.
      My System SpecsSystem Spec

  3. #3


    Posts : 1,121
    Windows 8.1 x64


    The command still works but puts the text file in the Windows\system32 folder. I like to direct the output to "%userprofile%\Desktop\sfcdetails.txt" which is shown on

    Use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

    Let us know if the command suggested by medaba1 works, it seems to have functionality in Windows 8 it did not have in Windows 7.
      My System SpecsSystem Spec

  4. #4


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center

    Dism /Online /Cleanup-Image /RestoreHealth


    Before Dism /Online /Cleanup-Image /RestoreHealth

    Click image for larger version

    After running Dism /Online /Cleanup-Image /RestoreHealth

    Click image for larger version
      My System SpecsSystem Spec

  5. #5


    medab1,
    posts #2,#4 above

    you can imagine how much work you-saved-me! your command prompt program worked Xactly like you said. Not only did it fix my issues, it saved me mucho time having to check and replace each-and-every defective system file.

    thank U...
      My System SpecsSystem Spec

  6. #6


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by BigFatBoy View Post
    medab1,
    posts #2,#4 above

    you can imagine how much work you-saved-me! your command prompt program worked Xactly like you said. Not only did it fix my issues, it saved me mucho time having to check and replace each-and-every defective system file.

    thank U...
    You are welcome.

    That dism command is a wonderful thing.
      My System SpecsSystem Spec

  7. #7


    Serbia<->Italy
    Posts : 14
    Windows 8.1 Pro x86


    Quote Originally Posted by medab1 View Post
    Before Dism /Online /Cleanup-Image /RestoreHealth

    Click image for larger version

    After running Dism /Online /Cleanup-Image /RestoreHealth

    Click image for larger version
    Not working for me Attachment 21820
      My System SpecsSystem Spec

  8. #8


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by sHAKaJaada View Post
    Quote Originally Posted by medab1 View Post
    Before Dism /Online /Cleanup-Image /RestoreHealth

    Click image for larger version

    After running Dism /Online /Cleanup-Image /RestoreHealth

    Click image for larger version
    Not working for me Attachment 21820
    Run them again a time or 2.

    For DISM you need to me connected to the internet.

    After running DISM, ReBoot.
    Then run SFC.
      My System SpecsSystem Spec

  9. #9


    Serbia<->Italy
    Posts : 14
    Windows 8.1 Pro x86


    Now i'll retry . . . but Attachment 21822
    Last edited by sHAKaJaada; 14 May 2013 at 16:54.
      My System SpecsSystem Spec

  10. #10


    Customers Gateway w/Windows 8 was really slow.I first cleaned the adware from iWin Games, then ran SFC /Scannow to have it stop @ 42% telling me it couldnt repair corrupt files. I did a refresh, did not work. I did a system recovery using the recovery media on the hidden partition, did not work.Apparently the installation was flawed from the beginning?
    I was just about to replace system32 files from disk, even had them extracted to desktop per instructions on eightforums.com when i came across your solution.
    This worked like a charm. Thanx Medab1, you saved the day and made my customer very happy!
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
running - System File Checker (SFC) AND the CBS.log
Related Threads
Good day, my first visit here. I have a Lenovo laptop running Windows 8.1. I run a number of VB6 programs. One is an estimating system that makes use of .dat files. When I first install the program and the files, everything works fine. The problem comes when I 'over-write' a .dat file with a...
I accidentally set the file open of .bat files to Notepad. From a link in this forum (How to Restore Default File Extension Type Associations in Windows 8 and 8.1)was able to reset the registry back I think. The bat file not longer asks for notepad but instead opens "How do you want to open this...
Solved System File Checker in Performance & Maintenance
When I try to run, sfc /scannow, I get a blank screen flash and the nothing? I am running W 8.1. Can anyone help? Jim Moss
BSOD on startup, system running. in BSOD Crashes and Debugging
Please help, I'm ready to throw my laptop out the window.:mad: When I turn on my laptop the system loads but there is a black screen. I have tried hard reboots ets, removing the battery, different kinds of combinations of keys whilst restarting, installing BIOs, accessing the F2 menu. I have got...
(Or how to remove Write Protection from Pendrive). Pendrive doesn't have any write protection lock key on it.
Hi everyone, I recently had to replace my external hard drive and restore a backup to it from my main computer's hard drive. Although the backup was only a few weeks old, I had been moving around a lot of files and now I notice that there are a lot of duplicate files everywhere. I'd like a good...
System File Checker stops at 51 percent. in Performance & Maintenance
I have a Acer Laptop with windows 8 64 bit and have had Usb issues with some devices. I tried running SFC and it stops at the same place each time saying it cant continue. The log file list files that have been verified but no errors Any ideas?
Eight Forums Android App Eight Forums IOS App Follow us on Facebook