I have dealt with many hard drive failures in the past, and most of the time it was the result of bad sectors. Other times it was a complete failure where the hard drive wouldn’t even power up. In the latter instance there isn’t much you can do to retrieve your data.
As for bad sectors, you may still be able to retrieve your data, if you have the right tool. It is difficult to copy data from a damaged hard drive, especially in Windows since it would usually stop the copy when it encounters a bad sector. Recently, I managed to retrieve over 5GB of data from a hard drive with many bad sectors, and in this post I’ll tell you how I did it.
What are Bad Sectors?
Hard drives consist of several circular platters that use magnetism to store the bits of data. Each platter is then divided into tracks, which run in a circular pattern around each platter. Each track is broken into many smaller pieces called sectors. To reduce overhead, sectors are grouped together in clusters.

A bad sector occurs when there is physical damage to a part of the hard drive. Modern hard drives are created with many spare sectors. When the disk controller’s firmware in the hard drive detects a bad sector, it remaps that sector to another physical sector on the hard drive. This remapping is transparent to the operating system. Once the hard drive runs out of space sectors, meaning it can’t remap existing bad sectors, the operating system will begin to detect these bad sectors. Once detected, the operating system will mark these sectors to prevent them from being used in the future.
As the hard drive accumulates more bad sectors, you may begin to lose data, have your system crash more frequently, or have your entire system become very slow and unresponsive. This means that you should be backing up your data and replacing your hard drive.
How do you go about backing up your data, if you already have bad sectors? Windows doesn’t handle copying data from a hard drive with bad sectors very well. Actually, it doesn’t handle it at all. For that you need to install another tool. The steps below outline how I managed to recover data from a defective hard using such a tool.
TestDisk from CGSecurity
When I recently received a hard drive with many bad sectors I decided to try and recover some of the data. The important thing is to see if the hard drive was still able to be powered, and that both the BIOS and Windows was able to detect the drive. As luck would have it, I was able to boot up my computer and detect the drive. Here is what I did to get the data:
- I connected the problem drive as a slave to an existing system. After configuring the BIOS for the new drive, I loaded Windows. Windows took much longer to load because of the defective drive, but it eventually was able to load.
- Next I opened up my web browser and navigated to the TestDisk page on the CGSecurity wiki web site.
- Once I downloaded and installed the tool, I started up the application.
- The first screen prompts for action about log files. I selectedt Create and pressed Enter.
- The next screen lists all hard drives detected by the tool on mysystem. I simply highlighted the hard drive with the problem and pressed Enter.
- Next I selected the partition type. For PCs select Intel, for other’s you would select the corresponding option. Since Intel was selected, I pressed Enter.
- I was now presented with a list of options. To copy the data I needed to select Advanced and then pressed Enter.
- The next step listed the various partitions on my hard drive. I selected the partition that contained the data I wanted to copy and pressed Enter.
- I know saw the partition I selected at the top. At the bottom was a menu. In the menu I highlighted List and pressed Enter.
- A list of directories on the partition was now displayed. I selected a directory I wanted to copy and pressed c.
- When I was prompted to perform the copy, I pressed Y to begin the copy.
- I was informed when the copy has completed, and whether any errors occurred. From this point I could have selected another file or directory to copy.
Using the above steps I managed to copy over 5GB of data very quickly from a hard drive that had many bad sectors. I haven’t checked all the data, but the files I did check opened up without an issue.
Have Your Say
- Have you lost data because of a hard drive crash?
- Were you able to restore data from a hard drive with bad sectors?
Related Posts
What is Your Archiving Workflow?
Is Your Data Safe?
Using Mozy for my Online Backups


I’m trying to use this tool to recover what’s left of a 750GB HDD with lots of bad sectors in it…
I had some hope this could be a little faster then other programs “…Using the above steps I managed to copy over 5GB of data very quickly from a hard drive that had many bad sectors…”
Ok… i think either you were lucky (few bad sectors) or i’m a very unlucky fellow… my PC is running the program for 48h and it displays for the remaining time… 1277h31m24 …
HDD data is +/- 250GB on the 750GB HDD.
I think I you were right about the number of bad sectors. The hard drive I used had very few, which is probably good because it means that I was able to retrieve the data just as the hard drive was going. The hard drive I was checking was also a lot smaller than 750GB and obviously had much less data.
Did the tool eventually retrieve the data from the hard drive? Were there many bad sectors?
I gave up when more than 300 Bad Sectors were found (and no noticeable end time reduction was shown … )
By the time i gave up the tool recovered +/- 1500 files… most of them “unharmed”, although unfortunatly the names weren’t kept, so extra work.
Nevertheless, i think the tool works fine… it does perform the same way as a lot of professional software, with the big advantage that it’s free.
Thanks for your interest on my case… As the harddisk is in the warranty perior i will return it to the seller…
Hi How ya going?
ok i am really stuck.
I have a 400gb drive that i use as my backup drive… save all my stuff on there…. i did a format on my computer and was going to reinstall all my stuff back on my computer when one of my kids knocked the backup drive off the table…. i am unable to get it to detect now… its making noise and yeah sounds like bad sectors… any way i can fix this?
Thanks for your time
OK got the drive to work but is still not showing as a drive in windows….
its in a USB case.. when plugged in will show new hardware and say mass storage device… then will say device ready for uses… but still no show in my computer or in computer management / disk management
TestDisk can see it but not as the 400gb… its showing as a 2199 GB???
i have run the test… not having much luck….
Any help would be good seeing i have over 5 years of stuff on this drive….
how to open or mount dd image file on windows?? I was able to get lot of data but can’t open it. any help??
My usb flash is not functioning on any cpu. It states it’s not readable and asks if I’d like to reformat. I attempted a quick reformat in hopes of then using a usb flash recovery download to scan the drive for data but can’t do that without the simple reformat. In fact it won’t even reformat normally and says the “disc in drive e can’t be formatted.” I attempted to use the above-mentioned “testdisc” program and while it ran through the disc and saw it as a “generic usb,” it kept finding “errors reading sectors” and it produced none of the files that were on the usb flash drive previously. I’m at my end with this and wonder if there are any suggestions. Just trying to recover some data and going crazy. Thanks for any suggestions.
My usb flash is not functioning on any cpu. It states it’s not readable and asks if I’d like to reformat. I attempted a quick reformat in hopes of then using a usb flash recovery download to scan the drive for data but can’t do that without the simple reformat. In fact it won’t even reformat normally and says the “disc in drive e can’t be formatted.” I attempted to use the above-mentioned “testdisc” program and while it ran through the disc and saw it as a “generic usb,” it kept finding “errors reading sectors” and it produced none of the files that were on the usb flash drive previously. I’m at my end with this and wonder if there are any suggestions. Just trying to recover some data and going crazy. Thanks for any suggestions. Thanks
I used this program to recover data from a WD 320 Gb HD that four other programs could not even see. Great program!! It was very fast for me. I recovered 7.14 GB of data in less than half an hour with very few errors. If only the rest of life was this easy.