chkdsk command– scanning drives and fixing errors
chkdsk is a feature that has been included with Microsoft operating systems since the early versions of MS-DOS. The program allows you to check hard disks and USB drives for errors. It differentiates between two types of errors: logical or file system errors and physical hardware errors. You define the check methods in the command line tool using chkdsk parameters.