Original post : How to check for HDD/SSD failures - Guide for Windows XP, Vista, 7, 8, 10.
wmic
diskdrive
diskdrive get status
OK
C:\
You don't need to scan this drive We haven't found any errors on this drive. You can still scan the drive for errors if you want.
chkdsk C: /r
C:
chkdsk c: /r
chkdsk C: /f /x /r