How to use chkdsk, SFC, DISM.exe?

External and internal hard drives are error-prone. In some cases, small HDD errors do not greatly affect the performance, and sometimes lead to OS failure and data loss. We will tell you how to use chkdsk, SFC, and DISM.exe to fix all errors!

How to use chkdsk to fix HDD errors?

Typically, when Windows 11 boots up, it checks the disks for errors. If it finds that something is wrong, it will try to repair the HDD at startup. If you suspect that Windows has not noticed the error and want to check the disk using the HDD, then this step-by-step instruction will help you.

  1. Open  Command Prompt as Administrator
  2. Run the following command, specifying the required drive letter at the beginning of the command to your

chkdsk L: /f /r /x

  • the / f argument tells chkdsk to fix errors
  • / r tells chkdsk to look for bad sectors and repair the surviving command
  • / x dismounts the disk while restoring information

If you try to check for errors and recover information using chkdsk on the system drive (drive C: \), then most likely Windows will prompt you to restart. So agree to the offer.

How do I use SFC to fix system errors?

If you know that everything is fine with the disk, but you suspect that the problem may have arisen due to system errors, then try using SFC in the command line.

  1. Open  Command Prompt as Administrator
  2. Run the following command
sfc / scannow

After checking and restoring the system, restart your computer.

How to use DISM.exe if SFC fails?

If the SFC utility could not solve the problems with the system, then use DISM.exe, which repairs damaged system files.

  1. Open  Command Prompt as Administrator
  2. Run the following command
DISM.exe / Online / Cleanup-image / Restorehealth

That’s all!