<p>Darik&#39;s Boot And Nuke (DBAN) is a completely <a href="https://www.lifewire.com/free-data-destruction-software-programs-2626174" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">free data destruction program</a> that you can use to <em>completely</em> erase all the files on a <a href="https://www.lifewire.com/what-is-a-hard-disk-drive-2618152" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">hard drive</a>.</p><p>Whether you&#39;re selling a computer or just wanting to reinstall an <a href="https://www.lifewire.com/operating-systems-2625912" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">OS</a> from scratch, DBAN is the best tool of this type there is. The fact that it&#39;s free makes it all the better.</p><p>Because DBAN erases every single file on the drive, it has to be run while the operating system isn&#39;t in use. To do this, you must &#34;burn&#34; the program to a disc (like an empty CD or DVD) or to a <a href="https://www.lifewire.com/universal-serial-bus-usb-2626039" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="4">USB</a> device, and then run it from there to erase the hard drive you want to erase.</p><p>This is a <strong>complete walkthrough</strong> on using DBAN, which will cover downloading the program to your computer, burning it to a bootable device, and erasing all the files.</p><p>See <a href="https://www.lifewire.com/dban-dariks-boot-and-nuke-review-2619130" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="5">my complete review of DBAN</a> for a non-tutorial look at the program, including my thoughts on the program, the various wipe methods it supports, and lots more.</p><p>To start off, you have to download DBAN to your computer. This can be done on the computer you&#39;re going to erase or on an entirely different one. However you do it, the goal is to get the <a href="https://www.lifewire.com/iso-file-2625923" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="6">ISO file</a> downloaded and then burned to a bootable device like a CD or <a href="https://www.lifewire.com/what-is-a-flash-drive-2625794" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="7">flash drive</a>.</p><p>Visit the <a href="https://sourceforge.net/projects/dban/" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="8" rel="nofollow">DBAN download page</a> (shown above) and then click the green download button.</p><p>When you&#39;re prompted to download DBAN to your computer, be sure to save it somewhere easy for you to access. Anywhere is fine, just make sure you make a mental note as to where.</p><p>As you can see in this screenshot, I&#39;m saving it to my &#34;Downloads&#34; folder in a subfolder called &#34;files,&#34; but you can choose any folder you&#39;d like, like the &#34;Desktop.&#34;</p><p>The download size is less than 20 MB, which is pretty small, so it shouldn&#39;t take very long at all to finish downloading.</p><p>Once the DBAN file is on your computer, you need to burn it to a disc or USB device, which is covered in the next step.</p><p>To use DBAN, you&#39;ll need to <em>properly</em> put the <a href="https://www.lifewire.com/iso-file-2625923" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">ISO file</a> on a device that you can then boot from.</p><p>Because the DBAN ISO is so small, it can easily fit on a CD, or even a small flash drive. If all you have is something larger, like a DVD or BD, that&#39;s fine too.</p><p>See <a href="https://www.lifewire.com/how-to-burn-an-iso-image-file-to-a-dvd-2626156" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">How To Burn an ISO Image File to a DVD</a> or <a href="https://www.lifewire.com/how-to-burn-an-iso-file-to-a-usb-drive-2619270" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">How To Burn an ISO File to a USB Drive</a> if you&#39;re not sure how to do this.</p><p>DBAN can&#39;t just be copied over to a disc or USB device and be expected to work correctly, so be sure to follow the instructions in one of the links above if you&#39;re not already familiar with burning ISO images.</p><p>In the next step, you&#39;ll boot from the disc or USB device you&#39;ve just prepped in this step.</p><p>Insert the disc or plug in the USB device that you burned DBAN to in the previous step and then restart your computer.</p><p>You might see something like the screen above, or maybe your computer logo. Regardless, just let it do its thing. You&#39;ll know pretty quickly if something isn&#39;t right.</p><p><strong>Important:</strong> The next step shows what you should see next but while we&#39;re here, I should mention: if Windows or whatever operating system you have installed tries to start like it normally does, then booting from this DBAN disc or USB drive has <em>not</em> worked. Depending on whether you burned DBAN to a disc or to a flash drive, see either <a href="https://www.lifewire.com/how-to-boot-from-a-cd-dvd-or-bd-disc-2626090" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">How To Boot From a CD, DVD, or BD Disc</a> or <a href="https://www.lifewire.com/how-to-boot-from-a-usb-device-2626091" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">How To Boot From a USB Device</a> for help.</p><p><strong>WARNING: </strong>DBAN is potentially just <em>moments away from irreversibly erasing all the files on all your hard drives</em>, so be sure to pay close attention to the instructions in this step and the following ones.</p><p><strong>Note:</strong> The screen shown here is the main screen in DBAN and the one you should see first. If not, go back to the previous step and make sure you&#39;re booting from the disc or flash drive properly.</p><p>Before we get started, please know that DBAN is designed to be used with your <a href="https://www.lifewire.com/what-is-a-keyboard-2618153" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">keyboard</a> only... your <a href="https://www.lifewire.com/what-is-a-mouse-2618156" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">mouse</a> is useless in this program.</p><p>In addition to using the regular letter keys and the Enter key, you&#39;ll need to know how to operate the function (F#) keys. These are located at the top of your keyboard and are as easy to click as any other key, but some keyboards are a little different. If the function keys aren&#39;t working for you, be sure to hold down the &#34;Fn&#34; key first, and then select the function key you want to use.</p><p>DBAN can work in one of two ways. You can either enter a <a href="https://www.lifewire.com/what-is-a-command-2625828" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">command</a> at the bottom of the screen to immediately start erasing all the hard drives you have plugged in to your computer, using a predefined set of instructions. Or, you can choose the hard drives you want to erase, as well as select exactly how you want them to be deleted.</p><p>As you can see, the <strong>F2</strong> and <strong>F4</strong> options are informational only, so you don&#39;t have to be concerned about reading through them unless you have a RAID system set up (which probably isn&#39;t the case for most of you... you would probably know if so).</p><p>For the quick method of erasing every hard drive plugged in, you&#39;ll want to press the <strong>F3</strong> key. The options you see there (as well as the <strong>autonuke</strong> one here) are described in full detail in the next step.</p><p>To have the flexibility to choose the hard drives you want to erase, how many times you want the files to be overwritten, and more specific options, press the <strong>ENTER</strong> key at this screen to open interactive mode. You can read more about that screen in step 7.</p><p>If you know how you want to proceed, and you&#39;re confident that there&#39;s nothing on any connected drive that you want to keep, <em>then go for it.</em></p><p>Continue with this tutorial for some more options or if you&#39;re not sure which way to go.</p><p>Choosing <strong>F3</strong> from DBAN&#39;s main menu will open this &#34;Quick Commands&#34; screen.</p><p><strong>Important: </strong>If you use any command you see on this screen, DBAN will <em>not</em> ask you which hard drives you want to erase, nor will you be required to confirm any prompts. Instead, it will automatically assume you want to remove all the files from all the connected drives, and will start immediately after you enter the command. To choose which hard drives to erase, just press the <strong>F1</strong> key, and then go to the next step, ignoring everything else on this screen.</p><p>DBAN can use one of several different methods to erase files. The pattern used to erase the files, as well as how many times to repeat that pattern, are the differences you&#39;ll find in each of these methods.</p><p>In bold are the commands DBAN supports, followed by the <a href="https://www.lifewire.com/data-sanitization-methods-2626133" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">data sanitization method</a> they use:</p><ul><li> <strong>dod</strong> - <a href="https://www.lifewire.com/dod-5220-22-m-2625856" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">DoD 5220.22-M</a> </li><li> <strong>dodshort</strong> - Same as <strong>dod</strong> except only 3 passes are run instead of 7</li><li> <strong>ops2</strong> - <a href="https://www.lifewire.com/rcmp-tssit-ops-ii-2625982" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">RCMP TSSIT OPS-II</a> </li><li> <strong>gutmann</strong> - <a href="https://www.lifewire.com/gutmann-method-2625891" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="4">Gutmann</a> </li><li> <strong>prng</strong> - <a href="https://www.lifewire.com/what-is-the-random-data-method-2625981" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="5">Random Data</a> </li><li> <strong>quick</strong> - <a href="https://www.lifewire.com/what-is-the-write-zero-method-2626052" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="6">Write Zero</a> </li></ul><p>You can also use the <strong>autonuke</strong> command, which is the exact same thing as <strong>dodshort</strong>.</p><p>Click the links next to the commands to read more about how they work. As an example, <strong>gutmann</strong> will overwrite the files with a random character, and do so up to 35 times, whereas <strong>quick</strong> will write a zero and only do it once.</p><p>DBAN recommends using the <strong>dodshort</strong> command. You can use any of them that you think is necessary, but ones like <strong>gutmann </strong>are surely an overkill that will only take more time to complete than is necessary.</p><p>Simply type one of these commands into DBAN to start wiping all your hard drives with that specific data wipe method. If you want to choose which hard drives to erase, as well as customize the wipe method, see the next step, which covers interactive mode.</p><p>Interactive mode lets you customize exactly how DBAN will erase files, as well as which hard drives it will erase. You can get to this screen with the <strong>ENTER </strong>key from DBAN&#39;s main menu.</p><p>If you don&#39;t want to do this, and would rather have DBAN erase all your files the easy way, restart this walkthrough at step 4, and be sure to choose the <strong>F3</strong> key.</p><p>Along the bottom of the screen are the different menu options. Pressing the <strong>K</strong> and <strong>J</strong> keys will move you up and down a list, and the Enter key will select an option from a menu. As you change each option, the top left of the screen will reflect those changes. The middle of the screen is how you choose which hard drives you want to erase.</p><p>Pressing the <strong>P</strong> key will open the PRNG (Pseudo Random Number Generator) settings. There are two options you can choose from - <a href="http://en.wikipedia.org/wiki/Mersenne_Twister" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="1">Mersenne Twister</a> and <a href="http://en.wikipedia.org/wiki/ISAAC_%28cipher%29" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="2">ISAAC</a>, but keeping the default one chosen should be perfectly fine.</p><p>Selecting the letter <strong>M </strong>lets you choose which wipe method you want to run. See the previous step for more information on these options. DBAN recommends choosing <em>DoD Short</em> if you&#39;re not sure.</p><p><strong>V</strong> opens a set of three options you can choose from to define how often DBAN should verify that the drive is actually empty after running the chosen wipe method. You&#39;re able to disable verification entirely, turn it on for the last pass only, or set it to verify the drive is empty after each and every pass has finished. I recommend choosing <em>Verify Last Pass</em> because it will keep verification on, but won&#39;t require it to run after each and every pass, which would otherwise slow the whole process down.</p><p>Choose how many times the chosen wipe method should run by opening the &#34;Rounds&#34; screen with the <strong>R </strong>key, entering a number, and pressing <strong>ENTER</strong> to save it. Keeping it at 1 will simply run the method once, but should still be enough to securely erase everything.</p><p>Finally, you must choose the drive(s) you want to erase. Most up and down the list with the <strong>K </strong>and <strong>J</strong> keys, and press the <strong>Space</strong> key to select/deselect the drive(s). The word &#34;wipe&#34; will appear to the left of the drive(s) you choose.</p><p>Once you&#39;re sure all the correct settings have been chosen, press the <strong>F10</strong> key to immediately begin wiping the hard drive(s) with the options you&#39;ve chosen.</p><p>This is the screen that&#39;ll show once DBAN has started.</p><p>As you can see, you can neither stop nor pause the process at this point.</p><p>You can view the statistics, like time remaining and any number of errors, from the top right side of the screen.</p><p>Once DBAN has completely finished the data wipe of the selected hard drive(s), you&#39;ll see this &#34;DBAN succeeded&#34; message.</p><p>At this point, you can safely remove the disc or USB device that you&#39;ve installed DBAN to, and then shut down or restart your computer.</p><p>If you&#39;re selling or disposing of your computer or hard drive, then you&#39;re done.</p><p>If you&#39;re reinstalling Windows, see <a href="https://www.lifewire.com/how-to-clean-install-windows-2624904" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">How to Clean Install Windows</a> for instructions on starting over again from scratch.</p>