Pinterest Stumbleupon Whatsapp
Ads by Google

how to wipe hard driveSo you want to get rid of your computer 4 Things You MUST Do When Selling or Giving Away Your Old Computer, Phone or Tablet 4 Things You MUST Do When Selling or Giving Away Your Old Computer, Phone or Tablet Here’s a fun thing I like to do: buy an old hard drive on eBay, then run recovery software on it. It’s a little data treasure hunt, and you’ll be amazed at what you can... Read More . To keep your data secure — whether it’s financial records, business information, or anything else private that you don’t want people snooping through — you’ll want to securely wipe the hard drive. This ensures that no one can recover the deleted files How to Scan a Reformatted Hard Drive to Recover Files How to Scan a Reformatted Hard Drive to Recover Files Read More . However, you don’t want to wipe the operating system itself — you want to provide a fresh operating system so the computer’s new owner can use it.

Just re-installing your operating system or restoring from your recovery partition isn’t enough to guarantee that your files won’t be recoverable. When getting rid of a PC that has potentially sensitive data, you should wipe the drive to be sure your data can’t be recovered.

Why Securely Wipe

Sure, you could just delete your personal files, or even re-install Windows or use the Reset Your PC feature built into Windows 8. However, this could leave some of your personal data behind.

When you delete a file, it isn’t removed from the hard drive immediately. Instead, the computer marks the area as usable and it can be overwritten in the future. This means that your personal files may remain accessible, even after deleting them. If you’re getting rid of your PC and don’t want people accessing sensitive data — for example, tax documents with your social-security number and other personal data Top Five Computer Crimes & How to Protect Yourself From Them Top Five Computer Crimes & How to Protect Yourself From Them Read More — you’ll want to securely wipe its storage before getting rid of it.

The process of “wiping” just refers to overwriting all the sectors on your hard drive, replacing their contents with zeroes or random nonsense. This will overwrite any data that’s been marked as deleted, but which can be recovered.

If you don’t do a secure wipe, it’s possible that people could use a file recovery like Recuva to recover sensitive files from your hard drive.

Ads by Google

Solid-State Drives vs. Magnetic Drives

The below advice doesn’t apply to solid-state drives How Do Solid-State Drives Work? [MakeUseOf Explains] How Do Solid-State Drives Work? [MakeUseOf Explains] Over the past few decades, there has been a considerable amount of work in the field of computer hardware. While computer technology is constantly improving and evolving, rarely do we experience moments where we simply... Read More , provided TRIM is enabled 3 Top Tips To Maintain Performance & Extend The Life Of Your SSD 3 Top Tips To Maintain Performance & Extend The Life Of Your SSD For years, standard hard drives have been the speed limiting factor in overall system responsiveness. While hard drive size, RAM capacity, and CPU speed have grown almost exponentially, the spinning speed of a hard drive,... Read More . When you delete a file on a solid-state drive, it is deleted immediately. If your computer has a solid-state drive, all you need to do is make sure TRIM is enabled and delete your personal files — or better yet, use the Reset Your PC built into Windows 8, re-install Windows, or restore your computer’s operating system from its recovery partition.

Using a drive-wiping tool on a solid-state drive is actually a very bad idea, as the additional writes can reduce a drive’s lifespan.

how to wipe hard drive

Ways to Wipe the Hard Drive and Leave the OS

We’re assuming that you want to end up with a PC with an operating system installed, but one where you’ve wiped all your personal data so no deleted files can be recovered. You can do this in several ways:

how to wipe hard disk

You can then re-install Windows from a Windows disc or re-install your computer’s operating system from a recovery disc the manufacturer provided. Note that DBAN will wipe any recovery partitions on your computer’s hard drive, so you won’t be able to restore Windows from the recovery partition.

how to wipe hard disk

  • Re-install Windows, then Wipe Your Data: First, use the Reset Your PC feature built into Windows 8, restore your PC from its recovery partition or disc, or re-install Windows from a Windows disc. You should then have a clean system without any personal data — be sure to check that all your personal data has been deleted, including data on separate hard drive partitions that may not be wiped by the recovery process.

how to wipe hard disk

Once you have a fresh Windows system, you’ll just need to wipe all the free space. You can use a tool like the Drive Wiper tool Optimize Your System To Run At Its Best With CCleaner Optimize Your System To Run At Its Best With CCleaner Over the last two years, CCleaner has changed quite a bit in terms of version numbers...up now to version 3.10 at the time of this writing. While visually the program actually hasn't changed much (it's... Read More built into CCleaner to wipe only your hard drive’s free space, ensuring that no deleted files will be recoverable.

how to wipe hard drive

You could try to delete all your personal files and then use a Drive Wiper tool without re-installing Windows at all, but you’re better off starting with a clean operating system to ensure your data is removed. This also allows the computer’s new owner to start with a fresh operating system.

If You Don’t Care About the OS

If you don’t care about making the computer usable for its new owner, you can always just run a tool like DBAN and leave the computer with an empty hard drive. This will prevent the computer from booting until its new owner installs an operating system.

However, this probably isn’t the best idea unless you plan to trash the computer or its hard drive. Leaving the computer’s operating system intact will make it easier for you to sell it. If you’re giving it away for free, it will result in less work for the computer’s new owner.

Thanks to our readers on MakeUseOf Answers answers answers Read More for their interesting discussion that inspired this article!

Do you have any other tips for securely wiping a drive without obliterating its operating system, or do you have any favorite tools to share? Leave a comment below!

Image Credit: Hard disk drive and eraser via ShutterstockSSD Stack Image via Shutterstock

  1. Andrew U
    July 16, 2016 at 5:23 pm

    I used DBAN on my 2009 Windows Vista computer and it completely wiped everything (including the operating system) so I could sell it. Sold it for $60.00 and the buyer explained he ll probably get windows 8

  2. Cheeseman
    April 9, 2016 at 3:58 pm

    The title of this article is misleading. "Leaving the OS intact" implies that you can wipe the drive without having to reinstall the OS, but the article lists no options for doing that.

  3. Transintl
    December 1, 2013 at 6:24 pm

    So you want to get rid of your computer. To keep your data secure — whether it’s financial records, business information, or anything else private that you don’t want people snooping through — you’ll want to securely wipe the hard drive. This ensures that no one can recover the deleted files.

  4. Chiranthaka Jayakody
    June 20, 2013 at 3:14 pm

    A useful article!

  5. Don Gateley
    June 19, 2013 at 8:04 am

    I was sorta hoping this article would tell me how to do what it said it was going to tell me. Wipe my drive and leave the os.

    • skye conway
      June 21, 2013 at 3:51 pm

      I totally agree, is there a way to " .... Erase the Hard Drive keeping the OS in tact?"

      • Chris Hoffman
        June 27, 2013 at 5:47 pm

        Sorry that you were expecting something else from the article. There's no way to actually wipe the drive and just leave the OS files in a single operation, so this is the best you can do. These processes give the same results.

  6. Bud
    June 18, 2013 at 4:42 pm

    Would be a nice idea to list other OS’s to do this also.......NOT everyone uses garbage Windows !!!

    • Chris Hoffman
      June 27, 2013 at 5:46 pm

      Well, a tool like DBAN will work on every OS, so the process is similar. Just reinstall the OS you want to use afterwards.

  7. Guy McDowell
    June 18, 2013 at 4:08 pm

    "Using a drive-wiping tool on a solid-state drive is actually a very bad idea, as the additional writes can reduce a drive’s lifespan."

    Good call. A lot of tech's miss the fact that SSDs have a limited number of read-write cycles before they fail. SSDs are great, and I personally believe they are better than HDDs, but salespeople tend to gloss over this fact.

    • Chris Hoffman
      June 27, 2013 at 5:46 pm

      Yup, for most people this shouldn't be a problem given average drive lifespans -- but you don't need to go out of the way to write additional sectors. If nothing else, performing a wipe just wastes your time by trying to delete sectors that are already deleted.

  8. Yosua
    June 18, 2013 at 3:28 pm

    Or you can erase the whole disk while installing your Ubuntu and it's derivatives OS, just select the "erase entire disk" option while installing.

  9. Scott MacDonald
    June 18, 2013 at 3:16 pm

    Seems like a bit of misnomer, as the solutions all seem to require re-installing, which doesn't really leave it in tact, but puts it back in place. I can't think of a way to format around an OS, unless it's on a separate partition.

    • Hunting.Targ
      June 18, 2013 at 4:49 pm

      In past days there were ways to null out space not identified by the File Allocation Table as in use. I do not know if anything today has that capability.

  10. Phill Duplessis
    June 18, 2013 at 7:45 am

    Nice thing you share

  11. vineed g
    June 18, 2013 at 5:58 am

    dban great tool,but for ccleaner we can use cipher command to wipe free space in a drive that is much easier ,isnt it?

  12. Zhong J
    June 18, 2013 at 2:46 am

    Maybe you can discuss more about tools using in a Linux system, this article is a good idea to sell your used laptop to someone else and what to do before selling your machine.

    • dragonmouth
      June 18, 2013 at 11:19 pm

      Linux is actually very easy. Using Parted Magic or SystemRescueCD or similar distro you do Dept. of Defense spec overwrite of the HD to securely destroy any personal/sensitive data. Then just re-install the distro.

      As you well know you do not need anybody's permission to install or re-install Linux. Linux O/S is not permanently tied to the hardware configuration that it was originally installed on. The same CD/DVD can be use to install Linux on an infinite number of PCs.

  13. dragonmouth
    June 18, 2013 at 1:27 am

    I use the BFH Drive Eraser to make sure personal data is inaccessible, then install a new HD and the re-install the O/S.

  14. Robert Ruedisueli
    June 17, 2013 at 10:30 pm

    It's best to reinstall the OS fresh after you wipe it.

    You also may want to "zero" the SSD even if you have a system that marks sectors for deletion.

    Sectors marked for deletion CAN be recovered on some drives, simply by unmarking them for deletion before scanning the sector. However, this is a more complex process than HDDs, and would require an expert. Your average script kiddy couldn't pull that one off.

  15. null
    June 17, 2013 at 8:36 pm

    here's another way but it works, fill your hard with dummy data then delete it, how to do it, delete your data normally (select=> right-click => delete), copy any DVD to your HDD, and copy it again, and copy and copy :P

    I know this way looks so dummy, but believe me no one can recover the old critical data that you had on your HDD ;)

  16. kashif faridi
    June 17, 2013 at 7:48 pm

    quite hlpful !!

  17. Lee
    June 17, 2013 at 7:35 pm

    If you take an image of the drive, will the "deleted" files be in that image, or does it only copy the actual data?
    In other words, could you reset the computer to factory settings, take an image of the drive, run DBAN, and then restore that image and achieve the same result as using CCleaner after reinstalling?

    • android underground
      June 17, 2013 at 11:38 pm

      A good drive imaging app will let you choose between a full byte-for-byte backup (useless, unless you're a forensic cop) and an image that ignores the empty space and only copies sectors if the file system says there's data in 'em.

    • Chris Hoffman
      June 27, 2013 at 5:45 pm

      That's a good answer. A full image of every byte on the drive will have the "deleted" file bits. However, most consumer tools will just take an image that only copies the standard files. It's faster and makes for a smaller image. As Android Underground said, the full image is useful except for forensics.

  18. md
    June 17, 2013 at 7:33 pm

    this is fantastic for windows.

    how can i do the same on my mac ? leave the OS (mountain lion 10.8.4) intact while wiping everything else clean to make it easier for my sale on eBay ?

    thanks much,
    - j.t. kirk

    • S
      June 18, 2013 at 10:32 am

      This erases ALL your Data and the Operating System!!! For OSX just go into Disk Utility once booted to your Recovery HD partition and choose to format the hard drive-->go into options and drag the slider up one or two notches. Single pass 1's & 0's is usually sufficient but 7 pass (which will take forever) is government level. Hope that helps

    • S
      June 18, 2013 at 10:39 am

      OR...—the Erase Free Space button on the Erase tab in Disk Utility (found in your Applications -> Utilities folder).

      When you click this button, you’re presented with three options for securely erasing the free space on your hard drive: write over the free space with zeros (fast and relatively safe), write over the free space seven times (more secure, very slow), or write over the free space 35 times (extremely slow!).

    • khalid hassan
      March 18, 2015 at 12:16 pm

      excuse me ! I have Hp laptop windows 8.1 so i decided to conduct factory reset then I selected 1- remove hard drive and reset the PC to its factory version. I installed my back up CDS to eliminate my previous windows and hard drive i finished the process and my PC has been reset to its factory setting . My question is all my files have been deleted but can any one even forensics people can recover or overwrite my deleted files??.Does my hard disk still store these files?

  19. Paul Pruitt
    June 17, 2013 at 6:30 pm

    Shouldn't you be recommending the use of SecureErase instead of DBAN? DBAN does not erase from those sectors the drive has previously set aside as damaged but Secure Erase does: http://www.fixitpnw.com/secure-erase-vs-dban/.

    • Chris Hoffman
      June 27, 2013 at 5:43 pm

      I had no idea, I've never heard of SecureErase before -- thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *