sfc /scannow failed to repair certain files

Page 1 of 3 123 LastLast

  1. Posts : 17
    Windows 10
       #1

    sfc /scannow failed to repair certain files


    Hello,

    So I've done a sfc /scannow for maintenance and noticed that there were some files that could not be repaired. And instead of writing this on a old topic I made my own.

    I found a batch file created by "kronckew" on Windows 7 Help Forums
    The code is:

    @echo off
    rem delete old files
    del /q %windir%\logs\cbs\cbs.log
    del /q c:\sfcdetails.txt
    rem run sfc
    sfc /scannow
    rem filter out non essential junk from the cbs.log
    findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >c:\sfcdetails.txt
    rem open details in notepad
    notepad c:\sfcdetails.txt
    rem optional command to shut down & restart pc after running. this may be needed if
    rem sfc replaces some critical files. uncomment (remove the 'rem') to activate.
    rem shutdown -r
    exit

    I will upload the CBS file and the file created by this batch.
    Hopefully somebody can help me out. Because I really don't want to reinstall my Windows.

    I'm running on a Windows 10 Pro 64x
    sfc /scannow failed to repair certain files Attached Files
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    Did you run SFC /SCANNOW several times? This note from the tutorial https://www.tenforums.com/tutorials/2...dows-10-a.html:

    Note   Note
    If SFC could not fix something, then run the command again to see if it may be able to the next time. Sometimes it may take running the sfc /scannow command up to 3 times with Fast Startup turned off and restarting the computer after each time to completely fix everything that it's able to.
      My Computer


  3. Posts : 4,131
    Windows 3.1 to Windows 11
       #3

    Dism /Online /Cleanup-Image /ScanHealth

    if reports as repairable then

    Dism /Online /Cleanup-Image /RestoreHealth


    your reports show a lot of mismatched hashes on your shortcut ( .lnk ) links
      My Computer


  4. Posts : 17
    Windows 10
    Thread Starter
       #4

    Kari said:
    Did you run SFC /SCANNOW several times? This note from the tutorial https://www.tenforums.com/tutorials/2...dows-10-a.html:

    Note   Note
    If SFC could not fix something, then run the command again to see if it may be able to the next time. Sometimes it may take running the sfc /scannow command up to 3 times with Fast Startup turned off and restarting the computer after each time to completely fix everything that it's able to.
    Hello, thanks for your fast reply.
    I have done this scan multiple times. Also after restarting
      My Computer


  5. Posts : 17
    Windows 10
    Thread Starter
       #5

    Kyhi said:
    Dism /Online /Cleanup-Image /ScanHealth

    if reports as repairable then

    Dism /Online /Cleanup-Image /RestoreHealth


    your reports show a lot of mismatched hashes on your shortcut ( .lnk ) links
    Hello!
    I tried using the first command you told me to use.
    And It's basically stuck for an hour now on 20.0%

    I'll leave it on to scan for a while longer
      My Computer


  6. Posts : 17
    Windows 10
    Thread Starter
       #6

    sfc /scannow failed to repair certain files-zjgkfsw.png
    Now what do I do ?
    sfc /scannow failed to repair certain files Attached Files
      My Computer


  7. Posts : 4,131
    Windows 3.1 to Windows 11
       #7

    download the Windows 10 ISO from here > https://www.microsoft.com/en-us/soft...load/techbench

    double-click the ISO to mount it and note the assigned drive letter...

    Change X below to match the assigned drive letter above...

    Dism /Online /Cleanup-Image /RestoreHealth /source:wim:X:\sources\install.wim:1 /limitaccess


    Note: there is a link in my sig below to help with such matters as yours..
    Windows 10 Recovery Tools - Bootable Rescue Disk
      My Computer


  8. Posts : 3,105
    W10 Pro + W10 Preview
       #8

    Kyhi said:
    download the Windows 10 ISO from here > https://www.microsoft.com/en-us/soft...load/techbench

    double-click the ISO to mount it and note the assigned drive letter...

    Change X below to match the assigned drive letter above...

    Dism /Online /Cleanup-Image /RestoreHealth /source:wim:X:\sources\install.wim:1 /limitaccess


    Note: there is a link in my sig below to help with such matters as yours..
    Windows 10 Recovery Tools - Bootable Rescue Disk
    Have purchased a week ago a laptop with W10 Pro.
    This needed updating to the latest version and like most geeks did a scannow check along with the usual Dism,s
    As did the original poster files could not be repaired, downloaded the Techbench ISO, this rendering my computer to break down repeatedly, eventually being unable to start.
    The problem is M$ updating is install. ESD, Techbench ISO is install.WIM, these being incompatible with each other.
    I have reinstalled the ESD version and everything is running normally, just ignoring the so called corrupt files.
    Hoping that M$ sort it out.
      My Computers


  9. Posts : 4,131
    Windows 3.1 to Windows 11
       #9

    Well. clearly you do not have a handle as to what is the cause of your issue...
    But it is not the install.esd or install.wim..
      My Computer


  10. Posts : 3,105
    W10 Pro + W10 Preview
       #10

    Kyhi said:
    Well. clearly you do not have a handle as to what is the cause of your issue...
    But it is not the install.esd or install.wim..
    I clearly have a problem....purchased an M$ Surface Pro 4 under 2 weeks ago...now on my 2nd after the 1st had a total lockup.
    This 2nd clearly has the same problem...ie- freezes, startup, etc.....trying disable fast start to see if that helps starting.
    Google reveals many dissatisfied users, some even report 3 RTM,S.... looks like another RTM unless some helpful member can come up with a solution.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:46.
Find Us




Windows 10 Forums