I have a couple of old laptops lying around and want to throw them away, but have been cautious to do so because of privacy concerns of data still on the hard drives. What is the best way to wipe them? Or should I take them out and physically destroy them?
They are running windows vista and 10 I think.
Geez at the answers in the thread. Boot off a USB drive with Linux, right click the HD, and simply format the drive. Not a quick format, you may have to unselect that. You’ll know because a quick format will take seconds, a full format will take an hour (depending on the size of course).
Then donate the laptops. Donation place should be able to install Linux. Most people don’t need much laptop.
Hmm, what does that full format do? Write zeros over everything?
Personally, I would run
shred
on the root filesystem. It’s a tool specifically intended for properly deleting data (overwrites it with random data multiple times).Yes.
Even writing 0’s takes hours per TB sometimes. Guess it depends on how much time you have
It took maybe 10 minutes or so for a 256 GB hard drive for me, if I remember correctly.
That was an SSD, though, so yeah, mileage would definitely vary on an HDD.
The only way to completely erase all data beyond recovery is to destroy the disk e.g. snap in half and move a powerful magnet above it.
Use vericrypt to encrypt the drive with a long random password and immediately forget said password
Stop 🛑… Hammer time 🔨🕓🖥️
Or 🧲 or 🪓
💀
The easiest options in order of effectiveness, and how to bypass them:
- Do nothing.
- Reset Windows or erase all files you don’t want to be found. To recover from this you need a specialised piece of software that will recover the files, but not the names or locations, so while the actual data is easily recoverable, the person would need to sieve through most files you’ve had in your PC since forever with no order.
- Zero the disk, my way to do this would be to boot a Linux USB and run for example
dd if=/dev/zero of=/dev/sda
, this will delete EVERYTHING on that disk, including windows, partition table and the bootloader. The way to recover from this involves specific hardware and a sterile lab, unless the authorities are investigating you it’s very unlikely someone will recover from this. - Multiple passes with zeroes and random data, the way I would do this is the same as above but use
/dev/urandom
for theif
parameter, run it multiple times, then run once with zeroes. Theoretically it could be possible for the same lab as before to recover some data if the machine ran out of entropy and didn’t wrote actual random data, and someone could predict the random data and compensate for it on the residual magnetic field, but it’s highly unlikely. Almost no one would be able to recover this, and if someone can they will charge A LOT. - Physical destruction, e.g. drill a hole or smash the disk for an HDD, break the chips for an SSD.
All of that being said, why throw it away? Why not sell it or use it to self-host something cool like a media centre or a steam machine if the laptop is good enough.
Since no one mentioned it: VCR tape eraser.
Basically just an electromagnet that oscillates because it’s running directly from AC current.
With an extension cord you could erase all the hard drives in a computer lab just waving the eraser vaguely where the drives are.
Physical destruction is better though.
That doesn’t work for SSDs though.
I work at an electronics recycling facility and all laptops that are recycled are completely sanitized and properly disposed of as e-waste. Look around for a local recycling center and check for an R-2 certification, if they have one they will take out any identifiers and do passes on drives via a sanitization device to ensure that the whole thing is completely devoid of all data.
This is the correct answer. Give it a format just to be sure then donate it to a recycling center.
If they are Windows and have Bitlocker encrypt the whole drive and throw away the key. If not get Veracrypt for free and encrypt the entire drive. Once the drive is fully encrypted and has no backup key you can just trash it. If this was commercial use I would then send it to a third party to be certified destroyed.
Thanks!!
If you just do the simple one-pass zero-ing out, suggested a few times here, the data is only recoverable in theory. There are labs that do it, but they charge thousands of USD for a drive and giving limited results.
Unless you are being actively targeted by deep pockets, that’s plenty good enough.
And if you do a couple passes (might take a bit but who cares if youre throwing the whole thing out) then in theory even the nsa can’t get in it
Turn on laptop
Hold magnet over where the hdd is
Listen to laptop scream in pain
The only way to be 100% sure is to replace any and all hard drives and destroy the old ones.
Edit: some reason I thought you were selling them not tossing them, there’s no need to replace the hard drives in that case, just remove them and destroy them
Laughing at all the Hollywood shit in this thread. A single pass erase (or ATA Secure Erase, if they are SSDs that support the command) is more than enough. Nobody is going to waste time and money recovering data of unknown provenance from a landfill.
HDDs also support ATA Secure Erase, although it will take a few hours rather than the few minutes it would wirh an SSD.
Yes, unless they are OPAL, in which case it’s done the same way as SSDs: throw away the key.
Smuggle the laptops into the cargo bay of Elon’s next Starship launch.
You’ve said you’re intending to throw these laptops away, so physical destruction is quickest and simplest.
But, if you’re intending to sell or give these away for someone else to use, zeroing each sector is probably ‘good enough’ for your purpose (as someone else has always said).
If you really want to make it harder, you can use something like the Boot and Nuke bootable Linux disk for the job, as it also has the option of multiple passes, using zeroing and/or binary random shit for each sector. Just grab the free for personal use version.
‘zeroing’ every sector is probably ‘good enough’ for mechanical hard drives.
if the laptops are functional:
boot a target laptop to a windows install disk or usb. at the first prompt, hit SHIFT-F10 to open a command window.
diskpart
list disk
select disk 0
(laptop internal drive should be disk 0)clean all
(this will take time. on an older laptop, up to maybe an hour per 250gb of hdd capacity.)exit
power off.
if they’re NOT functional laptops:
remove the hdd (search the make and model at yt for guides), connect to another pc (via usb adapter) or internal inside a dt. boot to that system’s normal windows, run diskpart from an admin command prompt… do the same as above but note that in this case: IT WON’T BE DISK 0 – be sure to ‘select’ the correct disk
if one of them happens to be an ssd. instead of wiping it (this method isn’t for ssd, btw), get an enclosure for it (as little as $8-10) and use it as an external disk.
Very helpful, thanks!