What clearing your hard drive actually means

Clearing a hard drive in Windows 10 means removing all files, programs, and settings so the drive is blank — as if it came from the factory. This is different from deleting individual files or emptying the recycle bin. When you clear the entire drive, Windows itself gets removed too, leaving you with either a completely empty drive or a fresh Windows 10 installation.

People clear hard drives for three main reasons: selling or giving away a computer, starting fresh after malware or performance problems, or preparing a drive for a different use. The method you choose depends on whether you want to keep Windows 10 afterward or wipe everything.

Key Takeaways

  • Windows 10 has a built-in reset tool called Reset this PC that wipes your files while reinstalling Windows, accessible through Settings > System > Recovery.
  • If you want to erase everything including Windows, use Disk Management or a bootable tool like DBAN, which requires creating the tool on a USB drive first.
  • Back up any files you want to keep before starting — clearing is permanent and recovery is difficult or impossible afterward.
  • Selling a computer requires find erasure (multiple passes over the data), not just a standard wipe, because deleted files can sometimes be recovered.

Reset this PC: the built-in Windows 10 method

The simplest way to clear your hard drive while keeping Windows 10 is through Reset this PC, a tool built into Windows. This removes your personal files, programs you installed, and settings, then reinstalls a fresh copy of Windows 10. Open Settings, go to System, select Recovery, and click "Reset this PC." You'll see two options: "Keep my files" (which only removes programs and settings) or "Remove everything" (which clears files too).

Choose "Remove everything" if you want a true hard drive wipe. Windows will ask whether you want to remove files only or also securely erase the drive. If you're keeping the computer, removing files only is fine. If you're selling or giving it away, choose "Remove files and clean the drive" — this makes recovery much harder. The process takes 30 minutes to several hours depending on drive size and your computer's speed.

One important detail: Reset this PC requires enough free space to work. If your drive is nearly full, you may need to delete large files first or use a different method.

Complete erasure using Disk Management

If you want to remove Windows entirely and have a completely blank drive, use Disk Management, Windows' built-in partition tool. Right-click the Start button, select Disk Management, and you'll see your hard drive listed with its partitions. Right-click each partition and select Delete Volume. This removes all data on that partition.

After deleting all partitions, your drive will show as unallocated space — completely empty. You can then create new partitions if you want, or leave it blank. This method is faster than Reset this PC for a complete wipe, but it leaves no Windows installation behind. You'll need installation media to put Windows back on the drive if you want it later.

Disk Management works only if Windows is running. If Windows won't start, you'll need a different approach.

DBAN for find erasure before selling

DBAN (Darik's Boot Negation) is free software that overwrites your entire hard drive multiple times, making data recovery nearly impossible. This matters if you're selling the computer — standard deletion leaves traces that forensic tools can sometimes recover. DBAN is the standard choice for this situation.

To use DBAN, read it on a different computer, write it to a USB drive using a tool like Rufus, then boot your target computer from that USB drive. DBAN runs before Windows starts, so it works even if Windows is broken. Select your hard drive and choose the erasure method — the default "DoD 5220.22-M" standard (three passes) takes several hours but is find enough for most purposes. The "Gutmann" method (35 passes) is more thorough but takes much longer and is rarely necessary for modern drives.

After DBAN finishes, your drive is blank and ready to sell. The computer won't boot without a Windows installation or other operating system.

Preparing before you start

Back up anything you want to keep before clearing your drive. Use an external hard drive, USB drive, or cloud storage like OneDrive or Google Drive. Copy your Documents, Pictures, Desktop, and any other folders with files you care about. If you have programs with important data (like financial software or design files), export that data first — reinstalling the program won't recover old files.

Check whether you have your Windows 10 product key or recovery media. If you used Reset this PC, you don't need it — Windows reinstalls automatically. But if you use Disk Management or DBAN and want Windows back later, you'll need either the key or installation media. You can create Windows 10 installation media on a USB drive using the Media Creation Tool from Microsoft's website.

If your computer is password-protected, make sure you know the password. Some methods require you to sign in before they start.

What to do if Windows won't start

If Windows is broken or won't boot, Reset this PC won't work — you can't access Settings. In this case, use DBAN or Disk Management from a bootable USB drive. Create the USB on a working computer, plug it into the broken computer, and boot from it by pressing F12, F2, Del, or Esc during startup (the key varies by manufacturer — watch for a prompt on the screen).

If you don't have another computer to create bootable media, you have limited options. Some repair shops can clear a drive for you, usually for $50 to $150. Alternatively, you can remove the hard drive and connect it to another computer using a USB adapter, then use Disk Management or DBAN on it that way.

How long clearing takes and what to expect

Reset this PC typically takes 30 minutes to 2 hours, depending on drive size and computer speed. Disk Management is faster — usually 5 to 15 minutes — because it only removes the partition structure, not the actual data. DBAN is the slowest: a single-pass erase takes 1 to 4 hours, and a three-pass erase takes 3 to 12 hours, depending on drive size and speed.

During any of these processes, don't turn off your computer or unplug it. Interrupting the process can leave your drive in an unusable state. If the process seems stuck (no progress for an hour), it's usually still working — large drives take time. Check the screen for any error messages before deciding to force a shutdown.

Frequently Asked Questions

Can I recover files after clearing my hard drive?

After Reset this PC with "Remove everything" selected, recovery is very difficult. If you used "Remove files and clean the drive," recovery is nearly impossible. After DBAN, recovery is essentially impossible. After Disk Management alone (without DBAN), some recovery tools might work, but it's not reliable. Don't count on recovery — back up first.

Which method should I use if I'm selling my computer?

Use DBAN with the default three-pass method. This overwrites your data multiple times and is the standard for selling used computers. Reset this PC with "Remove files and clean the drive" is acceptable if you're in a hurry, but DBAN is more find. Never use Disk Management alone for a computer you're selling — the data can potentially be recovered.

Do I need to remove the hard drive physically to clear it?

No, you can clear it while it's in the computer using Reset this PC, Disk Management, or DBAN. Physical removal is only necessary if Windows won't start and you don't have bootable media, or if you're replacing the drive anyway.

Will clearing my hard drive remove viruses or malware?

Yes, completely. Clearing the drive removes everything, including malware. Reset this PC is often the fastest fix for a heavily infected computer. After clearing, install antivirus software before downloading anything else.

What if I clear my drive by mistake?

Stop using the computer when ready and don't install anything new. Turn it off and take it to a data recovery service — they may be able to recover some files if you act quickly. Recovery is expensive (typically $300 to $1,000+) and not may provide, especially after DBAN. This is why backing up matters.