sodcalculator

10 Tech How-To

How to Wipe All Data from PC: Full Guide

Guide 10-57109 · Updated · Step by step

Wiping all data from your PC ensures that personal files, passwords, and other sensitive information cannot be recovered. This guide covers the two main scenarios: wiping a PC you plan to keep (reinstalling Windows) and wiping one you plan to sell, donate, or recycle (secure erase). You’ll need a Windows installation USB drive or access to recovery options, and optionally a tool for secure data destruction.

What You’ll Need

  • Backup of any files you want to keep (external drive or cloud storage)
  • Windows installation media (USB or DVD) – if you need to reinstall Windows
  • Another computer to create the installation media (if you don’t have it)
  • Optional: a third-party secure erase tool (like DBAN or Eraser) if you want military-grade data destruction
  • Product key for Windows (often embedded in firmware, but keep it handy)

Step-by-Step

Scenario A: Wiping PC and Reinstalling Windows (Keep the PC)

  1. Back up your data. Copy important files, photos, documents, and browser bookmarks to an external drive or cloud storage. Verify the backups are accessible before proceeding.
  2. Create Windows installation media. On another computer, go to Microsoft’s software download page and download the Media Creation Tool. Run it, choose “Create installation media for another PC,” and select your USB drive (at least 8GB). The tool will download Windows and make the USB bootable.
  3. Restart your PC and boot from the USB. Insert the USB, restart, and press the boot menu key (often F12, F2, Esc, or Del) during startup. Select the USB drive from the boot menu.
  4. Start Windows Setup. When the Windows logo appears, choose your language and click “Next,” then “Install now.”
  5. Choose custom installation. When asked for the installation type, select “Custom: Install Windows only (advanced).”
  6. Delete all partitions. You’ll see a list of partitions on your drives. For each partition, select it and click “Delete.” Repeat until the drive shows “Unallocated Space.” This removes all data and the old system files.
  7. Install Windows on the unallocated space. Select the unallocated space and click “Next.” Windows will create necessary partitions and install. Follow the on-screen prompts to set up your new system.

Scenario B: Wiping PC Before Selling or Recycling (Secure Erase)

  1. Back up your data. Same as above – copy everything you need to an external drive or cloud.
  2. Create a secure erase bootable USB. On another computer, download a tool like DBAN (Darik’s Boot and Nuke) or use the built-in Windows “Reset this PC” with the “Remove files and clean the drive” option. For a bootable tool, download the ISO and use a tool like Rufus to write it to a USB.
  3. Boot from the secure erase USB. Restart your PC, press the boot menu key, and select the USB.
  4. Follow the tool’s instructions. For DBAN, select “Autonuke” to wipe all drives, or choose the specific drive and method (e.g., DoD Short). This will overwrite the entire drive with random data multiple times, making recovery virtually impossible.
  5. Wait for the process to finish. This can take hours depending on drive size and method. Once done, the drive will be blank or show as unallocated.
  6. Optionally reinstall Windows. If you’re selling the PC, you might want to install a fresh copy of Windows so the buyer can use it immediately. Use the installation USB from Scenario A.

Common Mistakes

  • Not backing up. Forgetting to save files before wiping is the most common and painful mistake. Double-check your backup.
  • Deleting partitions but not wiping the drive. If you just delete partitions during Windows installation, data may still be recoverable with special software. For sensitive data, use a secure erase method.
  • Choosing “Reset this PC” without the “clean drive” option. The standard reset doesn’t overwrite all data; it just removes files. Select “Remove everything” and then “Change settings” to turn on “Clean data?” for a more thorough wipe.
  • Wiping the wrong drive. If you have multiple drives, make sure you select the correct one. Double-check the drive letter and size before proceeding.
  • Forgetting to disable BitLocker. If your drive is encrypted with BitLocker, you need to decrypt it first or have the recovery key, otherwise the wipe may fail or the data might not be fully erased.

Tips

  • Use a secure erase for sensitive data. If you’ve had financial documents, medical records, or other sensitive info, use a tool like DBAN or the Windows “clean drive” option.
  • Physically destroy the drive for maximum security. If the PC is going to be recycled and you don’t need the drive, you can remove it and physically destroy it (drill holes, smash) – this is the only 100% guaranteed method.
  • Check the drive health. Before wiping, run a disk check (chkdsk) to ensure there are no errors that might cause the wipe to fail.
  • Keep the PC plugged in. If it’s a laptop, make sure it’s plugged into power during the wipe to avoid shutdown mid-process.
  • Use a wired keyboard/mouse. During boot and setup, wireless peripherals might not work until drivers are loaded.

Troubleshooting

  • PC won’t boot from USB. Check the boot order in BIOS/UEFI (press F2/Del during startup). Enable “Legacy Boot” or “CSM” if your USB isn’t recognized in UEFI mode. Try a different USB port (preferably USB 2.0).
  • Windows setup says “We couldn’t create a new partition.” This often happens if the drive has a GPT/MBR mismatch. Delete all partitions, then try again. If it persists, open Command Prompt (Shift+F10) and use diskpart to clean the drive: type diskpart, list disk, select disk X (X is your drive number), clean, then exit.
  • Secure erase tool doesn’t see the drive. Some tools don’t support NVMe SSDs. Use the manufacturer’s secure erase tool (e.g., Samsung Magician) or use Windows “Reset this PC” with the clean option.
  • Wipe process freezes or takes too long. It’s normal for a full wipe to take hours. If it’s frozen for more than an hour with no progress, try a different method (e.g., use Windows reset instead).
  • Forgot to back up a file? If you haven’t wiped yet, do it now. If you’ve already wiped, you might try data recovery software (e.g., Recuva) but success is not guaranteed, especially if you used a secure erase.

Frequently Asked Questions

Will wiping my PC remove the operating system?

Yes, wiping removes all data including the OS. You’ll need to reinstall Windows afterward if you plan to use the PC.

Is deleting files and emptying the recycle bin enough?

No, deleted files can often be recovered with data recovery software. To prevent recovery, you need to overwrite the data with a secure erase.

How long does it take to wipe a PC?

It depends on the method and drive size. A simple format might take minutes, while a multi-pass secure erase can take several hours for a 1TB drive.

Can I wipe a PC without a USB drive?

Yes, you can use “Reset this PC” in Windows Settings (Update & Security > Recovery). Choose “Remove everything” and enable the “Clean data” option. This works without external media.

Will wiping my PC remove viruses?

Yes, wiping the drive and reinstalling Windows will remove all software, including viruses and malware. However, some firmware-based malware can survive, but that’s extremely rare.

Do I need to wipe the PC if I’m just giving it to a family member?

Yes, you should still wipe it to protect your personal data. Even family members shouldn’t have access to your passwords and files.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →