How to make sfc scannow work? (system file repair)

Discussion in 'Windows 10' started by joe7dust, Jan 30, 2018.

  1. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    I want to verify & repair my install but running this command fails to automatically fix. Maybe their is an in-place reinstall method so I don't have to reinstall drivers and some programs?
     
  2. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
    After sfc /scannow not being able to repair the found integrity errors, run this query:
    Code:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
    It will save a log about the errors.

    Next you can run a /restorhealth command.
    Online:
    Code:
    dism /online /cleanup-image /restorehealth
    Or using an install.wim:
    Code:
    dism /online /cleanup-image /restorehealth:wim:"x:\install.wim":1
     
  3. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    #3 joe7dust, Jan 30, 2018
    Last edited: Jan 30, 2018
    (OP)
    The log file is too large to put here, and I am pretty terrible at going thru logs. Any idea how to fix the issues here? It saids there is corrupt files but was unable to fix some of them.
     
  4. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
  5. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    Oh here it is.
     

    Attached Files:

  6. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
    Code:
    2018-01-30 16:06:16, Info                  CSI    00005003 [SR] Beginning Verify and Repair transaction
    2018-01-30 16:06:16, Info                  CSI    00005005 [SR] Cannot repair member file [l:7]'bth.inf' of dual_bth.inf, version 10.0.16299.15, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, type [l:14]'dualModeDriver' in the store, hash mismatch
    2018-01-30 16:06:17, Info                  CSI    00005008 [SR] Cannot repair member file [l:7]'bth.inf' of dual_bth.inf, version 10.0.16299.15, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, type [l:14]'dualModeDriver' in the store, hash mismatch
    2018-01-30 16:06:17, Info                  CSI    00005009 [SR] This component was referenced by [l:116]'Microsoft-Windows-Client-Features-Package0011~31bf3856ad364e35~amd64~~10.0.16299.15.56e8d96d9e1f97790f3d812656a10348'
    2
    What was the result of the restorehealth?
     
  7. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    I have no idea what that is about except inf is a driver format, it is weird that it is saying corrupt because I've never had any issues with this hard drive.
     
  8. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
  9. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    100% success.
     
  10. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
  11. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
  12. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
    Next!!!! ;):D
     
  13. lobo11

    lobo11 TOMAHAWK CHOP

    Joined:
    Feb 16, 2012
    Messages:
    6,587
    Likes Received:
    5,350
    Trophy Points:
    210
    I've read in several places to run sfc 3 times:confused:
     
  14. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
    No, calling Daz' name thrice will make him appear ;):D:D
     
  15. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    I'm not sure if joking or not... Some things in PS3 modding are like this but I've never heard of it for PCs.
     
  16. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
    Fable.
     
  17. joe7dust

    joe7dust MDL Junior Member

    Joined:
    May 1, 2011
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    0
    It has been a long time but I do not remember ever having trouble with it. I loved how good the graphics looked at the time it was the first time I ever experienced volumetric shadows.
     
  18. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450
    I meant needing to run sfc /scannow three times in a row to get it to do the job.
     
  19. lobo11

    lobo11 TOMAHAWK CHOP

    Joined:
    Feb 16, 2012
    Messages:
    6,587
    Likes Received:
    5,350
    Trophy Points:
    210
  20. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,630
    Trophy Points:
    450