My laptop's hard drive is failing, so I deleted the hard drive and tried to re-install Windows 8.1. It gave me the error code 0x8007045D, so I asked a question and got help to try and fix it with the command prompt. I want to do a chkdsk to see if I can repair the hard drive. How do I do this?
3 Answers
Here's how to do it from the installation media:
- Press Shift+F10 at the Install Windows prompt
- Run
DISKPART - Run
LIST VOLto list volumes available to check. - If the letter of the drive you want to check isn't there, go to B
- Run
EXITonce to exit diskpart. - Run
CHKDSK D: /XsubstitutingDwith your drive letter.
B
- While in Diskpart, run
LIST DISKto find your disk number - Run
SEL DISK 0to select disk0. Replace0with the number of your disk. - Run
CRE PAR PRIto create a primary partition - Run
FOR FS=NTFS LABEL="Local Disk" QUICKto format the partition quickly as NTFS. - Run
ASSIGNto assign the partition a volume mount point, or drive letter. - Run
LIST VOLto list volumes available to check. - Run
EXITonce to exit diskpart. - Run
CHKDSK D: /XsubstitutingDwith your drive letter.
BEWARE that CHKDSK will attempt repairs by writing over the damaged block, and mark it as useless.
Chkdsk can not solve your falling hard drive. I suggest that you back up all your files while you can then, look for a replacement.
CHKDSK is intended to detect and fix errors on a disk / partition. You can open a command prompt and type CHKDSK /? to get a description of the syntax. The re-install of Windows would have done the same thing as a CHKDSK i.e. cleaned up unreadable sectors of the disk. In your case, I am guessing you only have one partition - i.e. the system partition C that you just re-installed Windows 8.1 on. If this is correct, you may be able to run CHKDSK C: /F - there is no need to run diskpart.
HOWEVER: If your drive is failing, CHKDSK will NOT be able to help you: it MIGHT postpone the inevitable demise of your drive. Since you have just re-installed Windows, I am guessing there are few if any user files on your system which makes this the ideal time to purchase a new drive and re-install Windows on that new, clean drive. If you continue with the current, faulty drive, it is only a matter of time until it fails completely and takes any and all user data files with it.