• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to wipe a hard drive clean

Joined
Sep 15, 2009
Messages
2,076 (0.36/day)
System Name Omen
Processor i7-4710HQ
Cooling Dual fan/heatpipe
Memory 16GB
Video Card(s) 4GB GTX 860M
Storage 256GB PCIE SSD/256GB PNY UHS-1 SD Card
Display(s) 15.6' 1080P
Case Aluminium
Audio Device(s) Onboard
Power Supply Brick
Software Win 10
I'm going to be selling one of my desktop's soon and wanting to wipe both harddrives completely clean so that no information or data can be retained. Never done this before, so anyone willing to give me a simple guide? :laugh: Thanks
 
right click on drive and select format. free and easy there is software out there that may do better. free is still good. if you have an install disc you can delete/format the drives that way too. Just stop the install process when computer restarts after deleting partitions and formatting.
 
Last edited:
so that no information or data can be retained

SecureErase. It's a built in firmware command for all HDD's, you can run it from a Live boot CD liked Parted Magic. Nothing else will wipe it properly unless it's a high powered drill.
 
SecureErase. It's a built in firmware command for all HDD's, you can run it from a Live boot CD liked Parted Magic. Nothing else will wipe it properly unless it's a high powered drill.
Using it (them) as target practice with a nicely powered shotgun, pistol or rifle will also work:)
 
I use killdisk One zero-pass is enough
Same but I use DoD 5220.22M 3-pass with 40% verification. It does a pass of zeros, a pass of random data, and then the opposite of the random data. Verification makes sure the values that are read from the drive match what it wrote.

Nothing else will wipe it properly unless it's a high powered drill.
Correction: metal shredder. NSA allows 5220.22M for secret data but any drive that contained classified data needs to be shredded. Drilling it would stop an amateur from retrieving data but it doesn't stop professionals.
 
Just formating will not erase the drive. But there are a bunch of free programs that will. Killdisk is just one. Now a SSD drive is another matter

Its going to take hours to secure erase the drive
 
If I really want to destroy a HDD I just remove the cover and start it with a psu. Then I use 40 coarse sandpaper to grind the disk inside. Work like a charm and I guess it will oprevent even professionnals from reading.
 
just get yourself a Ubuntu Live CD and use this cmd in prompt

dd if=/dev/urandom of=/dev/sda bs=1M


where "/dev/sda" describe your drive, sda is usually the first hard drive.

free and easy to use

EDIT: like jetster already mentioned, it takes time depends on HDDrive size
 
baby+wipe+container.jpg


any low level format tool will work
 
If I really want to destroy a HDD I just remove the cover and start it with a psu. Then I use 40 coarse sandpaper to grind the disk inside. Work like a charm and I guess it will oprevent even professionnals from reading.
You do realize the data is magnetic, right? I suspect sandpaper doesn't distort the magnetic fields.

EDIT: like jetster already mentioned, it takes time depends on HDDrive size
capacity / sequential write speed

Examples:
3,000,000 MB / 150 MB/s = 20,000 seconds or 5.5 hours per pass
40,000 MB / 60 MB/s = 667 seconds or 11.1 minutes per pass
 
I +1 the dban. Plus the name is cool :) . Most of the above posts are correct all over the place (excepting the one about "format"). One of the mentioned free softwares will do the job well, but for NSA standards, obviously more is involved. All of the options short of melting it will take extended time to perform, or materials you may not have access to, but I gather you want to send the drives functional with the computers, so you're down to software. I recommend a single pass with killdisk for simple protection, or if you're selling to a techie or really worried about the data, run dban several times :)

In addition, check the post here, specifically the section regarding "Zero Fill a Hard Disk", which points to free software provided by the hard drive manufacturer.
 
Last edited:
You do realize the data is magnetic, right? I suspect sandpaper doesn't distort the magnetic fields.

It would destroy the coating on the platter, which would destroy the data. Though it sounds to me like the OP wants to actually keep the drive usable. So another vote from me for DBAN. Though I use the PRNG Stream Method.
 
right click on drive and select format. free and easy there is software out there that may do better. free is still good. if you have an install disc you can delete/format the drives that way too. Just stop the install process when computer restarts after deleting partitions and formatting.

Most of the above posts are correct all over the place (excepting the one about "format").

Actually, if the OP is using Windows Vista or better, flmatter is correct.

Quote from About.com PC support pages:

Format
The format command has had a /p option since Windows Vista which acts as a basic data sanitization tool, performing a write zero on each sector of the drive as often as you specify (e.g. format /p:8 for eight full write-zero passes). In fact, the /p option is assumed unless you perform a "quick format" using the /q option.
In Windows 8, however, the functionality of the /p switch has changed in an important way. In Windows 8, any number specified is in addition to a given single write zero pass. Furthermore, each additional pass overwrites with a random number. So while format /p:2 in Windows 7 would overwrite the entire drive with zeroes twice, the same command executed in Windows 8 will overwrite the entire drive with zeroes once, then again with a random number, then again with a different random number, for a total of three passes.

Screen shot of Windows 8.1 "format /?"
formatcmd.png
 
if he want´s to sale the rig why make such work installing windows to use format or other application ?
and from within windows formating main drive ? dooh

all other will lead to attach 2nd hdd with windows or plug that drive into other PC

just use simple ubuntu live cd ......
 
if he want´s to sale the rig why make such work installing windows to use format or other application ?
and from within windows formating main drive ? dooh

all other will lead to attach 2nd hdd with windows or plug that drive into other PC

just use simple ubuntu live cd ......

He should be able to run the format option from a Windows install cd.........

AANND maybe not. Seems you may have to be in the install process to get to the command prompt. I'd just use a DaRT disk to do it, though I'm sure many people haven't taken the time to make one.
 
Last edited:
In addition, check the post here, specifically the section regarding "Zero Fill a Hard Disk", which points to free software provided by the hard drive manufacturer.
Actually, if the OP is using Windows Vista or better, flmatter is correct.

Quote from About.com PC support pages:



Screen shot of Windows 8.1 "format /?"
Thanks for the info, didn't know that :) Altho, the paranoid in me says "The NSA is in everything M$ does. Are they really writing random, or a pre-generated set of data that an encryption key will reverse?"
 
if he want´s to sale the rig why make such work installing windows to use format or other application ?
and from within windows formating main drive ? dooh

all other will lead to attach 2nd hdd with windows or plug that drive into other PC

just use simple ubuntu live cd ......

Yes, I don't believe you can format the system drive from within windows.
If you have a need to wipe the system drive... they would need to make a system repair disk; or ,as known in windows 8/8.1, a system recovery disk.
As far as I understand, windows 8 can make a DVD or a USB drive system recovery; however, Windows 8.1 can only make a USB drive one.
But, you can, also, use the 8/8.1 install disks to boot into the repair options. (if you have them or obtain the ISOs and create them)
They can boot to any of those options and use the command prompt with the proper format command and attributes to format and over-write any drive.
 
+1 to Secure Erase.

However, if you are selling the PC without an operating system, why not sell it without the drives entirely?

The new owner will need to install an OS, and a new HDD or SSD is not exactly prohibitively expensive these days...
 
I like to do just a simple 1 pass. Whether you're in Windows or Linux there is a tool to do it built-in and if someone was going to pay for the services needed to recover data after one pass, they could just give me that money and I'll give them the drive intact. That'll save the buyer some time and net me a few thousand dollars.
 
I went over them with boot and nuke 3 pass
 
Back
Top