How to Wipe a Hard Drive on Windows 11
In this article
Wiping a hard drive on Windows 11 permanently erases all data, making it unrecoverable by standard means. You can do this using built-in tools like Reset this PC (for the system drive) or Diskpart (for any drive). This guide covers both methods, plus how to securely wipe a secondary drive. Before you start, back up anything you want to keep—wiping is irreversible.
What You'll Need
- A Windows 11 PC (for the built-in methods)
- Administrator access (you'll need to confirm UAC prompts)
- An external backup drive or cloud storage if you need to save files
- For a full system wipe: your Windows 11 installation media (USB or DVD) if you plan to reinstall from scratch, or you can use the recovery environment built into Windows
Step-by-Step
Method 1: Wipe the System Drive (Reset This PC)
- Open Settings (Win + I) and go to System > Recovery.
- Under Recovery options, click Reset PC.
- Choose Remove everything.
- Select Change settings and turn on Clean data? (this overwrites the drive with zeros, making recovery much harder).
- Click Next, then Reset. Windows will restart and begin the wipe. This can take an hour or more depending on drive size.
Method 2: Wipe a Secondary Drive (Data Drive) Using Diskpart
- Back up any files you need from that drive.
- Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”).
- Type
diskpartand press Enter. - Type
list diskto see all drives. Note the disk number of the drive you want to wipe (e.g., Disk 1). Be very careful—selecting the wrong disk will erase the wrong drive. - Type
select disk X(replace X with the correct number). - Type
cleanto remove all partitions and file system structures. This makes data unrecoverable without special tools, but it does not overwrite the data. For a more thorough wipe, useclean allinstead, which overwrites every sector with zeros—this takes much longer. - Type
exitto close Diskpart.
Method 3: Wipe a Drive Using Disk Management (Quick Format)
- Right-click the Start button and select Disk Management.
- Find the drive you want to wipe (check the capacity to confirm).
- Right-click each partition on that drive and select Delete Volume. Confirm any warnings.
- Once the drive shows as “Unallocated”, right-click it and choose New Simple Volume to create a fresh partition, or leave it unallocated if you plan to use it elsewhere.
Common Mistakes
- Selecting the wrong drive—always double-check the disk number and capacity before running
clean. - Not backing up—once wiped, files are gone. Even cloud sync won’t help if you didn’t sync.
- Using “clean” instead of “clean all” when you need to ensure data is unrecoverable. “Clean” only removes partitions; data can still be recovered with forensic tools.
- Forgetting to disable BitLocker—if the drive is encrypted, you’ll need to decrypt it first or use the recovery key. Wiping an encrypted drive without the key is fine if you don’t need the data, but you may be prompted for the key during the process.
Tips
- For a system drive, use Reset this PC with “Clean data” enabled—it’s the safest built-in method.
- If you’re selling or giving away the drive, use
clean all(or a third-party tool like DBAN) to overwrite all sectors. This takes hours, but it’s the only way to be sure. - If the drive is an SSD, consider using the manufacturer’s secure erase tool (e.g., Samsung Magician, Crucial Storage Executive) for a quick and reliable wipe, as SSDs handle overwriting differently.
- After wiping a secondary drive, you can reformat it with a file system like NTFS or exFAT using Disk Management.
Troubleshooting
If Reset this PC fails or hangs: Restart your PC and boot from a Windows 11 installation USB. Choose “Repair your computer” > “Troubleshoot” > “Reset this PC”. If that still fails, use the Command Prompt option from the recovery environment and run diskpart to clean the system drive manually, then reinstall Windows from the USB.
If Diskpart says “Access is denied”: Make sure you’re running Command Prompt as administrator. Also, if the drive is protected (e.g., a system drive), you may need to boot from installation media and use Shift+F10 to open Command Prompt.
If the drive doesn’t appear in Disk Management: Check the physical connection (SATA cable, power). If it’s an external drive, try a different USB port or cable. If it still doesn’t show, it may be dead—try it on another PC.
If the wipe process is extremely slow: That’s normal for clean all on large drives. Be patient. If it seems stuck for more than a few hours, check the drive activity light—if it’s blinking, it’s still working.
Frequently Asked Questions
Will wiping a hard drive make data unrecoverable?
Not necessarily. Using clean only removes the partition table, so data can be recovered with forensic tools. Using clean all or Reset with “Clean data” overwrites the drive with zeros, making recovery practically impossible for most users.
Can I wipe a hard drive without a PC?
You can use a bootable USB with a tool like DBAN (Darik's Boot and Nuke) or a Linux live CD. But the simplest way is to connect the drive to a working PC and use the methods above.
How long does it take to wipe a 1TB drive?
With clean all, expect 2–6 hours depending on the drive speed. With Reset’s “Clean data”, it’s similar. A quick format takes seconds, but it doesn’t securely erase data.
Do I need to wipe an SSD differently?
Yes, SSDs benefit from the manufacturer’s secure erase tool, which resets the drive to its factory state and is much faster than overwriting. Windows’ built-in tools work, but they cause unnecessary write cycles.
Can I wipe only a partition instead of the whole drive?
Yes. In Disk Management, you can delete a single volume. In Diskpart, select the partition and type delete partition. This leaves other partitions intact.
What if I forgot to back up before wiping?
If you haven’t overwritten the data yet, stop using the drive immediately. Use recovery software like Recuva or PhotoRec. If you ran clean all or Reset with “Clean data”, recovery is nearly impossible.