Windows 8 and 8.1 Forums


SFC /Scannow - Corrupted Files

  1. #11


    Posts : 1,121
    Windows 8.1 x64


    Just some info in case it might help. I have a system that I just discovered was showing more than 100 unrepairable files by the SFC. Actually the SFC would not even complete the process and I never got the final evaluation message. Possibly because the system uses the Intel Smart Response Technology with a small SSD as a cache for the HDD, but not sure.

    Anyway, I ran DISM with the /ScanHealth switch and it reported no Component Store corruption. When I ran it with the /RestoreHealth switch, it said the Component Store Corruption had been repaired.

    I ran the SFC again and it completed and the CBS.log showed no problems. I guess the point is, if you have not done so already, try running DISM with the /RestoreHealth switch..it may still be able to fix something.

    I have installed the Pokki software you said you had tried...will post back if it seems to cause problems. I am a little concerned the Windows 8.1 upgrade might end up giving folks with the third party Start Menu software some problems. So some research might be in order.
    Last edited by Saltgrass; 19 Jun 2013 at 10:08.

      My System SpecsSystem Spec

  2. #12


    Posts : 22,576
    64-bit Windows 10


    Hello Saltgrass,

    You mean with the /RestoreHealth switch instead of /RepairHealth right?
      My System SpecsSystem Spec

  3. #13


    Posts : 1,121
    Windows 8.1 x64


    You're correct Brink, the one that actually does something. I will correct it in the post.

    I was surprised the /ScanHealth did not show a message about the corruption, but I did not look at the log prior to doing the /RestoreHealth.
      My System SpecsSystem Spec

  4. #14


    roughly the same going on here - if i run dism /checkhealth or /scanhealth i get "no component store corruption detected. the operation completed successfully". yet if i run /restorehealth i get "the operation completed successfully. the component store corruption was repaired". lovely. in any case subsequent sfc scans continue to report "windows resource protection found corrupt files but was unable to fix some of them." log checks verify that they are always the same files (links actually) that i listed previously ("cannot repair member file(s)"). oh well...


      My System SpecsSystem Spec

  5. #15


    Posts : 22,576
    64-bit Windows 10


    Robert,

    Sometimes it may take running dism and SFC a few times with a restart between them to fully repair everything.

    If everything still cannot be repaired, then usually the only options left are refresh, repair install, or reset.
      My System SpecsSystem Spec

  6. #16


    Posts : 480
    Windows 8 Pro x64


    Quote Originally Posted by Brink View Post
    Since these are not the actual system files, but basically like a backup, and only for shortcuts, there's really no need to worry about them.
    In fact, they are system files. For example, in this case winsxs files are hardlinked to the Default profile files.

    Code:
    [PS <3> C:\..\Scripts] fsutil hardlink list "C:\Windows\WinSxS\amd64_microsoft-windows-explorer-shortcuts_31bf3856ad364e35_6.2.9200.16384_none_1081915a9ab044a8\01 - Command Prompt.lnk"
    \Users\Default\AppData\Local\Microsoft\Windows\WinX\Group3\01 - Command Prompt.lnk
    \Windows\WinSxS\amd64_microsoft-windows-explorer-shortcuts_31bf3856ad364e35_6.2.9200.16384_none_1081915a9ab044a8\01 - Command Prompt.lnk
    Therefore, when you create a new user account, these files are used (in this case, for the Win+X menu). In particular, they are copied to the new user profile.

    Quote Originally Posted by Brink View Post
    Since DISM was unable to repair the component store, the only option to repair them would be to do a repair install or refresh Windows 8.
    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. If SFC can't restore files, repair install indeed should take care of it. But there's an alternative way, if you have the installation disk.

    Here's an outline, but I'm sure tutorials are available.

    1. Take ownership / write access to the corrupted files
    2. Mount install.wim with DISM (or open it with 7-zip).
    3. Copy files from the mounted install.wim to the winsxs folder.
      My System SpecsSystem Spec

  7. #17


    Quote Originally Posted by Vadikan
    If SFC can't restore files, repair install indeed should take care of it. But there's an alternative way, if you have the installation disk.

    Here's an outline, but I'm sure tutorials are available.

    1. Take ownership / write access to the corrupted files
    2. Mount install.wim with DISM (or open it with 7-zip).
    3. Copy files from the mounted install.wim to the winsxs folder.
    per your post i simply 7-zipped the install.wim file (from the backup copy of my win8 dvd on my storage drive) and then copied/pasted the files in question. baraboom, back in business - scf now reports: windows resource protection did not find any integrity violations.

    interestingly, dism /restorehealth still reports "the component store corruption was repaired" even tho /checkhealth and /scanhealth report "no component store corruption detected.". so what's the deal on this, does /restorehealth always report that the component store corruption was repaired whenever it's executed? whatever the case, thanks very much for your post, much appreciated!
      My System SpecsSystem Spec

  8. #18


    Posts : 480
    Windows 8 Pro x64


    I'm glad you solved the SFC mystery Make sure you restore NT Service\TrustedInstaller as the owner of the file/folder.

    As for dism, please post the zipped \Windows\Logs\DISM\dism.log and \Windows\Logs\CBS\CBS.log just in case.
      My System SpecsSystem Spec

  9. #19


    Posts : 1,121
    Windows 8.1 x64


    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.

    There may be something going on more that just the OP's experience. I have 2 Windows 8 systems. Originally the second system showed bad files and DISM repaired them. At the same time, the first system checked fine with a SFC.

    Today, the first system is showing bad files, and many of them. Again, like the second system, the SFC would not complete even though it did say it was 100 percent complete, but no final message was given. As far as I know, all I have done on this system is to install 3 important updates that showed up. I have run Malwarebytes and MSE to check for viruses, but nothing found.

    It is very unlikely that over 100 files would go bad at the same time. But something the SFC is looking at makes it think so. DISM seems to be able to repair whatever that something is.
      My System SpecsSystem Spec

  10. #20


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


    [QUOTE=Saltgrass;246213]
    Quote Originally Posted by Vadikan View Post

    Today, the first system is showing bad files, and many of them. Again, like the second system, the SFC would not complete even though it did say it was 100 percent complete, but no final message was given.

    It is very unlikely that over 100 files would go bad at the same time. But something the SFC is looking at makes it think so. DISM seems to be able to repair whatever that something is.
    When sfc got to 100% it was NOT done.
    I know this from personal experience.

    I just let it set a while (about 15 minutes or so) & it completed saying it wasn't able to fix some files.

    I ran DISM & it said it fixed things.
    I rebooted because DISM had gone to Microsoft & got an update for me.
    I know that because a few hours before I had gone to Microsoft Update & there were no updates.

    I ran sfc AGAIN & it reported no integrity violations.
      My System SpecsSystem Spec

Page 2 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