Repairing corrupted files


  1. Posts : 7
    Windows 7 Ultimate x64
       #1

    Repairing corrupted files


    My main issue is output of sfc /scannow: Windows Resource Protection found corrupt files but was unable to fix some of them.
    The result of sfc /scanhealth is OK without errors. I also did chkdsk C: /F /R. In the attached log you can see there is many "Move File" but i do not see there errors, it seems the files was moved. But weird is these files are in the log repeatedly after each next run of sfc, dunno what is going on.
    I have a suspicion winsxs folder is corrupt, even /scanhealth is saying otherwise... So my idea is try to restore files not from winsxs folder in my win7 installed on ssd, but from bootable ISO. I mounted install.wim so i can see folders/files in File explorer.
    My question is how can i force sfc to use fresh mounted /windows directory (from win7 iso image) instead of using winsxs folder on my disk, which seems to be somehow corrupted?

    Repairing corrupted files-image.png
    Repairing corrupted files Attached Files
      My Computer


  2. Posts : 7,148
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #2

    Hi

    i would just run sfc/scannow using the installed OS option not pulling in another version via Dism

    you should also download and run KB947821...

    notes
    sfc scannow and KB947821 perform different checks.... sfc is for core installed items KB947821 is for update installed changes, ie winsxs

    CBS log is incomplete
      My Computer


  3. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #3

    hi,
    i was already looking at KB947821 before. There is many files inside, should i install all of them one by one?
    Repairing corrupted files-image.png
      My Computer


  4. Posts : 7,148
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #4

    Hi

    you only need to run the last one on that screenshot.... cc4a605b.........msu

    the output log will be in the same folder as the cbs log, titled chksur


    cbs log should end with the comment

    all errors have been corrected,

    or words to that meaning
      My Computer


  5. Posts : 7
    Windows 7 Ultimate x64
    Thread Starter
       #5

    I installed kb947821 (it is not included in the list of "installed updates" but i think it is not important). Do i run it with dism /online /cleanup-image /scanhealth? If yes, this is result of CheckSUR.log:
    Summary:
    Seconds executed: 70
    No errors detected
    Last edited by kuko7; 31 Aug 2024 at 01:34.
      My Computer


 

  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 01:53.
Find Us