Wiping a drive before selling, donating, or recycling a computer is not paranoia — free recovery software can pull back "deleted" files in minutes. The right wipe method depends on the drive type (SSD vs HDD) and whether the drive is still in a working system. Here is every method you need, matched to your situation.
What changed in 2026
- SSDs are now the norm — the overwrite-based tools designed for spinning disks (DBAN, older DoD methods) do not reliably erase all flash cells due to wear leveling. The correct SSD approach changed and matters more now.
- Windows 11 "Reset and Clean" became more reliable and is now the recommended method for most home users selling a Windows laptop.
- NVMe drives require manufacturer tools or specific NVMe commands — DBAN never worked on NVMe, and that is still true.
- Self-encrypting drives (SEDs) make secure erase trivial if enabled — a crypto key wipe renders the data permanently unreadable instantly.
Know your drive type first
| Drive type |
Recommended method |
| SATA SSD |
ATA Secure Erase or manufacturer tool |
| NVMe SSD |
NVMe Format command or manufacturer tool |
| SATA HDD |
Single-pass overwrite (DBAN/Nwipe or zeros) |
| External USB HDD |
Nwipe from live USB, or cipher /w on Windows |
| Self-encrypting drive |
Crypto erase (instant, most secure) |
Method 1 — Windows 11 "Reset this PC" (easiest for Windows drives)
Best for: selling or donating a Windows laptop/desktop while keeping the drive in the machine.
- Go to Settings → System → Recovery → Reset this PC.
- Choose Remove everything.
- Choose Local reinstall (does not need internet).
- Choose Change settings and enable "Clean the drive" (this is the critical step — it writes over user data).
- Click Reset.
This reinstalls Windows and overwrites the data partition. Suitable for all drive types. Takes 1–3 hours.
Method 2 — Manufacturer secure erase (SSDs)
Every major SSD manufacturer provides a free tool:
- Samsung Magician — for Samsung SSDs (860, 870, 970, 990, etc.)
- Crucial Storage Executive — for Crucial/Micron SSDs
- Kingston SSD Manager — for Kingston drives
- WD Dashboard — for WD and SanDisk SSDs
These run ATA Secure Erase or NVMe Format internally, resetting every cell to factory state. Fastest and most thorough for SSDs.
Method 3 — DBAN / Nwipe from live USB (HDDs)
Best for: wiping the OS drive on a machine you cannot erase from within Windows, or wiping multiple HDDs.
- Download Nwipe (modern DBAN successor) ISO or a Clonezilla/SystemRescue live USB.
- Flash to USB with Balena Etcher.
- Boot from USB.
- Select the drive(s), choose PRNG Stream or DoD Short (1 pass of zeros is sufficient for modern drives).
- Start the wipe. 1 TB HDD takes ~1–3 hours.
Note: DBAN/Nwipe does NOT work on NVMe drives. Use Method 2 for NVMe.
Method 4 — Command line (advanced)
Linux/macOS (HDD):
sudo dd if=/dev/zero of=/dev/sdX bs=1M status=progress
Linux (ATA Secure Erase for SSD):
sudo hdparm -I /dev/sdX # check if supported
sudo hdparm --security-set-pass NULL /dev/sdX
sudo hdparm --security-erase NULL /dev/sdX
Windows (HDD overwrite):
cipher /w:C:\
(Overwrites free space only — use "Reset this PC" for the full drive.)
How to pick the right method
- Selling a Windows laptop? → Method 1 (Reset this PC with Clean the drive).
- Wiping an SSD to reuse or sell separately? → Method 2 (manufacturer tool).
- Wiping an HDD that was an OS drive? → Method 3 (Nwipe from USB).
- Wiping an external HDD? → Method 3 or
dd on Linux/Mac.
- Corporate/compliance requirements? → Method 2 with a wipe certificate from the manufacturer tool.
Common mistakes
Treating SSDs like HDDs. Running DBAN on an SSD may not erase all cells due to wear leveling reservoirs. Always use ATA Secure Erase or the manufacturer tool.
Just reformatting the drive. A standard format only removes the file allocation table. Every file is still on the disk and trivially recoverable.
Forgetting the recovery partition. Windows Reset erases the main partition; if you are using dd or DBAN on an HDD, wipe the entire disk, not just partition 1.
Not verifying the wipe. After an SSD secure erase, a quick scan with Recuva or TestDisk should show nothing recoverable. Takes 5 minutes and gives peace of mind.
What to skip
- 7-pass and 35-pass overwrites (Gutmann method) — designed for 1990s drives. One pass is sufficient for modern HDDs; for SSDs it adds wear with no security benefit.
- Physical destruction for most cases — unless the data is genuinely classified, a software wipe is sufficient and keeps the hardware recyclable.
- "Quick Format" and assuming it is secure — it is not. Always use one of the methods above.
FAQ
Does Windows Reset with "Clean the drive" work on SSDs?
Yes — Windows issues the appropriate commands for the drive type, including NVMe Format on NVMe drives. It is a safe, effective choice.
How do I wipe a drive that is not recognized by the OS?
Boot from a live Linux USB (SystemRescue or Ubuntu). The drive should appear in lsblk. Use dd or nwipe from there.
Is physical destruction necessary?
Only for drives with extremely sensitive data (medical, financial, classified). For personal use, a verified software wipe is sufficient.
Can I wipe a drive while it has Windows on it?
No — the OS drive cannot erase itself while running. Boot from USB (Nwipe/live Linux) or use Windows Reset from within Windows settings, which handles this correctly.
Where to go next