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

    May 1, 2011
    69
    3
    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

    Oct 30, 2009
    47,274
    94,763
    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

    May 1, 2011
    69
    3
    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. joe7dust

    joe7dust MDL Junior Member

    May 1, 2011
    69
    3
    0
    Oh here it is.
     

    Attached Files:

  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    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?
     
  6. joe7dust

    joe7dust MDL Junior Member

    May 1, 2011
    69
    3
    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.
     
  7. joe7dust

    joe7dust MDL Junior Member

    May 1, 2011
    69
    3
    0
    100% success.
     
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450
  9. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    I've read in several places to run sfc 3 times:confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450
    No, calling Daz' name thrice will make him appear ;):D:D
     
  11. joe7dust

    joe7dust MDL Junior Member

    May 1, 2011
    69
    3
    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.
     
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450
    Fable.
     
  13. joe7dust

    joe7dust MDL Junior Member

    May 1, 2011
    69
    3
    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.
     
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450
    I meant needing to run sfc /scannow three times in a row to get it to do the job.
     
  15. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,274
    94,763
    450