Type “chkdsk X: /f /r” (no quotes). Replace ‘X’ with the hard drive you need to repair, then press Enter.