Ask Leo! by Leo A. Notenboom

How should I erase my hard drive before I give it away?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Hardware » Disks and Mass Storage

Summary: Erasing your hard drive before you give it away is important. Exactly how thorough an erase you need depends on your data and level of paranoia.

I would like to clear off/erase all the programs on my hard drive and clean it up so that it's available for donation. What's the best/simplest way to do this?

To begin with, good on you, not only for your donation but for thinking to do this. All too frequently we hear of computers donated by banks, hospitals, or other institutions turning up with all sorts of private information that should have been erased first.

The best way? Well ... how paranoid are you?

Conventional wisdom is that reformatting your disk is the right thing to do. And I agree with that, if done properly.

What do I mean by "properly"?

Windows (all versions), and even MS-DOS before it, has the option to perform what's called a "quick format". In reality, a quick format does very little except create an empty root directory on the hard disk and possibly add a label. The rest of the disk is actually assumed to be properly formatted already and left alone. That's why it's quick.

And that's why it's insecure. Since the rest of the disk is left untouched, any data that may already have been there will remain. Many commonly available disk recovery tools will be able to recover data from a "quick" formatted disk.

"Well ... how paranoid are you?"

So the basic and common answer is to reformat the disk, making sure to specify unconditional format. Depending on the version of Windows or MS-DOS you have, that's typically a FORMAT /U at the command line, or making sure that Perform a Quick Format is not checked when using disk management tools.

And that's my general recommendation.

But... here's where paranoia sets in.

It's theoretically possible to recover data even after a disk has been unconditionally formatted. It's not easy and may require special tools (both hardware and software). In general it's a very expensive process. But it may be possible.

It's a common recommendation to use a big heavy magnet to really erase a hard disk. My advice: forget it. Any magnets you're likely to have around the house, even your big speaker magnets, are unlikely to affect your hard disk in any significant way.

An alternate approach is to do that unconditional format several times. Not a bad idea, and if you can I'd also alternate file system types, allocation sizes, and whatever other parameters you have control over between successive formats. It's not bullet-proof, but it will make that difficult potential recovery even more difficult.

But to really, positively, and permanently destroy your data you need to physically destroy the disk. Personally, if I care enough to go this far I use a drill press and drill a few holes all the way through the hard drive casing, through the disk platters, and out the other side. (OK, ok ... even then it's possible for some data recovery by a seriously dedicated, and seriously well financed, expert ... but it's very much like taking a bucket of shredded documents and trying to put them back together - one heck of a lot of work.)

Unfortunately, that level of destruction also makes your gift significantly less useful.

I'd stick with reformatting.

A version of this article that can be republished without cost is available at ArticlesByLeo.com (terms).

Related:

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Article C2247 - December 26, 2004

Was this article helpful? «Yes» «No»

Recent Comments
63 Comments

Now that I have erased my HDD how do I get the new OS to install?
When I insert the Windows or Linux install disc, it gives disc error and will not load. I have used a partition floppy to install a MBR partition but the OS will not start.

Posted by: Jeff at September 4, 2009 1:52 PM

I am trying to wipe my hard drive as i have a worm and my comp is shutting down every half hour or so i tried to format it and reboot from windows disc but nothing works i have tried webroot washer also but nothing seems to boot when i switch on can you help please

Posted by: Brian at October 7, 2009 4:26 PM

Formatting Doesn't Erase the Data,it can still be recovered.Use a Program called "Dban" which Overwrites the data with Random data several times...rendering it USELESS!!!
It's an Iso Image file,so you have to get a free program like "BurnAware" and burn the file to a Cd-r or Dvd-r.And boot it from System Start up.
This goes to Jeff,the System might be too infected to just format,you might want to wipe the drive all together and then try to re-install Windows.

Dban
http://sourceforge.net/projects/dban/files/dban-beta/dban-beta.2007042900/dban-beta.2007042900_i386.zip/download

Posted by: James at November 6, 2009 5:43 PM

If you want to be sure of total data loss, disassemble the hard drive, remove and destroy the discs.

Posted by: Alex at December 15, 2009 1:17 AM

WHEN I TrY TO FORMAT THE HARD DRIVE, I GET A Message that" says format cannot run because the volume is in use by another process , format may run if this volume is dismounted first, would you like to force a dismount" Then "cannot lock the drive volume is still in use"

Posted by: renardo at January 5, 2010 1:04 AM

Post a comment on "How should I erase my hard drive before I give it away?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!