How To's

[Guide] How to use SFC Scan and DISM Tool

SFC and DISM tools are extensively used to cater to issues in the system such as missing system files and corrupt modules. These tools scan specific files through a manifest and compare the local files on the system with the ones available online at Microsoft’s servers.

Nerds’ Guide to SFC Scan and DISM Tool (Title Image)

SFC Scan

SFC stands for System File Checker and, as the name depicts, it scans and repairs the systems files of a Windows system. This scan instantly takes action upon detecting a corrupted or modified file and replaces that file with its original version.

When Should We Use the SFC Scan?

We recommend using SFC scan in the following scenarios:

  • To solve the Blue Screen of Death (BSOD) error.
  • If you are getting messages about the missing DLL files.
  • When your Windows programs are crashing.

How to Use the SFC Scan?

You can use the SFC scan on your Windows system in the following way:

  1. First of all, open ‘Command Prompt’ or ‘Windows PowerShell’ as ‘Administrator.

    Opening ‘Command Prompt’ as ‘Administrator’
  2. Now, if you want to repair or replace the damaged files with their original version, then run the following SFC command:
sfc /scannow
  1. However, if you just want to scan your system without repairing it, you can use the following SFC command:
sfc /verifyonly command
  1. Once the system has successfully executed the command, you will see the following window:

    Command Prompt (CMD) indicating the success of SFC scan
  2. After running the SFC commands, we recommend rebooting your system. This way, the commands will be completely effective.

DISM Tool

DISM stands for Deployment Image Servicing and Management. This tool is more powerful than an SFC scan because when the SFC scan fails, this one gets the job done. Like the SFC scan, this tool also works in the elevated version of ‘Windows PowerShell’ or ‘Command Prompt.

When Should We Use the DISM Tool?

We recommend using the DISM tool in the following scenarios:

  • When you are experiencing frequent errors, system freezing, and crashing.
  • If the SFC scan doesn’t run.
  • As mentioned earlier, this tool works when the SFC scan fails. So, use it only after the failure of the SFC scan.

How to Use the DISM Tool?

You can use the DISM tool on your Windows system in the following way:

  1. Open ‘Command Prompt’ or ‘Windows PowerShell’ as ‘Administrator.
  2. First, run the following command because it will check whether the system image is corrupted or not without making any changes:
Dism /Online /Cleanup-Image /CheckHealth
  1. Now, if the system doesn’t detect any corruption, you can run a more advanced-level DISM scan to identify whether the component store is restorative or not. This command will not make any changes to the system as well.
Dism /Online /Cleanup-Image /ScanHealth
  1. But if the DISM tool reports some issues in the image of the Window system, we recommend running another advanced DISM command. This command will connect the DISM to Windows for downloading and repairing the damaged files as necessary.
Dism /Online /Cleanup-Image /RestoreHealth

Note: The above command might hang at 20 seconds, which is normal. Plus, it will take 10 minutes to complete its working

  1. After running the DISM tool, we recommend rebooting your system and running the SFC commands again. This way, the DISM tool will be completely effective.

Conclusion

Whenever we talk about the basic troubleshooting of a computer system, the SFC scan, and DISM tool is at the front of troubleshooting potential problems. Before moving on to the complex solutions, we recommend running these commands to identify and fix the system issues.

Shaheer Asif

Shaheer is the lead troubleshooter at Computer Verge. He has over 7 years of IT experience. He has a Bachelor's degree in Computer Science and has completed various IT programming and support certifications.
Back to top button