Chkdsk marks the bad sector so that the sector is taken out of use.
Select Start, Run, type cmd and press ENTER. Type "chkdsk c: /f /r" without the quotes and hit ENTER. Make sure you include the spaces indicated.
Enter Y when asked whether you wish to run chkdsk on restarting the computer. Exit and restart the computer.
Marking off bad sectors on a hard drive takes time so be patient. Marking off does not repair a bad sector. It places pointers on the drive telling
the system not to read or write to those sectors which have been damaged.
If the number of bad sectors continues to increase after you have run the procedure above several times then you should replace the drive. If an
important system file is written to a bad sector you can corrupt registry hives and lose the whole contents of the drive.
On the other hand if having run chkdsk you see no more new bad sectors then the drive can work for you for years.
If you just want a chkdsk report on your C partition select Start, Run, type "cmd" without quotes in the box and press the ENTER key. Type chkdsk
and press the ENTER key and a report, detailing amongst other things a summary of how the disk space is utilised, is provided. If you want a report on a partition or drive other than C you need to go to that partition. To access F, where F is the required
partition you type F: and press the ENTER key.
Copying reports from a command prompt can be tricky. Right click and select Mark. This enables you to highlight selected text and click to copy.
You then go to an open Word, Notepad or similar file, right click and paste. The selected text transfers from your clipboard to the open file. You can paste directly into a reply message to most forums.
You can get error reports in Event Viewer coming from the hard disk controller advising that there is a failing cable or a poor connection between cable and motherboard and / or hard drive. Replacing a sata cable is
an inexpensive repair.