To completely erase a computer before selling it, use Windows’ built-in Reset this PC with “Remove files and clean the drive”—or DBAN for older systems that can’t boot Windows.
One wrong sale sends your old tax returns, saved passwords, and browsing history with the laptop. How to erase a computer properly means making sure nothing readable survives on the drive, and the method you pick determines whether that actually happens. A simple “delete my files” takes minutes but leaves data recoverable with free software. The full wipe takes hours—and that’s exactly why most people skip it and regret it later.
The guide below covers every major operating system and scenario, from a working Windows 11 laptop to a Chromebook to an old PC that no longer boots. Each method includes the exact option names and what to look for on screen, so there’s no guessing.
Erasing A Windows 11 Computer: The Exact Steps That Work
Windows 11’s built-in “Reset this PC” tool with the “Remove files and clean the drive” option is the most secure method for any modern PC. The cleaning pass overwrites the drive sectors, making data recovery extremely difficult—even with forensic tools.
Open Settings (press Win + I) and go to System > Recovery. Click Reset PC near the top of the Recovery page. When the dialog appears, select Remove everything. On the next screen, choose Remove files and clean the drive—this is the critical option that performs the secure wipe. Pick Local reinstall unless you have a fast internet connection and want Windows to download a fresh copy via Cloud download. Confirm the choices and let the process run. The computer will restart several times and eventually boot to the Windows setup screen, confirming the wipe succeeded.
This method works on all Windows 11 machines—Dell, HP, Lenovo, ASUS, and custom builds. Dell’s official reset guide confirms this same sequence for their systems.
Windows 10: The Older Reset Method
Windows 10 offers the same capability, though the toggle is in a slightly different spot. Go to Start > Settings > Update & Security > Recovery. Click Get Started under “Reset this PC,” then select Remove everything. Click Change settings and toggle Data Erasure to On—this activates the cleaning pass. The option reads “Remove files and clean the drive” on the next screen. Click Reset to begin.
The time required depends on the drive size and speed, typically 2 to 5 hours. The computer will be unusable during the process, so run it overnight.
| Method | Best For | Time Required |
|---|---|---|
| Windows 11 Reset (Clean the drive) | Modern Windows 11 PCs | 2–5 hours |
| Windows 10 Reset (Data Erasure On) | Windows 10 PCs | 2–5 hours |
| ChromeOS Powerwash | Chromebooks | 10–15 minutes |
| DBAN (DoD-standard wiping) | Older PCs, any OS, non-booting systems | 4–8 hours |
| Windows Installation Media | PCs that won’t boot normally | 30 minutes + wipe time |
| Third-party eraser tools | Extra verification after built-in methods | Varies by tool |
| Physical drive destruction | End-of-life or damaged drives | 5 minutes |
Wiping A Chromebook With Powerwash
Chromebooks use a different approach called Powerwash. Sign out of the device completely, then press Ctrl + Alt + Shift + R. Select Restart in the dialog that appears. After the reboot, choose Powerwash and then Continue. The Chromebook will reset to factory condition, removing all local data and signed-in accounts. The whole process takes roughly 10–15 minutes.
What About A Computer That Won’t Boot?
When a PC can’t start Windows normally, you need a bootable tool on a USB drive. Two reliable options exist, depending on whether you want to reuse the machine or just destroy the data.
DBAN (Darik’s Boot and Nuke) is the standard for a thorough, non-recoverable wipe. Download the DBAN ISO from the official website and write it to an 8GB or larger USB drive using a tool like Rufus. Boot the computer from the USB—press F12 (or the manufacturer’s boot menu key, which varies by brand) and select the USB drive. At the DBAN interface, press Enter, type autonuke, and press Enter again. The tool runs three rounds of DoD-standard wiping, which takes several hours but leaves nothing recoverable.
Windows Installation Media lets you delete all partitions manually and install a fresh OS. Download the Media Creation Tool from Microsoft’s website and create installation media on an 8GB+ USB drive. Boot from the USB via the BIOS boot menu, select your language, and click Install Now. Skip the license key prompt, choose Custom Install, then delete every partition on the target drive until only “Unallocated Space” remains. Leave it empty for recycling, or click Next to let Windows create new partitions and install a clean system.
How Long Does The Full Wipe Actually Take?
A clean-the-drive reset on a modern 500GB SSD runs about 2–3 hours inside Windows. The same operation on a 1TB hard drive can stretch to 5 hours. DBAN’s three-pass DoD wipe on a similarly sized drive takes 4–8 hours, depending on the drive’s read-write speed. Chromebook Powerwash finishes in under 15 minutes because Chromebooks use encrypted SSDs that only need a key reset—the data was already unreadable without the encryption keys.
Plan the wipe for a time when you don’t need the machine for a full evening or overnight. Interrupting the process can leave the drive in an unusable state.
| Common Mistake | Why It’s Dangerous | The Fix |
|---|---|---|
| Choosing “Just remove my files” | Data is still on the drive and recoverable with free software | Always pick “Remove files and clean the drive” or toggle Data Erasure On |
| Forgetting BitLocker recovery key | Encrypted data may remain readable after reset | Decrypt the drive or remove BitLocker keys before wiping |
| Skipping the file backup | Permanent loss of photos, documents, and important files | Verify backups are complete and readable before starting |
| Not signing out of accounts | Drive stays linked to your Microsoft or Google profile | Sign out of every account and remove device from account portal |
| Using the wrong boot key | Can’t boot from USB to run DBAN or installer | Check the manufacturer’s boot menu key (F12 for Dell, ESC for HP, etc.) |
| Leaving SD cards or external drives connected | Personal data stays on those removable devices | Remove all external storage before starting the wipe |
| Assuming a basic reset wipes securely on older Windows | Older versions didn’t offer a cleaning option—files remain | Use DBAN or a third-party eraser for Windows 8 or earlier |
Pre-Sell Wipe Checklist
Before you hand over the machine, confirm every step is covered:
- Back up anything you want to keep and verify the backup opens correctly.
- Sign out of every account on the device and remove the device from your account’s trusted list.
- Decrypt or manage BitLocker keys if your system uses drive encryption.
- Remove SD cards, external drives, and SIM trays.
- Run the correct method for your OS—Clean the drive for Windows 11, Data Erasure On for Windows 10, Powerwash for Chromebooks, DBAN or partition deletion for non-booting systems.
- Leave the machine running until the process fully completes—the setup screen or a blank drive confirms success.
References & Sources
- Dell Support. “Reset or Reinstall Windows 11 on Your Dell Computer.” Documents the official Reset this PC procedure with Clean the drive option.
- Microsoft TechCommunity. “How to completely wipe a pc 100% before selling it?” Covers DBAN autonuke procedure and BitLocker caveats.
- Consumer Reports. “How to Wipe a Computer Clean of Personal Data.” Includes ChromeOS Powerwash steps and general wipe guidance.
- HP Support. “How to Factory Reset Windows 10 and 11.” Confirms the reset sequence for HP laptops.
- GreenTec. “Remove Files and Clean the Drive: How to Wipe Windows 10.” Details the Data Erasure toggle location in Windows 10.
