# Erasing deleted files forever?

**URL:** <https://boards.straightdope.com/t/erasing-deleted-files-forever/96474>\
**Category:** Factual Questions\
**Created:** [December 2, 2001, 5:58pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474 "2001-12-02T17:58:04Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diceman](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@Diceman](https://boards.straightdope.com/u/Diceman)\
**Post date:** [December 2, 2001, 5:58pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/1 "2001-12-02T17:58:04Z")

</div>

I’ve recently purchased a new computer, and I will probably end up giving away my old computer. I’ll be deleting most everything except Windows and Microsoft Office from my old computer’s hard drive. For security and privacy reasons, I’d like to make sure that the stuff I delete will be gone permanently, and can’t be recovered. Is there a good method for doing this, or a good shareware/freeware program that does this? I _don’t_ want to hear suggestions like “format the hard drive,” because I don’t want to erase everything, and I’m not willing to re-install Windows and other such programs afterwards. I have Norton Systemworks, if that helps.

---

<div class="post-metadata">

**Author:** ![mblackwell](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mblackwell](https://boards.straightdope.com/u/mblackwell)\
**Post date:** [December 2, 2001, 6:00pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/2 "2001-12-02T18:00:08Z")

</div>

Defragging the drive should do it. Unless somone like the FBI REALLY wants the data.

---

<div class="post-metadata">

**Author:** ![yabob](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/yabob/32/2821_2.png) [@yabob](https://boards.straightdope.com/u/yabob)\
**Post date:** [December 2, 2001, 6:13pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/3 "2001-12-02T18:13:30Z")

</div>

There are several available “erase” programs which physically overwrite specific files or specific parts of the filessytem like the free list multiple times with patterned or random data.

Defragging won’t neccesarily do it, if you’re being intensively paranoid.

Poke around your favorite shareware site, or one such utility may be found here:

[http://www.tolvanen.com/eraser/](http://www.tolvanen.com/eraser/)

---

<div class="post-metadata">

**Author:** ![Joe\_Cool](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Joe\_Cool](https://boards.straightdope.com/u/Joe_Cool)\
**Post date:** [December 2, 2001, 6:19pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/4 "2001-12-02T18:19:21Z")

</div>

download a program called [Mutilate File Wiper](http://www.tucows.com/system/preview/195493.html). It has options to write random (or user-defined) patterns, to either a single file or all free space on the drive, a specified number of times. the default is all ones, followed by all zeroes, followed by alternating ones and zeroes, once each. 7 total overwrites is the government standard for secure deletions on non-top-secret systems. Anything with higher classification gets incinerated, which is the only truly perfect file deletion method.

But this one is good.

And no, defragging the drive won’t do it.

---

<div class="post-metadata">

**Author:** ![epraz](https://avatars.discourse-cdn.com/v4/letter/e/82dd89/32.png) [@epraz](https://boards.straightdope.com/u/epraz)\
**Post date:** [December 2, 2001, 6:27pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/5 "2001-12-02T18:27:02Z")

</div>

isn’t it possible (though maybe time consuming) to just fill of the HD after deleting the old files? There are programs that will do this (any type of media recorder for example). Or can old files still be recovered, even if they’ve been overwritten?

---

<div class="post-metadata">

**Author:** ![Violet](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Violet](https://boards.straightdope.com/u/Violet)\
**Post date:** [December 2, 2001, 10:15pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/6 "2001-12-02T22:15:27Z")

</div>

Does a “restore” delete everything?

---

<div class="post-metadata">

**Author:** ![Diceman](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@Diceman](https://boards.straightdope.com/u/Diceman)\
**Post date:** [December 4, 2001, 1:53am UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/7 "2001-12-04T01:53:31Z")

</div>

I downloaded Eraser from the first link and I’ll give it a try when I’m ready. My new computer is supposed to arrive tomorrow 🆒

---

<div class="post-metadata">

**Author:** ![CaveMike](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cavemike/32/16379_2.png) [@CaveMike](https://boards.straightdope.com/u/CaveMike)\
**Post date:** [December 4, 2001, 2:21am UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/8 "2001-12-04T02:21:58Z")

</div>

If you are command-line savy, check out sdelete:  
[http://www.sysinternals.com/ntw2k/source/sdelete.shtml](http://www.sysinternals.com/ntw2k/source/sdelete.shtml)

> [@](#):
>
> SDelete implements the Department of Defense clearing and sanitizing standard DOD 5220.22-M, to give you confidence that once deleted with SDelete, your file data is gone forever.

You can tell it to delete files, recurse directories, and even to scrub the empty space on your hard-drive (to catch files that have already been deleted normally).

And best of all it is free.

As an aside, [http://www.sysinternals.com](http://www.sysinternals.com) is a great site if you do any Windows system programming. It is full of great tools and all of them are free; many with source code.

---

<div class="post-metadata">

**Author:** ![\_Uigi](https://avatars.discourse-cdn.com/v4/letter/_/e9a140/32.png) [@\_Uigi](https://boards.straightdope.com/u/_Uigi)\
**Post date:** [December 4, 2001, 3:12am UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/9 "2001-12-04T03:12:30Z")

</div>

Well, no. “Steal This Computer Book” (Wang) gives pretty accurate advise that disk clean/erase programs are not complete enough.  
My suspicion is that if you really want your old files destroyed the only way is to smash/burn/de-magnetize (repeat the above a couple of times) your harddrives to have a real chance at securing old files.

---

<div class="post-metadata">

**Author:** ![Cisco](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@Cisco](https://boards.straightdope.com/u/Cisco)\
**Post date:** [December 4, 2001, 12:51pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/10 "2001-12-04T12:51:52Z")

</div>

I would get a hex editor and wipe the files out from the inside, that way if someone ever were to recover them they would be useless.

> [@](#):
>
> \*Originally posted by mblackwell \*  
> \*\*Defragging the drive should do it. Unless somone like the FBI REALLY wants the data. \*\*

😕 What does defragging have to do with deleting? You don’t lose information during defragmentation, you just rearrange it. Or is there something I don’t know?

---

<div class="post-metadata">

**Author:** ![Badtz\_Maru](https://avatars.discourse-cdn.com/v4/letter/b/e36b37/32.png) [@Badtz\_Maru](https://boards.straightdope.com/u/Badtz_Maru)\
**Post date:** [December 4, 2001, 1:01pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/11 "2001-12-04T13:01:33Z")

</div>

> [@](#):
>
> \*Originally posted by Cisco \*  
> \*\*I would get a hex editor and wipe the files out from the inside, that way if someone ever were to recover them they would be useless.
> 
> > [@](#):
> >
> > \*Originally posted by mblackwell \*  
> > \*\*Defragging the drive should do it. Unless somone like the FBI REALLY wants the data. \*\*
> 
> 😕 What does defragging have to do with deleting? You don’t lose information during defragmentation, you just rearrange it. Or is there something I don’t know? \*\*

If you rearrange everything on your hard drive, odds are that the space on the drive that held the ‘deleted’ files will have been copied over. It’s about the best way to get rid of files that doesn’t require some utility that doesn’t come on your computer, though not perfect.

---

<div class="post-metadata">

**Author:** ![yabob](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/yabob/32/2821_2.png) [@yabob](https://boards.straightdope.com/u/yabob)\
**Post date:** [December 4, 2001, 4:48pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/12 "2001-12-04T16:48:50Z")

</div>

Of course, that depends on how fragmented the drive is in the first place. In the absence of a wipe utility, you’re probably better off simply deleting the files, then filling up the disk with something, even by just making copies of existing files.

---

<div class="post-metadata">

**Author:** ![Telemark](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/telemark/32/372_2.png) [@Telemark](https://boards.straightdope.com/u/Telemark)\
**Post date:** [December 5, 2001, 3:07am UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/13 "2001-12-05T03:07:28Z")

</div>

The reason the DoD requires you to write over each bit 7 times is that with the proper equipment, you can tell what was on a disk even after it has been written over once. If a bit has been set for a period of time, there is enough “memory” (bad word for it, but you get the idea) that can be read.

---

<div class="post-metadata">

**Author:** ![felix9x](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@felix9x](https://boards.straightdope.com/u/felix9x)\
**Post date:** [December 5, 2001, 3:54am UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/14 "2001-12-05T03:54:31Z")

</div>

If you going to give away the computer why dont you just go to Run and type format C:  
I would think that would make it very hard for anyone to access the files if not imposible

---

<div class="post-metadata">

**Author:** ![Alereon](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Alereon](https://boards.straightdope.com/u/Alereon)\
**Post date:** [December 5, 2001, 1:06pm UTC](https://boards.straightdope.com/t/erasing-deleted-files-forever/96474/15 "2001-12-05T13:06:04Z")

</div>

felix9x: Formatting may make it difficult for a casual user to get the data back, but with enough work even software can do it, to say nothing of a data recovery service.

In reality, there is no way to wipe data from a magnetic storage medium without completely destroying it. I recall a paper that I believe was linked from slashdot that said that a magnetic field strong enough to completely erase all data would incidentally also warp the platters very badly.

As I recall, one of the major problems was that it was nearly impossible to wipe the harddrive’s onboard error correction database because it is fault tolerant so some insanely huge degree.

Naturally, this all depends on the level of security you desire. You’ll need to burn any drive you absolutely want no data pulled off of:)
