From time to time it is important to check the file system on your Windows 10 devices to ensure there are no corrupt records. Corrupt records on the file system will eventually lead to loss of data. The utilities below should be run in command prompt at an administrator level.
Check Disk utility
format: chkdsk [DRIVE LETTER]
e.g. chkdsk c:
This will identify file system errors on the selected drive.
If errors are found as above, run the command below.
format: chkdsk [DRIVE LETTER] /r /f
e.g. chkdsk c: /r /f
If the selected drive is the system drive, a reboot will be needed to complete the repair.
System File Checker utility
Once you have run and repaired errors identified by the check disk utility, it is important to also check to see that the Windows system files are not corrupted. The system file checker utility scans the integrity of all protected system files and replaces incorrect versions with
correct Microsoft versions.
format: sfc /scannow
This does not need a system reboot. It will automatically repair any corrupt system files found.