If you are facing random errors in your apps especially related to disk reading or writing, this can indicate an error on your drive. The disk drive's partition might be marked dirty due to an improper shutdown, or due to corruption or bad sectors. In this article, we will review various methods to check your drive for errors.
Chkdsk is the built-in console tool in Windows to check and fix file system errors. It starts automatically when Windows is booting if your hard drive partition was marked dirty due to an improper shutdown, or due to corruption or bad sectors. The user can start it manually if he connects an external drive or wants to check an existing local partition or drive for errors manually. In Windows 10 and Windows 8, Chkdsk has new options compared to Windows 7.