SFC, which stands for System File Checker, is a built-in administrative tool to verify the integrity of operating system files and to repair files that are corrupt, damaged or changed.
SFC scans have three possible outcomes:
The screenshot displayed above shows a result where SFC was unable to correct corrupt files that it detected.
SFC may also correct issues but it may not resolve the issue that you tried to correct in first place by running it.
DISM comes to the rescue in these situations. Deployment Image Servicing and Management (DISM) is a command line program for Windows that is used for a variety of purposes.It is available in all versions of Windows starting with Windows 7 and Windows Server 2008
You need to run DISM from an elevated command prompt:
DISM can be run in dry-mode to reveal corruption without attempting to fix issues found. I recommend that you check the health first to find out if corruption exists before you run repair operations.
Dism /Online /Cleanup-Image /CheckHealth
The command checks the image for the corruption flag and returns its findings to you but does not run repair operations.
The scan should not take longer than a second or two. Previous operations may have flagged the image as corrupt.
The command scans for component store corruption but does not correct any issues.
The scan takes longer to complete and the findings of the scan are returned in the command prompt window.
The /RestoreHealth parameter runs a scan for corruption and attempts to repair any issues that it finds automatically.
The scan takes longer to complete if corruption is found during the scan of the image. Note that the operation may appear stuck at times but this is no cause for concern as scanning should commence after a moment automatically.
If the scan finds corruption, it attempts to correct the issue using Windows Update by default.
You can specify a different source using the Group Policy.
Do the following for that:
You may use DISM in Windows PowerShell as well. The commands are slightly different.
DISM Instructional Video
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.