DISM vs SFC: What should I run first on Windows 10?

Should I run SFC or DISM first to repair file or system image corruptions on my Windows 10 computer? Most websites suggest you running one or both of these tools. When should you run each or both? This post tries to explain.

The System File Checker is integrated with Windows Resource Protection, which protects registry keys and folders as well as critical system files. If any changes are detected to a protected system file, the modified file is restored from a cached copy located in the Windows folder itself.

You can use the DISM Tool or Deployment Imaging and Servicing Management to update the files and correct the problem. It can be useful if your System File Checker is not working, and it can also be used to fix Windows component store corruption or if a Windows image becomes unserviceable.

Should I run SFC or DISM first?

This is the way I look at it

1] Run System File Checker or SFC to fix any system file corruption from the resident component store.

In an elevated CMD execute the following command:

sfc /scannow

This does not require Internet access.

If this not help, you may need to repair the Windows Component Store itself.

2] To do this, you need to Run DISM.

In an elevated CMD execute the following command:

Dism /Online /Cleanup-Image /RestoreHealth

This will fix any system image corruption from a Windows Update source. This may require internet access.

This should resolve all issues.

3] Additionally if you feel, you may run SFC again.

This will fix potential system file corruption from the new repaired component store and verify that DISM was successful in repairing the errors.