I built a gaming PC with both a hard disk drive and a solid-state drive, and I'm planning to sell the entire system. I'd prefer to leave both drives installed because it makes the computer more valuable, and I'd like to leave Windows ready for the buyer. What's the easiest reliable way to remove all of my personal data from both drives so it can't reasonably be recovered?
4 Answers
A normal Windows reset or reinstall removes your files from the operating system, but it doesn’t necessarily overwrite all of the old data. For the HDD, boot from Windows installation media, open the recovery Command Prompt, use DiskPart, carefully select the correct drive, and run `clean all`. That writes zeros across the disk, although it can take several hours. Afterward, reinstall Windows from the USB if you want the computer ready to use.
If the data is especially sensitive, the simplest and most dependable option is to remove the original drives and sell the PC with inexpensive replacement storage. Otherwise, use the HDD’s full overwrite method and the SSD’s Secure Erase or Sanitize function before installing a clean copy of Windows.
Windows 11’s Reset this PC feature with “Remove everything” is convenient and can reinstall Windows, but choose the option that cleans the drive if it’s offered. It’s generally adequate for ordinary personal data, though it’s less definitive than using Secure Erase for an SSD and a full overwrite for an HDD. Also make sure files stored on any secondary drive are included.
That makes sense. I’ll check both drives separately instead of assuming the Windows reset handles everything.
For the SSD, don’t use repeated overwrite passes like you would on a hard drive. SSDs use wear-leveling, so some old blocks may not be overwritten normally. Use the drive manufacturer’s Secure Erase or Sanitize utility, or the equivalent secure-erase option in the motherboard firmware. Then perform a fresh Windows installation.
The exact menu depends on the SSD and motherboard, but the manufacturer’s utility is usually the safest way to find the correct secure-erase feature.

Be extremely careful with DiskPart—`clean all` permanently destroys the selected drive, so verify the disk number and back up anything you still need first.