Disk Error Checking was designed to test for, and fix, sectors, lost clusters, and system errors. Used in conjunction with the System File Checker most drive problems can be solved, or diagnosed without needing other utilities. Here's how to use Disk Error Checking.
Since Windows 8, Windows will periodically check your disks for errors, but sometimes you need to do a complete scan to solve problems. Luckily, Disk Error Checking is easy to do at any skill level. You can run Disk Error Checking from File Explorer or the Command-Prompt.
1: Run Disk Error Checking GUI
Right-click on the drive you want to scan in File Explorer and select Properties. Click on the Tools tab and finally click on Check where you see "This option will check the drive for file system errors.
You can continue to use your computer while scanning, but Disk Error Checking rarely takes more than 10 minutes.
Because, as we mentioned, your drive is scanned as part of maintenance, you will be told if Windows thinks the drive needs to be scanned or not. Even if errors aren't found, you can still scan the drive.
If errors are found, you will be asked to reboot so Windows can try to fix any problems found.
2: Run Disk Error Checking from the Command-Prompt or PowerShell
Since we're looking at a potential problem with your computer, there may be situations where you can't get Disk Error Checking working from File Explorer. In this case, we can run Disk Error Checking from the command-prompt.
Attempting to run Disk Error Checking without safe mode will result in an error that reads "Chkdsk cannot run because the volume is in use by another process." If you already got this far, close all applications and press Y for yes, then enter. To cancel a scan, type in chkntfs /x C:.
Advanced users can type in chkdsk /? to see all available switches and what they do.