SFC Scannow or DISM/RestoreHealth using Image


  1. Posts : 104
    Windows 10
       #1

    SFC Scannow or DISM/RestoreHealth using Image


    Windows 10 user. Having some trouble with my system after coming back from a weekend. Nothing major...just having trouble playing some games that require plugins etc

    Regardless if it's related, I just wanted to run an SFC/Scannow or DISM/RestoreHealth
    I downloaded the image from MS since I know you can't run it natively without an image in 10..at least now. . Want to get everything repaired and in good shape since I am getting a second hard drive for a backup and don't want to backup something that may have issues. For some reason system restore wasnt't automatically making restore points so that is why I just want to do something "drastic" like this and then set up the task under scheduler.

    I just want to do it from the command prompt within windows.
    For example, what would I need to type into the prompt if I had the image on my desktop? Any assistance is appreciated.
      My Computer


  2. Posts : 104
    Windows 10
    Thread Starter
       #2
      My Computer


  3. Posts : 803
    10 Pro Preview x64
       #3

    This worked for me: How to repair your system files using Dism and Sfc in build 10041 - Windows 10 Forums

    You need to run dism against the wim in your iso like this (replacing the X with the drive of your ISO).

    So...

    DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess

    then:

    sfc /scannow
      My Computer


  4. Posts : 104
    Windows 10
    Thread Starter
       #4

    adamf said:
    This worked for me: How to repair your system files using Dism and Sfc in build 10041 - Windows 10 Forums

    You need to run dism against the wim in your iso like this (replacing the X with the drive of your ISO).

    So...

    DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess

    then:

    sfc /scannow

    Aww hey thank you for putting it into those terms for me. I think I did see this somewhere else, but didn't completely understand what to do. I will burn the image I downloaded last night onto a DVD and try it out. Not sure why I didn't burn it already. I usually know to do this:)
      My Computer


  5. Posts : 803
    10 Pro Preview x64
       #5

    You can alternatively put it on a USB if you want: USB Flash Drive - Create to Install Windows 10 - Windows 10 Forums

    Eventually (in some future build when it is fixed) you will not have to specify the ISO, DISM /Online /Cleanup-Image /RestoreHealth will be enough - it will find what is missing from MS servers.
      My Computer


  6. Posts : 56,804
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #6

    You can also just mount it, wherever the ISO is located. The drive letter assigned after mount (see MY PC for that) is the letter you substitute for "X".

    Don't really need to burn it to use it for DISM.
      My Computers


  7. Posts : 803
    10 Pro Preview x64
       #7

    f14tomcat said:
    You can also just mount it, wherever the ISO is located. The drive letter assigned after mount (see MY PC for that) is the letter you substitute for "X".

    Don't really need to burn it to use it for DISM.
    I didn't think of that.
      My Computer


  8. Posts : 131
    Windows 10 PRO for Workstations
       #8

    Guys, just for you to know, sfc /scannow works out of the box in the new build on fast lane 10049 :)
      My Computer


  9. Posts : 121
    Windows 10
       #9

    Help.... I did this . I have the same ISO I used to upgrade and I still get message it can't find sources. I replaced X with K which is the drive of the mounted ISO. The image does have a folder in called sources
      My Computer


 

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




Windows 10 Forums