How to Permanently Remove Sensitive Files and Data from a Computer

In order to truly delete files and data from your hard drive, you'll need to fill the space those files once occupied. Pressing the Delete key and emptying the Trash bin won't cut it—sensitive files could still be retrieved by hackers and s...
Method 1 of 4:

Using Eraser in Windows

  1. How to Permanently Remove Sensitive Files and Data from a Computer Picture 1How to Permanently Remove Sensitive Files and Data from a Computer Picture 1
    Download Eraser from the developer's website. Eraser, a program recommended by security experts, installs an option in the right-click menu that allows you to securely delete ('wipe') any file or folder with a click.[1] You can also use Eraser to fill the space that once housed your older deleted files with brand new data.
    1. The installer will download to your default download folder (usually called 'Downloads').
  2. How to Permanently Remove Sensitive Files and Data from a Computer Picture 2How to Permanently Remove Sensitive Files and Data from a Computer Picture 2
    Run the installer. Double-click the Eraser installer, then accept the license agreement. Choose 'Complete' as your setup type, click 'Next,' and finally, 'Install.' When you see a box with a Finish button, click it to complete the installation.
  3. How to Permanently Remove Sensitive Files and Data from a Computer Picture 3How to Permanently Remove Sensitive Files and Data from a Computer Picture 3
    Locate files to delete in Windows File Explorer.[2] If there are particular files on your computer that you'd like to permanently delete, press Win+E to launch Windows File Explorer, then browse to the folder containing the files.
    1. To select multiple files or folders at once, hold down the Ctrl key as you click their names.
  4. How to Permanently Remove Sensitive Files and Data from a Computer Picture 4How to Permanently Remove Sensitive Files and Data from a Computer Picture 4
    Right-click the file(s), then select "Eraser > Erase". This will wipe the files from your computer completely, bypassing the recycle bin. This can take several minutes, depending computer speed and file size.
    1. You can also delete entire folders this way.
  5. How to Permanently Remove Sensitive Files and Data from a Computer Picture 5How to Permanently Remove Sensitive Files and Data from a Computer Picture 5
    Launch Eraser to permanently wipe data from past deleted files. To make sure sensitive data you deleted at a previous time is completely wiped from your computer, you can completely wipe all of your previously deleted files by creating and running a new task in Eraser. Press Win+S to launch the Windows search box, then type Eraser into the blank. When you see 'Eraser' appear in the search results, click it to launch the program.
    1. Running Eraser on the drive can take several hours, depending on your computer and drive size. You can use the computer while the process runs, but it might be slow. You may want to run it overnight.
  6. How to Permanently Remove Sensitive Files and Data from a Computer Picture 6How to Permanently Remove Sensitive Files and Data from a Computer Picture 6
    Click 'Settings' to view the erasure method options. Erasure methods are specific patterns that are filled in to replace the data left over from deleted files. Different methods run the patterns several times (each instance is called a 'pass') to ensure that the data is truly wiped forever. You'll need to select an option for both "Default file erasure method' and 'Default unused space erasure method.'
  7. How to Permanently Remove Sensitive Files and Data from a Computer Picture 7How to Permanently Remove Sensitive Files and Data from a Computer Picture 7
    Choose 'US Army' or 'Air Force' erasure methods. 'US Army' and 'Air Force' provide fast but effective wiping. While other options have higher passes (some up to 35 passes), 3-pass methods like 'US Army" and "Air Force" provide some extra insurance. Click 'Save Settings' when you're done.
  8. How to Permanently Remove Sensitive Files and Data from a Computer Picture 8How to Permanently Remove Sensitive Files and Data from a Computer Picture 8
    Click the down arrow next to 'Erase Schedule,' then click 'New Task.' Now you'll set up a task that can be run immediately.
  9. How to Permanently Remove Sensitive Files and Data from a Computer Picture 9How to Permanently Remove Sensitive Files and Data from a Computer Picture 9
    Select 'Run manually,' then 'Add Data' to choose which data to wipe. Because the files have already been deleted, select 'Unused Disk Space' and choose your main hard drive from the list. Click 'OK.'
  10. How to Permanently Remove Sensitive Files and Data from a Computer Picture 10How to Permanently Remove Sensitive Files and Data from a Computer Picture 10
    Close all programs. To ensure that Eraser runs without issue, close all open programs except for Eraser.
  11. How to Permanently Remove Sensitive Files and Data from a Computer Picture 11How to Permanently Remove Sensitive Files and Data from a Computer Picture 11
    Right-click 'Erase Schedule' to access the list of tasks. Click on the task you just created (it should say 'Unused Disk Space') and select 'Run Now.' A progress bar will appear, showing you the progress of the task. When the process is complete, the progress bar will reach 100%. At that point, the files you deleted earlier will be wiped from the hard drive.
Method 2 of 4:

Emptying Trash Securely in Mac OS X

  1. How to Permanently Remove Sensitive Files and Data from a Computer Picture 12How to Permanently Remove Sensitive Files and Data from a Computer Picture 12
    Move files and/or folders to the Trash.[3] Do this by dragging files or folders to the Trash bin icon on the dock.
  2. How to Permanently Remove Sensitive Files and Data from a Computer Picture 13How to Permanently Remove Sensitive Files and Data from a Computer Picture 13
    Open the Trash to view deleted files. Files you've deleted appear in the Trash bin. Click the Trash icon on the dock to see what's in the Trash.
  3. How to Permanently Remove Sensitive Files and Data from a Computer Picture 14How to Permanently Remove Sensitive Files and Data from a Computer Picture 14
    Click the Finder icon on the dock, then open the Finder menu. This is where you'll be able to access the option to permanently delete files you've moved to the trash.
  4. How to Permanently Remove Sensitive Files and Data from a Computer Picture 15How to Permanently Remove Sensitive Files and Data from a Computer Picture 15
    Select 'Secure Empty Trash.' A dialog will appear, asking 'Are you sure you want to erase the items in the Trash permanently using Secure Empty Trash?' Click 'OK' to remove. This process can take anywhere from a few minutes to several hours, depending on how big your Trash bin is.
  5. How to Permanently Remove Sensitive Files and Data from a Computer Picture 16How to Permanently Remove Sensitive Files and Data from a Computer Picture 16
    Format your hard drive.[4] If you'd prefer to delete all of the files on the computer instead of just a select few, you can format the hard drive. This option will completely destroy all data on your computer and then reinstall Mac OS X. It can take several hours if you have a big drive.
Method 3 of 4:

Formatting Your Mac Hard Drive

  1. How to Permanently Remove Sensitive Files and Data from a Computer Picture 17How to Permanently Remove Sensitive Files and Data from a Computer Picture 17
    Connect to the Internet, then restart the Mac.[5] Use this method if you would prefer to delete everything on your hard drive, including personal settings and data. As soon as you hear the startup chime, quickly press and hold Command+R on the keyboard to launch OS X Recovery. If the computer boots back into the desktop, you'll need to restart again and make sure you press the keys as soon as you hear the chime.
  2. How to Permanently Remove Sensitive Files and Data from a Computer Picture 18How to Permanently Remove Sensitive Files and Data from a Computer Picture 18
    Click 'Disk Utility,' then click 'Continue.' Select the drive you want to format, then click over to the 'Erase' tab.
    EXPERT TIP
    How to Permanently Remove Sensitive Files and Data from a Computer Picture 19How to Permanently Remove Sensitive Files and Data from a Computer Picture 19

    Gonzalo Martinez

    Apple Repair Specialist & President, CleverTech
    Gonzalo Martinez is the President of CleverTech, a tech repair business in San Jose, California founded in 2014. CleverTech LLC specializes in repairing Apple products. CleverTech pursues environmental responsibility by recycling aluminum, display assemblies, and the micro components on motherboards to reuse for future repairs. On average, they save 2 lbs - 3 lbs more electronic waste daily than the average computer repair store.
    How to Permanently Remove Sensitive Files and Data from a Computer Picture 20How to Permanently Remove Sensitive Files and Data from a Computer Picture 20
    Gonzalo Martinez
    Apple Repair Specialist & President, CleverTech

    Use 'Disk Utility' to completely erase data. Gonzalo Martinez, an Apple repair specialist, says: 'When you put data in the trash, and then you empty your trash, the hard drive is only writing a zero over the data. To make sure the trash is completely empty, you can go into 'Disk Utility' and erase the empty space.'

  3. How to Permanently Remove Sensitive Files and Data from a Computer Picture 21How to Permanently Remove Sensitive Files and Data from a Computer Picture 21
    Choose 'Mac OS Extended (Journaled)' in the Format area. This is also where you'll give your disk a new name (you can even just call it 'Mac').
  4. How to Permanently Remove Sensitive Files and Data from a Computer Picture 22How to Permanently Remove Sensitive Files and Data from a Computer Picture 22
    Click 'Security Options,' then move the slider one notch to the right. This will ensure that all data is wiped before the installation.
  5. How to Permanently Remove Sensitive Files and Data from a Computer Picture 23How to Permanently Remove Sensitive Files and Data from a Computer Picture 23
    Click 'Erase.' Once the format completes (this could take hours), the computer will boot into a brand new fresh installation of Mac OS X.
Method 4 of 4:

Formatting Your Windows Hard Drive with DBAN

  1. How to Permanently Remove Sensitive Files and Data from a Computer Picture 24How to Permanently Remove Sensitive Files and Data from a Computer Picture 24
    Find a Windows installation disc.[6] This method should only be performed by advanced users. Formatting the hard drive erases everything on the computer, including Windows. You'll need an installation disc to reinstall the operating system after you format the drive. You can borrow one from a friend, as long as it's the same version you have installed currently.
  2. How to Permanently Remove Sensitive Files and Data from a Computer Picture 25How to Permanently Remove Sensitive Files and Data from a Computer Picture 25
    Download DBAN (Darik's Boot and Nuke). The only way to completely wipe your hard drive clean is to use a third-party 'nuke' tool. Experts recommend DBAN, which is free. This will download an ISO image of DBAN to your computer.
  3. How to Permanently Remove Sensitive Files and Data from a Computer Picture 26How to Permanently Remove Sensitive Files and Data from a Computer Picture 26
    Burn DBAN to a CD or DVD. See Burn ISO Files to DVD for tips on properly burning an ISO file to disc.
  4. How to Permanently Remove Sensitive Files and Data from a Computer Picture 27How to Permanently Remove Sensitive Files and Data from a Computer Picture 27
    Insert the burned DBAN CD/DVD and restart the computer.[7] The computer will reboot into DBAN, which will walk you through formatting your hard disk.
  5. How to Permanently Remove Sensitive Files and Data from a Computer Picture 28How to Permanently Remove Sensitive Files and Data from a Computer Picture 28
    Press Enter for 'Interactive Mode.' This will allow you to specify how DBAN formats the drive.
  6. How to Permanently Remove Sensitive Files and Data from a Computer Picture 29How to Permanently Remove Sensitive Files and Data from a Computer Picture 29
    Press the spacebar to select the drive to be formatted, then press F10 to begin. This process will take several hours. The actual length depends on hard disk size and speed. Look at the 'Remaining' time in the top right corner of the screen to keep track of your progress.
  7. How to Permanently Remove Sensitive Files and Data from a Computer Picture 30How to Permanently Remove Sensitive Files and Data from a Computer Picture 30
    Eject the DBAN CD or DVD when you see the word 'Pass.' When you see 'Pass,' the wipe is complete. Your drive has been erased and re-written.
  8. How to Permanently Remove Sensitive Files and Data from a Computer Picture 31How to Permanently Remove Sensitive Files and Data from a Computer Picture 31
    Insert the Windows installation disc and reboot the computer. Now you'll begin the process of installing Windows on your freshly-formatted hard drive. Rebooting the computer will boot directly into the Windows installer. Click 'Install' or 'Next' to begin the installation, then follow the screens to select your installation options.
4 ★ | 1 Vote