How to wipe a hard drive so that it's safe to recycle (while keeping the recovery partition intact)

35,314

Solution 1

Unless the drives are nearly new I'd advise you just destroy them with a LARGE hammer until you see the inner discs are substantially bent up. Otherwise you're going to put a lot more effort into saving a 6 year old drive than it's worth. New drives are large, fast and cheap and lots of donated systems eventually end up with an open source OS on them so the loss of XP from the recovery partition is no big deal.

If you're still determined to salvage the drives - I can't recommend you doing this yourself if you have no experience in it. Hire someone you trust who knows how to do it and watch what they do. It's not at all hard, but the consequences of doing it wrong could potentially be severe (financial disclosures leading to fraud or identity theft as I'm sure you're aware). If it was your own stuff I'd say assess the risk (since you know what's on the drive) and do what you want, but with a relatives system I'd expect you to be a lot more conservative.

Solution 2

Use the recovery partition to return it to factory condition or Clean reinstall the Operating system, then use Eraser to erase the free space on the drive, this will leave the computer in usable condition and no personal data will be recoverable.

I prefer version 5.8.8

http://sourceforge.net/projects/eraser/files/

Once Eraser is installed on the restored XP installation, open explorer and right click on the C drive and select "Erase Unused Space"

Update: On 7,8 and 10 versions of Windows use the cipher command to erase free space, no third party app needed.

to erase freespace on entire drive open an elevated command prompt and type:

cipher /w:P:\

replace P: with drive letter of choice, C: is the usual choice.

Solution 3

I second hotei. Not only are drives cheaper, faster, and bigger each year, old drives are exponentially more likely to fail. These things aren't made to last. "Grandma's XP machine" makes me guess that it's nearly 10 years old. The average life of a drive is well below that. Don't bother clearing them so new data can be written. It will just fail when you least need it to and cause grief

Solution 4

If you really want to wipe your hard drives for disposal, look for software that complies with US Department of Defense Standard 52220.22-M or US NIST Special Publication 800-88. Anything that does should make it pretty apparent on their website. Most of this software appears to be commercial, however HDDErase is a freeware application recommended in NIST Special Pub 800-88.

The DBAN application has also been mentioned - I have known people who have used this prior to disposing of hard drives. As far as I can tell, it hasn't been tested against the above mentioned specs, but it appears to be well trusted in the security community.

Bruce Schneier, a well known security expert, has written at least one blog post on file deletion.

Solution 5

As has been pointed out, this is an "Asked and Answered. Many times!" sort of question. There are a number of freeware utilities which let you write zeros (or a random string or whatever ...) to the sectors on a drive. Doing this is usually good enough to ensure your privacy will be preserved.

If you are one of the rare people on this planet for which governments (or their equivalent) will spend large amounts of money to recover your data then a simple overwrite may not be sufficient. Then again, if you're in that category, you probably wouldn't be asking your question here, no?

Look through the answers listed under "Related" for your question and I'm fairly confident that you'll find a utility which will allow you to overwrite/destroy just the data in one partition. That would allow you to preserve the recovery partition as you said you wished to do.

Share:
35,314

Related videos on Youtube

erikvold
Author by

erikvold

Updated on September 17, 2022

Comments

  • erikvold
    erikvold almost 2 years

    My aunt and grandparents have some computers that they want to get rid of, all of them have Windows XP and a recovery partition (which allows them to restore the computer to factory settings). So what I want to do is completely wipe the hard drive (C: drive) partitions without removing the recovery partitions so that someone else can still use the system.

    I have no experience wiping hard drives, but I’ve gone through the recovery procedures before, and installed OSs (Windows XP, macOS, Ubuntu) before so I have a little experience.

    Any suggestions?

    • JJ_Australia
      JJ_Australia almost 14 years
      Duplicate of so many SU questions which are all duplicates of superuser.com/questions/4678/…
    • erikvold
      erikvold almost 14 years
      the answer to that question (which I already saw) is to use Darik's Boot and Nuke which is supposed to "automatically and completely delete the contents of any hard disk that it can detect" which you'll note I specifically said in my question I do not want to do (in order to allow who ever recieves the pc to do system restores in the future). So how is that an answer to my question?
    • James Watt
      James Watt almost 14 years
      You really don't need to save the recovery partition.
    • JJ_Australia
      JJ_Australia almost 14 years
      DBAN lets you select which drive to wipe on startup. There is an option to just wipe everything, but AFAIR it's not on by default. – sleske Jun 22 at 10:46
    • erikvold
      erikvold almost 14 years
      alright I'll give this a shot on one of these laptops, and see how it goes..
  • erikvold
    erikvold almost 14 years
    "Unless the drives are nearly new I'd advise you just destroy them with a LARGE hammer until you see the inner discs are substantially bent up." hmm for the laptops this'll be a pain, but I do favor this..
  • hotei
    hotei almost 14 years
    @Erik: Laptops are usually made so hard drives are replaceable without MAJOR effort. Just take drive out and apply hammer liberally. Many PC recyclers will NOT take laptops that have drives still inside (Best Buy for one has this policy).
  • user3784403
    user3784403 almost 14 years
    Yes, but beating the drives with a hammer would also "delete" the recovery partition ... I thought you did not want to do that?
  • erikvold
    erikvold almost 14 years
    I'll take a look at how to remove the hds from the laptops, but they're old so I don't expect removing the hd to be easy.
  • user3784403
    user3784403 almost 14 years
    Seriously. Just get a utility that overwrites all the sectors. Run it over night. Beating the hard drive is ridiculous unless you take some guilty pleasure from the destruction. Most people's privacy is safe enough if they simply format the drive even though all their data is "still there". Few are going to invest the effort to rebuild a file system when they know other people have thrown out hard drives without even bothering to format. If you run a true erase program and overwrite the sectors, you'll be safe.
  • hotei
    hotei almost 14 years
    Couldn't have said it better. I've got some drives that are still error free after 10 years (per SpinRite 6). Others with less than 5 years are quickly sliding towards senility according to SMART monitor.
  • hotei
    hotei almost 14 years
    For what it's worth (not much to me) I thought Microsoft End User License prevents you from legally passing along your XP license to another person (regardless of if sold or donated). That pretty much removes any incentive to keep restore partition in my book.
  • hotei
    hotei almost 14 years
    Zabba's probably kidding but I do save the magnets to play with. Sanding the magnetic surface off the platters with a power sander is the way to go if you work for a 3 letter agency and are REALLY - REALLY paranoid, since otherwise there's a lot of wasted time dis/assembling the drive with Zabba's method.
  • user3784403
    user3784403 almost 14 years
    My understanding was that when Windows comes pre-installed the EUL is part of the hardware it came with. So it would also "travel" with it. Wouldn't it be a bit strange (even for MS) to insist that if you transfer ownership of the hardware you must also buy another license to XP? What you cannot do is try to use that XP license on other hardware. That XP license is bound to that one machine. (From the EUL POV).
  • Zabba
    Zabba almost 14 years
    @hotei, not kidding, it's fun doing that :p And with the sander, you still have to flip the disks, and get a sander from somewhere too
  • erikvold
    erikvold almost 14 years
    Thanks for this answer! but I worry that it's not secure enough.. as there does not appear to be a guarantee that the unused space contains the sensitive data.
  • Moab
    Moab almost 14 years
    Its secure, the factory restore overwrites the space it uses to reinstall the OS, eraser overwrites the rest. Safe as it gets.
  • Royce Williams
    Royce Williams almost 10 years
    Both HDDErase and DBAN will wipe all partitions on the drive, which does not answer the original question, unless additional steps are taken to back up the recovery partition prior to wiping, and then restore it.