Selling my computer -- how do I completely wipe the hard drive?

So I want to sell my computer, but I also want to ensure none of the files on it can be accessed. I already restored it to factory condition, but it’s to my understanding that data can still be recovered via a recovery program of some sort until the data is actually overwritten.

I know there are programs available that will wipe the entire drive, but does that include the OS as well? If so, that’s a problem. Since I no longer have the restore CDs for my computer, I have to use the “restore” option that Sony pre-installed on the computer itself anytime I want to restore it. Which is fine, except I have no means of reinstalling Windows XP if it does get deleted.

So are there any (free) programs that will wipe file data from my computer, but leave Windows alone?

The last time I was in a situation like that, I wrote a little program that wrote random data to an output file. I let it run until the output file had consumed all of the free space on the disk, and then deleted the file. It wouldn’t meet NSA standards for eradicating every last scrap of old data, but it was good enough for my needs. If the data is really sensitive, physical destruction of the disk drive is the only way to guarantee that the data can’t be recovered.

There are plenty of free programs that will overwrite your hard disk with random data - which is the most secure way short of physical destruction. Some are approved by the US military. This will erase everything on your HD, including the OS.

I don’t know how Sony go about things, but normally the OS is stored on a separate partition and can be transferred to a bootable CD that allows you to restore your OS and relevant drivers.

If there is no option to do that, then the only other option is to ask Sony to supply the recovery CDs. They may charge you for this.

The restore files SHOULD be in a separate partition on your hard drive. I’ve used Darik’s Boot and Nuke several times before without any problems.
It’s free, open source and simple to use. You can specify which partitions to wipe, so just don’t wipe the one with the factory restore files on it. :smiley:

If you’ve wiped, repartitioned and reformatted the drive, then there should be nothing left that ordinary data recovery programs (running on the machine itself) could retrieve. Data recovery experts could open it and possibly find something interesting by scanning the platters with specialist equipment and inferring previous states of the magnetic subdomains by scrutinising their fringes.

If you’re afraid of the latter happening, then the best way to proceed is probably to remove the drive and physically destroy it (drill some holes right through it, then burn it in a bonfire), then replace it with a new one before selling the machine.
If you’re just concerned about Joe Random running some undelete program and accidentally finding out about your goat porn, then repartitioning, formatting and reinstalling from scratch should be plenty good enough.

Instead of deleting files via Windows itself, use Shredding software (this is the term to Google). I use the shredder that comes with PGP (Pretty Good Privacy).

…but if you’ve already deleted the files in Windows (and emptied the recycle bin :smack: ), it’s a little late for that. You’d have to recover the files to then delete them “for real”.

On the contrary. I’ve been able to recover deleted partitions and files from a formatted and overwritten hard disk using a free tool that I downloaded.

Surely not after they’ve actually been overwritten? How does that work? I know it can be done by taking out the platters, but how can software tell a hard drive to read what part of it used to contain, before it was overwritten by something else?

I think it’s a case where a disk was repartioned and formatted, and some of the existing data was overwritten. You can’t do a low-level format on modern disks, and high-level format programs may actually write very little data to the disk.

The ATA/ATAPI standard for hard disks has a “secure erase” feature that is supposed to address this problem. The problem is that you need an operating system or utility program that allows the user to send a “secure erase” command to the disk drive.

How to REALLY erase a hard drive

Take off and nuke the drive from orbit. It’s the only way to be sure.

The OP doesn’t want to erase the HDD which makes things very difficult. Can’t you write to Sony for a set of restore CDs?

I don’t know how it worked but it did.

In my computer I had 2 hard drives.

Drive 0 - Windows Vista.
Drive 1 - (taken from old, defunct computer) 4 partitions. 2 were Win XP (non working on my new computer) There was a data partition, where I kept all my vital documents, and a partition where I kept all my downloaded movies.

Anyway, I took in my computer for repair. The shop helpfully reformatted both disks for me, and installed Vista back on Drive 1, thus overwriting it, partly at least. They were not following instructions. :rolleyes:

(Note to self : backup more often, Pete.)

Anyway, even though it had been formatted, I was able to run recovery software and get back the entire data partition. Bits of the other partitions were available too, not that I needed them. Some was unrecoverable, but that didn’t matter.

Anyway, the moral is that formatting does *not *make the data unrecoverable.

What you want is software that will overwrite the entire drive (such as with all zeroes). Here is a free utility to do it.

You’ll have to re-install the OS afterward but I don’t know of a good way to keep some data but make sure other data is wholly removed from the drive. It’s worth reinstalling Windows afterward. Sorry.

If I were to download say, a gig sized file, then copy and paste it over and over until my harddrive’s space was consumed, would that work?

Go to the source web site for the most up to date information on KillDisk —> http://www.killdisk.com/

Also, you may want to consider destroying the partition by using Microsoft’s delpart utility.

I think this all depends on how important secure deletion is to you. In ascending degrees of security, the question you need to ask yourself is, if you just delete your files, how likely is it that someone will use an undelete program to retrieve them; If you format your hard drive, how likely is it that someone will use a more sophiscated program; if you use one of the secure deletion programs (where your data can be overwritten 35 or more times)…

The likelyhood is that no-one’s going to bother, but by using a secure deletion program you can be sure that your data’s gone.

Your method seems like an awful lot of effort that would, at best, not be terribly secure.

I’ve had very good luck with this free utility:

Eraser

That would work nicely. For your situation, the goal is to overwrite all of the free space on the disk, ensuring that the contents of any deleted files are destroyed.
Someone still may be able to recover the names and sizes of the files, but not the files themselves.

Given that the OP is insistent on not deleting Windows, what about all the stuff in the registry?

A seconding for Dban, if you delete partitions without overwriting there are plenty of $99 or less data recovery programs that can pull hundreds of intact files off the drive.