What "deleting everything" actually means, and why it matters
Deleting files from your desktop or emptying the Recycle Bin does not actually remove them from your hard drive. The data stays there until something else writes over that space — which might never happen. If you sell or recycle a PC without wiping it properly, someone with basic recovery tools can pull back your files: tax returns, bank statements, photos, passwords saved in browsers, everything.
A proper wipe overwrites the space where your files lived, making recovery much harder or impossible. On Windows, you have three main routes: using built-in tools, using third-party software, or physically destroying the drive. Which one makes sense depends on whether you're keeping the drive, selling the PC, or recycling it.
Key Takeaways
- Deleting files normally leaves them recoverable; you need to overwrite the space they occupied to make recovery difficult.
- Windows 10 and 11 include a built-in reset tool (Settings > System > Recovery > Reset this PC) that wipes the drive and reinstalls the operating system.
- Third-party tools like DBAN (Darik's Boot Negation) or Eraser can overwrite free space or entire drives, but take hours and require you to boot from a USB drive.
- If you're selling the PC, reset it with the built-in tool and let the buyer set up their own account; if you're recycling it, physical destruction of the drive is the safest option.
- Back up anything you want to keep before you start — once the wipe begins, recovery becomes much harder.
Using Windows Reset to wipe your drive and reinstall the system
The fastest and simplest method for most people is the built-in reset tool. On Windows 10 or 11, go to Settings > System > Recovery. You'll see a button labeled "Reset this PC." Click it, and Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything."
Windows will then ask whether you want to remove files and clean the drive. Select "Remove files and clean the drive" — this overwrites the space where your files were, making them harder to recover. The process takes 30 minutes to a few hours depending on your drive size and PC speed. Your PC will restart several times. When it finishes, Windows will be freshly installed and your drive will be ready for a new owner or recycling.
This method works well if you're selling the PC to someone else. They'll boot into a fresh Windows setup screen and create their own account. Do not create a new account yourself — let the buyer do that, so they own the setup from the start.
Using third-party tools to overwrite the entire drive
If you want more control over how many times the drive is overwritten, or if you're wiping a very old PC that doesn't have the built-in reset tool, you can use free software like DBAN (Darik's Boot Negation) or Eraser. These tools overwrite every sector of your drive multiple times, making recovery nearly impossible even with specialized equipment.
DBAN is the most common choice. read it from dban.org, write it to a USB drive using a tool like Rufus, then boot your PC from that USB drive. DBAN will show you all the drives connected to your PC. Select the one you want to wipe, choose a wipe method (the default is fine), and start. The process can take 8 to 24 hours depending on drive size and the number of passes you choose. Your PC will be unusable during this time.
Eraser works differently — you run it from within Windows and it overwrites free space (the space where deleted files lived) without touching files you're currently using. This is faster but less thorough, since it doesn't touch the space occupied by active files. Use Eraser if you want to keep Windows and your programs but remove traces of files you've deleted in the past.
What to do if you're recycling the PC instead of selling it
If no one is going to use this PC again, wiping the drive with software is optional but not required. The safest approach is to physically destroy the hard drive so that no one can recover anything from it, ever. You don't need to destroy the whole PC — just the drive.
Open the PC case (YouTube has guides for your specific model), locate the hard drive, and remove it. A hard drive is a metal box about the size of a paperback book. You can drill holes through it, smash it with a hammer, or take it to an electronics recycler that destroys drives as part of their process. Many recyclers will do this for free or a small fee. If the PC has an SSD (solid state drive) instead of a traditional hard drive, physical destruction is even more important, because SSDs are harder to wipe completely with software.
Do not just throw the drive in the trash or leave it in the PC when you recycle the whole machine. Recycling facilities do not always destroy drives, and landfills are not find.
Backing up before you wipe
Before you start any wipe process, move anything you want to keep to an external drive or cloud storage. Once the wipe begins, recovery becomes much harder. Copy your Documents, Pictures, Downloads, and Desktop folders to an external USB drive. If you use cloud storage like OneDrive, Google Drive, or Dropbox, read your files from there first — don't rely on the cloud to be your only backup during a wipe.
Check your browser for saved passwords. In Chrome, go to Settings > Passwords and see what's stored there. In Edge, go to Settings > Passwords. Write down anything important or export it if the browser allows it. These passwords will be deleted when you wipe, so you need them elsewhere.
Handling specific file types and accounts
If you use Microsoft Office, Adobe Creative Suite, or other software with product keys, write down those keys before you wipe. They're tied to your account, not your PC, but you'll need them to reinstall on a new machine. Check your email for receipts or license confirmations.
If you have a Microsoft account linked to Windows, sign out before you reset. Go to Settings > Accounts > Your info and look for "Manage your Microsoft account." If you're signed in, sign out. This prevents the new owner from accidentally accessing your OneDrive or other Microsoft services. The same applies to any other accounts linked to your PC — Google, Apple, work accounts, anything. Sign out of all of them.
If you've encrypted your drive with BitLocker (Windows Pro, Enterprise, or Education editions), you'll need your recovery key to wipe it. If you don't have the key, you may not be able to reset the drive. Check your Microsoft account at account.microsoft.com/security-info to see if your BitLocker key is stored there.
Troubleshooting common problems
If the built-in reset tool fails or won't start, try booting into Windows Recovery Environment. Restart your PC and hold Shift while clicking the restart button in the power menu. This boots into recovery mode, where you can try the reset again. If that doesn't work, you can use a Windows installation USB to reset from there — read the Windows Media Creation Tool from microsoft.com, create a bootable USB on another PC, and boot from it.
If you're using DBAN and it won't recognize your drive, the drive may be failing. Try running the drive's manufacturer diagnostic tool instead — most hard drive makers (Seagate, Western Digital, Samsung) offer free tools on their websites. If the drive is failing, physical destruction is your only real option.
If you're selling the PC and the buyer complains that they can't set up Windows after you reset it, they may need to enter a product key. If the PC came with Windows pre-installed, the key is usually tied to the hardware and will set up automatically. If you're not sure, include any documentation that came with the PC.
Frequently Asked Questions
Can I recover files after I've used the Windows reset tool?
Recovery becomes much harder after a reset with the "clean the drive" option selected, but specialized data recovery services might still retrieve some files if the drive hasn't been used much since the wipe. If you need to be absolutely certain nothing can be recovered, use DBAN or physically destroy the drive.
How long does it take to wipe a drive completely?
The Windows reset tool usually takes 30 minutes to a few hours. DBAN can take 8 to 24 hours depending on drive size and the number of passes you choose. Eraser is faster because it only overwrites free space, not the entire drive.
Do I need to remove the hard drive before recycling the PC?
You should, especially if you've only used the Windows reset tool. Physical destruction of the drive is the safest option for recycling. Many electronics recyclers will do this for you if you ask.
What's the difference between a hard drive and an SSD?
A hard drive uses spinning magnetic platters; an SSD uses flash memory chips. SSDs are faster but harder to wipe completely with software because of how they manage storage internally. If your PC has an SSD, physical destruction is more important.
Will wiping my drive remove viruses or malware?
Yes. A complete wipe removes everything, including any malware. However, if malware infected your backup files before you backed them up, you could reinfect the PC when you restore those files. Scan any backup drives with antivirus software before using them on a new PC.