Windows 8 and 8.1 Forums


SFC /Scannow - Corrupted Files

  1. #21


    MD
    Posts : 865
    Windows 10 Pro x 64


    I am not a skilled user but wish to ask a question. I read as well as I could about DISM.
    If I ran, as admin, and typed the following after the blinking cursor, would it help when SFC had failed?

    run this; Dism /Online /Cleanup-Image /RestoreHealth then reboot.

      My System SpecsSystem Spec

  2. #22


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


    Quote Originally Posted by Peter2 View Post
    I am not a skilled user but wish to ask a question. I read as well as I could about DISM.
    If I ran, as admin, and typed the following after the blinking cursor, would it help when SFC had failed?

    run this; Dism /Online /Cleanup-Image /RestoreHealth then reboot.

    Yes, it would help.
    Try it & post back.

    Let sfc FINISH first !

    Then run DISM :

    Dism /Online /Cleanup-Image /RestoreHealth


    Then reboot.
    Then run sfc AGAIN !
      My System SpecsSystem Spec

  3. #23


    Posts : 1,121
    Windows 8.1 x64


    Quote Originally Posted by medab1 View Post
    When sfc got to 100% it was NOT done.
    You are correct, I had to leave SFC along for another 12 minutes before I got the Unable to Repair message.

    After that, I checked the log and saw the following message.

    Committing transaction
    [SR] Cannot commit interactively, there are boot critical components being repaired
    [SR] Repairing 11666 (0x0000000000002d92) components
    So I rebooted and tried again...same message showed up in the next log and no files have yet been repaired, hence my comment about DISM vs SFC.

    Two systems showing the same problem does not seem to be normal...I think something is going on, but uncertain as to what it might be. I will leave my current system without using DISM to repair it. If anyone has anything they would like to test, let me know.

    If necessary, I will start a new thread about this .. the OP may not like the way the discussion is going.
      My System SpecsSystem Spec

  4. #24


    MD
    Posts : 865
    Windows 10 Pro x 64


    I hope I have not said something inappropriate. My system is finally stable only after a system recovery but I had an awful time with SFC reporting corrupted files.
    I wish I had DISM when the trouble with SFC occurred.
    Thank you
      My System SpecsSystem Spec

  5. #25


    Quote Originally Posted by Vadikan View Post
    As for dism, please post the zipped \Windows\Logs\DISM\dism.log and \Windows\Logs\CBS\CBS.log just in case.
    guess what? there's no dism.log file residing in my c:\windows\logs\dism\ folder, i'ts empty - also, a system search diesn't turn up the file either. fwiw i have show all system files and folders enabled. maybe this is the reason why /restorehealth reports "the component store corruption was repaired" even tho /checkhealth and /scanhealth report "no component store corruption detected."?

    fwiw, my system is running great, actually i couldn't imagine it running any better, everything seems to work perfectly well, including the metro side...
      My System SpecsSystem Spec

  6. #26


    Posts : 22,582
    64-bit Windows 10


    Robert,

    I'm happy to hear that it's all working fine now.

    The Dism log can be in either log file below, so you might check the other to see if has anything if you like.

    C:\Windows\Logs\CBS\CBS.log

    C:\Windows\Logs\DISM\dism.log


    DISM - Fixing Component Store Corruption in Windows 8
      My System SpecsSystem Spec

  7. #27


    Quote Originally Posted by Brink View Post
    Robert,

    I'm happy to hear that it's all working fine now.

    The Dism log can be in either log file below, so you might check the other to see if has anything if you like.

    C:\Windows\Logs\CBS\CBS.log

    C:\Windows\Logs\DISM\dism.log


    DISM - Fixing Component Store Corruption in Windows 8
    the thing is, all was working perfectly fine before as well, the handful of corrupted files /scannow encountered was just bugging me more than anything else, it wasn't impacting my system's performance. nonetheless i'm glad /scannow is reporting a clean slate, thanks to your help.

    re the dism.log: if the dism scan results were being written to the cbs.log file, wouldn't the cbs.log file's time stamp reflect when the dism scan was run? if that's the case, then i don't think the dism.log file is being written to the cbs.log file because the time stamp doesn't change.
      My System SpecsSystem Spec

  8. #28


    Posts : 22,582
    64-bit Windows 10


    Yep, the /scanhealth and /restorehealth switches logs to the C:\Windows\Logs\CBS\CBS.log file. I just happened to notice that it also logged to the C:\Windows\Logs\DISM\dism.log file for me as well.

    Fixing component store corruption in Windows 8 and Windows Server 2012 - The Windows Servicing Guy - Site Home - TechNet Blogs
      My System SpecsSystem Spec

  9. #29


    Posts : 480
    Windows 8 Pro x64


    Quote Originally Posted by Saltgrass View Post
    Quote Originally Posted by Vadikan View Post
    DISM won't repair corrupted system files. If /ScanHealth says it's OK, then DISM is not the way to go for repair, but SFC is.
    Based on my experience, this statement does not appear to be accurate. Why it would not repair the OP's files eludes me, since the same links were shown in my sfcdetails.txt listing.
    It may not appear to be accurate, but DISM's /RepairHealth and SFC still serve different purposes.

    DISM's /RepairHealth (or CheckSUR) verify the component store integrity and fix corrupted manifests and metadata. You can see it in dism.log

    Code:
    Checking System Update Readiness.
     
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-lpksetup_31bf3856ad364e35_6.2.9200.16384_none_7a23086df63cad13
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-l..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_ru-ru_2422e0b40b0ac235
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-l..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_ru-ru_2a982e5d65c9a294
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-l..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_ru-ru_53ea2a36610cb913
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-l..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_ru-ru_879ccd7f3842e229
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-l..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_ru-ru_8e2bd9e9b9aeac5f
    (p) CSI Manifest Corrupt    (Fixed) amd64_microsoft-windows-l..oyment-languagepack_31bf3856ad364e35_6.2.9200.16384_ru-ru_c73545896a8993dd
     
    Summary:
    Operation: Detect and Repair 
    Operation result: 0x0
    Last Successful Step: Entire operation completes.
    Total Detected Corruption:  7
        CBS Manifest Corruption:    0
        CBS Metadata Corruption:    0
        CSI Manifest Corruption:    7
        CSI Metadata Corruption:    0
        CSI Payload Corruption: 0
    Total Repaired Corruption:  7
        CBS Manifest Repaired:  0
        CSI Manifest Repaired:  7
        CSI Payload Repaired:   0
        CSI Store Metadata refreshed:   True
     
    Total Operation Time: 221 seconds
    When dealing with issues (especially, Windows Update ones), you should first verify the component store integrity with DISM (or CheckSUR in OS prior to Windows 8).

    On the other hand, SFC repairs system files by verifying their signed hash. If the file hash doesn't match the hash in the component store, it restores the files (technically, they are hardlinks).

    These tools are related, but they repair different things. It's not like "I have DISM, and I don't need SFC now". You may need both.
    Last edited by Vadikan; 23 Jun 2013 at 02:21. Reason: clarified
      My System SpecsSystem Spec

  10. #30


    MD
    Posts : 865
    Windows 10 Pro x 64


    Hello
    Because I am not very techy I hope my previous post is accurate. If SFC reports corruption, then run DISM.
    It has always worked for me. Dism /Online /Cleanup-Image /RestoreHealth
    I am writing as I noticed some controversy.
    tTank you

    Peter
      My System SpecsSystem Spec

Page 3 of 4 FirstFirst 1234 LastLast
SFC /Scannow - Corrupted Files
Related Threads
Solved sfc /scannow can't fix corrupt files. in Performance & Maintenance
Hello! After running the sfc /scannow at command prompt, as administrator, here's what it says: Im at windows 8.1. CBS.log AND sfcdetails are attached to this post.
After trying to run a game I got an error message saying that MSVCR120.dll could not be found. I then downloaded the Microsoft Visual Studio 2012 again in hopes it will restore the file. I then downloaded that file and put it in the System32 folder but it still did not work. I then tried to run...
Solved Sfc /scannow cannot fix the corrupted files in Performance & Maintenance
Hello, so as the title said, I have done sfc/ scannow a few time and cannot fix the corrupted files. I was wondering what can I do to fix all these problem? Here are the CBS file. Been looking at a few thread and it seems that uploading this file will be helpful. 48256
Hello, today I am posting in the Eight Forums to ask about how to fix a corrupted looking Windows 8 start menu with no corrupted files found. I know that's a really bad way to explain the situation. I have uploaded a screenshot which I hope explains the issues. I wanted to add the blank squares do...
SFC /scannow cannot repair files CBS.log in Performance & Maintenance
Hello, I've been trying several things throughout the day and I have had no success in fixing the corrupted files. I have ran "sfc /scannow" several times (even in safe mode). I have also ran "Dism /Online /Cleanup-Image /RestoreHealth" before and after "sfc /scannow" to no avail. I am...
sfc scannow can't fix all the files in Performance & Maintenance
Hello guys! I just used sfc scannow and it said that some files were unabled to be fixed. I have attached the logs. Can anyone help me fix them? Right now I can't open any metro tiles, so :cry:
It was confirmed that the sfc should work the same in W8. So I am getting corrupted file messages. Ran it 3 times and it did not clear itself. What would be the next avenue I need to pursue to get the system perfect for a system image? Thanks for any assistance! Glenn
Eight Forums Android App Eight Forums IOS App Follow us on Facebook