Skip to content


How to completely wipe all of the data from your hard drive

Security

This tutorial will guide you in using Darik’s Boot and Nuke (”DBAN”) – to securely wipe (delete) all of the data from your hard drive. Why would you want to securely wipe all of the data on your drive? Perhaps you’re selling your computer, donating it to charity, or recycling it. Before you do so, consider this – even when you delete files, they’re not actually removed from your hard drive. Using data recovery tools, many files can be restored from the average hard drive. In fact, even after a hard drive has been formatted, data can be recovered from it. Using DBAN “prevents or thoroughly hinders all known techniques of hard disk forensic analysis”.

  1. Start by downloading the DBAN .iso to create a boot CD, or the floppy disk version. If you need help creating a boot CD from the .iso file, see this tutorial.
  2. After you’ve made the boot CD or floppy, set your computer to boot from that drive.
  3. Insert the CD or floppy, and boot your computer. You’ll be presented with the DBAN overview screen.
  4. dban
    click to enlarge

  5. NOTE: you are now about to completely erase the contents of your hard drive, this is your last chance to back out. At the boot: prompt, type autonuke and hit enter.
  6. dban
    click to enlarge

  7. DBAN will start up.
  8. dban
    click to enlarge

  9. And begin to wipe your hard drive. The time it takes to completely wipe your hard drive varies depending on its size and speed.
  10. dban
    click to enlarge

  11. Once DBAN has wiped your drive, you’ll be presented with a “DBAN succeeded” window. If you have a floppy in your floppy drive, you can hit ENTER to save a log file of the DBAN wipe. That’s it – you’re done.
  12. dban
    click to enlarge

Posted in Security.

Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

 

You can always opt out of this email subscription at any time.

30 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. CDriK says

    Nice n simple way to securely erase DD, good.

  2. Master Employment says

    I think that to make 300% sure that your docs are gone, you better physically destroy your hard drive.

  3. Joe says

    Another alternative is to install Windows ;?

  4. Kruton says

    I think that to make 300% sure that your docs are gone, you better physically destroy your hard drive.

    If only there weren’t tools that can recover data from hard drives that were smashed or in floods or fires.

  5. jack dawson says

    if the disk size is say 40 GB, how long will it take DBAN to do its work ?

  6. Ross McKillop says

    @ jack dawson:

    An hour or two – it depends on what level of wipe you choose. I did a “fast” wipe on a 300GB HD a couple of weeks ago, and it took 6 hours, give or take.

  7. George says

    How complete is the wipe?

  8. Ross McKillop says

    Without physically melting your hard drive it’s always *technically* possible to recover data. With autonuke it uses 3 passes, which makes
    it impossible for consumer software to recover any data. If the drive was taken to the NSA I’m sure they could recover SOME partial data. In other words, it’s very safe. If you’re really, really paranoid there’s a 7 pass method as well. Though even then, I’m sure the NSA could recover something.

  9. Dan says

    There is also the 35 pass Guttman wipe. ;) Though you might just end up with a pile of hard drive dust after this one….

  10. Johnny says

    Yeah. This is a good way to do it. However, there is a safer option. First install windows vista home basic (or any version of vista). Then, turn off autosave (it usually turns itself off automatically when you are doing something very important but you cant be too sure with windows). Next, do some important work. 3-8 minutes later your computer will have crashed and you are presented with the BSoD (http://en.wikipedia.org/wiki/Blue_Screen_of_Death) and your work wont be saved. You will be so pissed off that you will just smash up your hard drive til their are only protons left. No one can bring it back. Done.

    Heres one I made earlier! http://www.crucialminutiae.com/wp-content/uploads/2007/07/smashed-computer.jpg

    Hope this helps!

  11. Ross McKillop says

    Note: The above comment from Johnny was a joke (just in cause you were confused). I didn’t delete it because I actually chuckled when I read it.

    For what it’s worth, Vista runs like a dream on my MacBook Pro (via Bootcamp). It hasn’t crashed once – though I’ll admit I only use it a couple times a week.

  12. Needs Help says

    If i use this will it return my computer to the way i bought it.Like with the programs it comes with?

  13. Johnny says

    Thanks!

    Its a good idea to have vista (or XP in my case) on your mac. Not much need for it but it does come in handy sometimes.

    Tru Dat

  14. ANON says

    If i use this will it return my computer to the way i bought it.Like with the programs it comes with?
    no. everything will be permanantly gone. Make sure you have a backup disk handy if you do this or you’ll be screwed.

  15. EL says

    if I use the DBAN, and wipe everything off my hard drive, can I still use the operating system reinstallation disk? Is the operating system reinstallation disk the same thing as creating a boot CD?

  16. Ross McKillop says

    @EL

    The OS reinstallation disk is a boot CD, yes. Once you use DBAN, your hard drive will be completely wiped clean. No OS, no nothing. If you then boot from your re-install disk, it will prompt you to reinstall the entire operating system (Windows I’m guessing?). Before you use DBAN, make sure to backup anything you don’t want permanently deleted.

  17. mr.blue says

    este DBAN é espèctaculo,limpei um HDD de 80GB para testar e funcionou altamente tudo a 100%? adorei!!!!,Obrigado por este tutorial.

  18. PDGMAX says

    Je viens de tester DBAN avec l’image iso fournie en lien sur cette page.
    Cependant impossible de faire fonctionner le logiciel.
    En suivant à la lettre le tuto, je passe du point 5 directement au point 7 (cf illustration du tuto)
    Et le message que j’ai est le suiv

  19. pdgmac says

    Bonjour,
    impossible de faire fonctionner le logiciel DBAN !!!
    le message d’erreur est le suivant
    DBAN finished with non fatal errors
    This is usually caused by deskes with bad sector.
    Qulqu’un pourrait il m’aider?

  20. Tyson says

    Only way to be sure…

    http://edrsolutions.com/

  21. chris says

    i want to completely wipe my computer but use it again, will i still have my Windows Xp Installed?

  22. John Doe says

    Inicie el DBan parar borra el disco de 30Gb desde una Notebook y me tira … mas 60hs! Ya paso una hora y solo hizo el 2%… Alguna idea? :-(

Continuing the Discussion

  1. Radian Compliance Management Services » Blog Archive » Hitting Delete Is Not Enough linked to this post on September 27, 2007

    [...] of examples of the many sites of the Internet that offer advice on how to truly cleanse drives. Simplehelp offers a tutorial on how to use Dariks Boot and Nuke (DBAN), which promises to wipe all data off the hard drive. With [...]

  2. Gutsaw » Blog Archive » How to completely wipe all of the data from your hard drive linked to this post on October 13, 2007

    [...] How to completely wipe all of the data from your hard drive – This tutorial shows you how to completely remove every trace of data from your hard drive. In case you have something on there that you don’t want anyone to find. With the aid of a boot disc iso download named DBAN which is 100% free you can make sure all that data disappears. [...]

  3. Hitting Delete Is Not Enough - Network Sentry linked to this post on October 17, 2007

    [...] of examples of the many sites of the Internet that offer advice on how to truly cleanse drives. Simplehelp offers a tutorial on how to use Dariks Boot and Nuke (DBAN), which promises to wipe all data off the hard drive. With [...]

  4. Bits-N-Pieces (10-28-07) linked to this post on October 28, 2007

    [...] Wipe it. I have been thinking about wiping my hard drive and starting fresh. I tried it a couple of months ago and had all sorts of problems which I’ve been trying to correct. Here are simple instructions for wiping your hard drive if you need them. I wish I had them two months ago. [...]

  5. Simplehelp » Blog Archive » Oct. 2007 Summary and a couple of site updates linked to this post on November 2, 2007

    [...] How to completely wipe all the data from your hard drive (thanks StumbleUpon) [...]

  6. 15 Portable Apps to Help Troubleshoot PC’s - Simple Help linked to this post on July 21, 2008

    [...] DBAN is a self-contained boot disk that securely wipes the hard disks of most computers. Download the USB flash drive version from http://dban.sourceforge.net. Related tutorial: How to completely wipe all the data from your hard drive [...]

  7. Trusted security tools & resources « evilfantasy’s blog linked to this post on March 3, 2009

    [...] Tutorial: How to completely wipe all the data from your hard drive [...]

  8. Cocktail party geek: Me, Myself and My Old Machine « just an asterisk * linked to this post on April 6, 2009

    [...] written with magnets and I think the Wikipedia article might be one of the best I’ve seen. More detail on how to wip a drive if you choose to do it [...]



Some HTML is OK

or, reply to this post via trackback.