What is the use of SFC scan and DISM in windows?

SFC also known as system file Checker utility in Microsoft Windows that allows users to scan and restore corruptions in Windows system files. System File Checker is integrated with Windows Resource Protection (WRP), which protects registry keys and folders as well as critical system files. Under Windows Vista, sfc.exe can be used to check specific folder paths, including the Windows folder and the boot folder. In simple terms System file check is a utility built into the Operating System that will check for system file corruption The sfc /scannow command (System File Check) scans the integrity of all protected operating system files and replaces incorrect, corrupted, changed, or damaged versions with the correct versions where possible.  When it cannot repair the damage DISM should be run to fix as many errors as possible. System File checker works on Vista and upper version. If you are running SFC on recent version of windows insider build( ie 14915) and SFC fails ~20% it is a known problem with this build. Microsoft announce there was bug in this build this will be fixed in the next update.

When to use SFC?

When you modified your system files Including windows dll running SFC will fix the issue. Mostly this error will occur when we try to install the unsigned version of Drivers. Before running SFC take a Backup of your data. with the following command you can start the SFC scan in windows.

To run a system file check (SFC)

Go to start>Type CMD Right click and run as Administrator sfc /scannow  (to repair problems) or sfc /verifyonly (no repair) SFC scan-technoresult Run this sfc scan for three times to fix the problem when you have finished it will say one of three things. Windows did not find any integrity violations (a good thing) Windows Resource Protection found corrupt files and repaired them (a good thing) Windows Resource Protection found corrupt files but was unable to fix some (or all) of them (not a good thing) If you got  any one of this message then the fix not worked properly we have to do run the DISM. If SFC was not able to repair some or all of the files there are a few options including a repair install from the OS dvd, and DISM (win 8 & UP)

So what is DISM?

Windows 10 includes a nifty command-line utility known as Deployment Image Servicing and Management (DISM). It has been around since Windows Vista SP1, and now comes installed by default on Windows 10 and Windows 8.1. The utility can be used to repair and prepare Windows images, including the Windows Recovery Environment, Windows Setup, and Windows PE. Also, DISM can be used to fix the recovery image within an installation of the operating system and even to service a virtual hard disk. There are three main options in DISM

  1. CheckHealth
  2. ScanHealth
  3. RestoreHealth

How to use this DISM?

When your system becomes slow or if you feel any malware, file corruption then already if you tried all the steps like SFC scan, then this DISM will help you to check and restore the system health. No need to run the scan and Restore Health separately, use the below-mentioned command to run the scan and restore health at the same time.

Steps:

Open command prompt in elevated mode by pressing win + X and choosing command prompt admin.

Run the Following Command.

DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth

SFC scan-technoresult Type DISM /Online /Cleanup-Image /RestoreHealth . 

(please note the space after “dism”, & “online” & “image”) If the repair is successful you may want to re-run SFC just to check. By using this command you can restore the health from the system image.

1 thought on “What is the use of SFC scan and DISM in windows?”

  1. I really appreciate this post. I’ve been looking all over for this! Thank goodness I found it. You have made my day! Thx again

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top