Windows 8 and 8.1 Forums


SFC or DISM - Which to Run First?

  1. #1


    Posts : 2,191
    Windows 8.1

    SFC or DISM - Which to Run First?


    Since I have seen "both" recommended as a first step, and since the correct sequence is not defined anywhere that I can find, here's my take on this subject:

    Run sfc /scannow (first)
    This will attempt to fix any corruption from the resident component store
    (Note: internet access is not required)

    If the above is unsuccessful:

    Run Dism /Online /Cleanup-Image /RestoreHealth
    This will attempt to fix any corruption from an online Windows Update source
    (Note: internet access is required and may take a considerable amount of time on slow connections)

    Hopefully, if OK:

    Run sfc /scannow (again)
    This will verify that DISM was successful in repairing the errors

    Your thoughts on this issue would be greatly appreciated.


    my2cents

      My System SpecsSystem Spec

  2. #2


    Posts : 1,875
    Windows 10 Pro Prieview x64


    That is my understanding, yes.
      My System SpecsSystem Spec

  3. #3


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    I run sfc /scannow first.
    Then dism.
    Then reboot.
    Then run sfc AGAIN.

    I have my dism set to use Windows Update to get components for the store :


    • Open the group policy editor. For example, on a computer that is running Windows 8.1, from the start screen, type Edit Group Policy, and then select Edit Group Policy to open the Group Policy Editor.
    • Click Computer Configuration, click Administrative Templates, click System, and then double-click the Specify settings for optional component installation and component repair setting.
    • Or right click it & choose Edit.
    • Select the settings that you want to use for Features on Demand.


      1>
      Click image for larger version

      2>
      Click image for larger version

      3>
      Click image for larger version

      I like to reboot after running Dism /Online /Cleanup-Image /RestoreHealth.
      Then run sfc.
      My System SpecsSystem Spec

  4. #4


    Posts : 2,191
    Windows 8.1


    Hi David,

    Thank you for responding. It seems to me like that option is just applicable to DISM and does not apply to SFC. Am I correct in that asumption? So, is your recommendation to just skip SFC and go right to the DISM command? If so, any concerns about how long that might take over a slow internet connection?

    Best regards,

    my2cents
      My System SpecsSystem Spec

  5. #5


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by my2cents View Post
    Hi David,

    Thank you for responding. It seems to me like that option is just applicable to DISM and does not apply to SFC. Am I correct in that asumption? So, is your recommendation to just skip SFC and go right to the DISM command? If so, any concerns about how long that might take over a slow internet connection?

    Best regards,

    my2cents
    Only applies to dism & not to sfc.

    No, run sfc first, then dism, then reboot, then run sfc again.

    On a dial-up connection it might take a long time.
    But people on dial-up are used to waiting.
      My System SpecsSystem Spec

  6. #6


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    I was just relating my setup.

    I have a cable connection.
      My System SpecsSystem Spec

  7. #7


    Posts : 2,191
    Windows 8.1


    Thanks for that clarification and identifying that usefiul option as well. Since specific MS servers are sometimes unavailable, maybe changing that option might take one to a different server? Not sure though...

    Thanks again,

    my2cents
      My System SpecsSystem Spec

  8. #8


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Quote Originally Posted by my2cents View Post
    Thanks for that clarification and identifying that usefiul option as well. Since specific MS servers are sometimes unavailable, maybe changing that option might take one to a different server? Not sure though...

    Thanks again,

    my2cents
    It takes you to Windows Update.

    The other server is online too.
    So it affects time too on a slow connection.

    Notice the word "Online":

    Dism /Online /Cleanup-Image /RestoreHealth
      My System SpecsSystem Spec

  9. #9


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    I have never tried it but one could unhook their internet connection & try to run the Dism /Online /Cleanup-Image /RestoreHealth command.
      My System SpecsSystem Spec

  10. #10


    Posts : 2,191
    Windows 8.1


    Yes, I did notice the word online but thank you for poiting that out; however, I was actually referring to the source for the DISM compare. Specifically, your option shows two different sources available and they are:

    Contact Windows Update directly (if selected)
    Use the WSUS service (if not selected)

    I am assuming both require online access but they may be located on different servers and that's why I said:

    maybe changing that option might take one to a different server? Not sure though...
    Cheers friend!

    my2cents
      My System SpecsSystem Spec

Page 1 of 3 123 LastLast
SFC or DISM - Which to Run First?
Related Threads
Error Code 0x800f0906 When Trying to Use Dism in Performance & Maintenance
Hello. I am having an issue when trying to run the "Dism /online /cleanup-image /restorehealth" command in an elevated command prompt in Windows 8.1. Whenever I attempt to do so, it fails and returns: Error: 0x800f0906 The source files could not be downloaded. I have ran the command several...
sfc scan and dism still doesn't work in Performance & Maintenance
Hi there This is the first time I'm posting on the forum. I've searched the forums and can't seem to find a solution. It first started when I installed a malicious app. I received like 10 "dwm.exe is not responding" popups every few minutes. This lasted a day, after which it stopped. I ran the...
DISM Question in Performance & Maintenance
I have had a problem with DISM in that it runs, but can't find the source files on my pc. Can anyone tell me if I can copy Windows SXS file from another computer and put my extenal disk as a source? Both pc's are running Windows 8.1 Update 1 and are x64. The only difference in the 2 pc's is...
DISM and SFC error, 0x800f0906 in Performance & Maintenance
Heya all! Recently I got problems when running SFC or DISM to repair my system. As far as I know it concerns the shortcuts in the folder Administrative Tools, there I changed under Properties the Run option to Maximised Windows and since then SFC and DISM have shown this error that the services...
SFC and DISM problems in Performance & Maintenance
Ran SFC /SCANNOW which found errors it could not fix. Ran Dism /Online /Cleanup-Image /RestoreHealth and it failed with an error: 2014-02-21 21:31:48, Info DISM DISM Package Manager: PID=5744 TID=1860 Error in operation: source for package or file not found, ResolveSource()...
dism error 87 in General Support
every time I get this "DISM.exe / Image: F: \ 7work \ WIM / Add-Package / Package Path: F: \ 7work \ LP \ lp.cab" try to run I get an error situation. error 87? What should I do now. I have so many looked on google but I'm desperate. thanks (google translate)
Running DISM Tool in Performance & Maintenance
When running the DISM Tool to scan and restore any missing or corrupted files on the drive, is it imperative to be connected to the internet, or can it be run offline? I have run the Tool both online and offline and both the methods has worked giving the same result. But the Command implies an...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook