● UK tech experts · info@vividrepairs.co.uk
Vivid Repairs
A Windows 11 laptop on a clean desk showing the Reset this PC settings screen with Remove Everything option highlighted
Fix It Yourself · Troubleshooting

Wipe Windows PC Completely: Every Method That Actually Works

Published 16 October 202612 min read
As an Amazon Associate, we may earn from qualifying purchases. Our ranking is independent.

Selling a laptop, recovering from a nasty malware infection, or just fed up with years of software junk piling up? Knowing how to properly wipe a Windows PC is one of those skills that saves you a lot of grief. Get it wrong and you either leave personal data sitting there for the next owner to find, or you spend an afternoon clicking through the wrong menus wondering why nothing looks any different. This guide covers every method, from the quick built-in reset to a proper sector-level wipe with DiskPart, so you can pick the right one for your situation.

Why You Might Need to Wipe a Windows PC

The most common reason we see in remote support is selling or gifting a device. People hand over a laptop with every password, browser history, and personal photo still on it, and the buyer gets far more than they paid for. A basic delete or even a quick format does not cut it. Files deleted through Windows Explorer are not gone. They are just marked as available space, and any half-decent recovery tool will pull them back in minutes.

Malware is the other big one. Some infections, particularly rootkits and certain trojans, embed themselves deep enough that antivirus software cannot fully clean them. At that point, the only reliable fix is to wipe Windows PC storage completely and reinstall from scratch. If you have been dealing with something persistent that keeps coming back, our malware removal guide is a good first check, but if the infection has compromised system files, a full wipe is often the faster route.

Performance is another driver. A PC that has had software installed, removed, and reinstalled over several years accumulates a surprising amount of junk: orphaned registry entries, leftover service processes, conflicting drivers. Sometimes a fresh start genuinely is the quickest fix. And occasionally people just want to upgrade to a clean Windows 11 installation without carrying over years of accumulated settings from Windows 10.

Here is the thing: the method you choose matters a lot depending on your reason. Wiping for performance just needs a standard reset. Wiping before disposal needs the secure erase option. Wiping because of malware might need a full clean install from external media to avoid using potentially compromised recovery files. Each situation has the right tool, and using the wrong one wastes time or leaves you exposed.

Quick routeStart here

Wipe Windows PC: Quick Fix with Reset this PC

This is the right starting point for most people. It takes about 15 to 30 minutes (longer if you pick the clean the drive option, which you should for any device leaving your hands), and you do not need any external tools or USB drives. The whole thing runs from within Windows itself.

1

Reset this PC with Remove Everything Easy

  1. Open Settings
    Press Windows + I to open Settings. On Windows 11, go to System then Recovery. On Windows 10, go to Update and Security then Recovery.
  2. Click Reset this PC
    Under Recovery options, click the Reset PC button. A window will appear asking what you want to keep.
  3. Choose Remove everything
    Select Remove everything. This deletes all personal files, installed apps, and settings. Do not choose Keep my files if you want a proper wipe.
  4. Select Cloud download
    When asked how to reinstall Windows, choose Cloud download. This pulls a fresh image directly from Microsoft. It uses around 4GB of data but is the safer choice, especially if your system files might be damaged.
  5. Enable clean the drive
    On the next screen, look for an option about data removal or additional settings. Select the option to clean the drive. This overwrites the data rather than just marking it deleted, which makes recovery much harder. It adds time but is non-negotiable before selling.
  6. Confirm and start
    Review the summary screen, plug the PC into power (laptops especially), and click Reset. The PC will restart and run through the process automatically. Do not turn it off mid-way.
When complete, Windows will boot into the out-of-box setup screen with no previous files, apps, or accounts present. The wipe worked.
Your Windows digital licence is tied to the hardware, not your user account. After reset, Windows will reactivate automatically on the same machine. You do not need a product key.

One thing people miss: by default, Reset this PC only targets the system drive (usually C:). If you have a second internal drive with personal files on it, those are not touched unless you specifically see and select an option to clean all drives. Check this before handing the device over. If you only see the option for the system drive and you have a secondary drive, you will need to wipe that separately using Disk Management or DiskPart.

Microsoft's own documentation on resetting your PC covers the process in detail if you want the official walkthrough alongside this one.

Intermediate routeKeep going if needed

More Ways to Wipe a Windows PC: Intermediate Options

Sometimes the standard reset does not work. Maybe Windows is too corrupted to get into Settings, or the reset process itself fails partway through. Maybe you want the extra confidence of booting into the Windows Recovery Environment rather than running the reset from within a potentially compromised OS. These options cover those situations.

2

Reset from Windows Recovery Environment (WinRE) Medium

  1. Boot into WinRE
    Hold Shift and click Restart from the Start menu or the login screen. Alternatively, if Windows will not load, power the PC off and on three times in a row during the boot logo. Windows will automatically enter recovery mode after repeated failed boots.
  2. Navigate to Reset this PC
    From the blue recovery screen, go to Troubleshoot then Reset this PC.
  3. Choose Remove everything
    Select Remove everything, then pick Cloud download or Local reinstall. Cloud download is preferable here since you are already in recovery and local files may be dodgy.
  4. Enable clean the drive and confirm
    Select the clean the drive option when offered, confirm, and let the process run. WinRE handles the rest without needing Windows to be fully functional.
The PC will reboot into a fresh Windows installation. No previous user accounts or files will be present.
3

Clean Install from Windows USB Media Medium

  1. Create installation media
    On another PC, download the Windows 11 Media Creation Tool from Microsoft and create a bootable USB drive (8GB minimum).
  2. Boot from USB
    Plug the USB into the target PC, restart, and enter the boot menu (usually F12, F11, or Esc depending on the manufacturer). Select the USB drive.
  3. Delete existing partitions during setup
    When you reach the disk selection screen during Windows setup, click each existing partition on the system drive and delete it. You will be left with unallocated space. Install Windows to that unallocated space. This is a proper clean install with no leftover recovery partition data.
  4. Complete setup
    Follow the on-screen prompts to finish installing Windows. The result is a completely fresh system with no trace of the previous installation.
Windows installs cleanly to unallocated space. No previous partitions, files, or accounts remain on the drive.
Deleting partitions during setup is irreversible. Double-check you are selecting the correct disk before deleting anything, especially if the PC has multiple drives.

The clean install from USB is particularly good if you are dealing with a machine that has been badly infected. Running the reset from within Windows, or even from WinRE, still uses components that live on the same drive. Booting from external media means you are starting from a completely separate, known-good source. HowToGeek have a solid explainer on why a full reinstall beats trying to clean an infected PC, and it is worth a read if you are on the fence.

If the infection turned out to be ransomware rather than a standard virus, the approach changes slightly. See our ransomware removal guide for the specific steps, since paying or not paying affects what you do with the drive before wiping.

Advanced routeChange one thing at a time

Advanced: Secure Erase with DiskPart Before Disposal

Reset this PC with clean the drive is good enough for most situations. But if you want the closest thing to a proper secure erase using only tools built into Windows, DiskPart's clean all command is what you want. It overwrites every sector on the selected disk, not just the ones marked as used. For HDDs this is very effective. For SSDs, the result depends partly on the SSD controller and wear-levelling behaviour, but it still makes recovery significantly harder than a standard wipe.

This is the method to use when you are disposing of a drive, selling a PC to someone you do not know, or handing equipment back to an employer. It takes longer, sometimes much longer on large HDDs (a 2TB spinning disk can take several hours), but the thoroughness is the point.

4

DiskPart clean all: Full Sector Wipe Advanced

  1. Boot from Windows installation media
    Use the USB you created in Solution 3. Boot from it and when the Windows setup screen appears, press Shift + F10 (or Shift + Fn + F10 on some laptops) to open a Command Prompt window.
  2. Open DiskPart
    Type diskpart and press Enter. Then type list disk and press Enter. You will see a numbered list of all connected disks. Note the sizes carefully to identify which disk is which.
  3. Select the correct disk
    Type select disk X where X is the number of the disk you want to wipe. The prompt will confirm which disk is now selected. Double-check this. Selecting the wrong disk and running clean all on it is not recoverable.
  4. Run clean all
    Type clean all and press Enter. The command will start overwriting every sector. For SSDs this might take 20 to 40 minutes. For large HDDs, budget several hours. Do not close the window or power off the machine.
  5. Repeat for additional drives if needed
    If the PC has a second internal drive, type list disk again, select the other disk number, and run clean all again.
  6. Continue with Windows installation
    Type exit to leave DiskPart, then close the Command Prompt and continue with the Windows setup if you are reinstalling. At the disk selection screen, the drive will show as unallocated space ready for a fresh install.
DiskPart clean all completes with no errors. The disk shows as unallocated in Windows setup. All previous data is gone.
clean all is completely irreversible. There is no undo. Verify the disk number from list disk before running the command. A mistake here cannot be fixed.

For non-system drives (a secondary HDD or SSD that Windows is not installed on), you can run DiskPart from within Windows without needing a USB. Search for cmd, right-click Command Prompt, choose Run as administrator, then follow the same diskpart, list disk, select disk X, clean all sequence. The Microsoft documentation for DiskPart commands covers every available option if you need to go further.

One thing that catches people out: after clean all, the drive has no partition table and no file system. If you want to reuse it rather than reinstall Windows to it, you will need to open Disk Management (right-click the Start button, choose Disk Management), right-click the unallocated space, create a new simple volume, and format it. Windows will then be able to use it normally.

Preventing the Need to Wipe Windows PC in a Hurry

Most emergency wipes happen because something was not caught early enough. A malware infection that could have been removed at the browser-redirect stage turns into a rootkit situation three weeks later because the antivirus was out of date or ignored. Keeping Windows Defender updated and running regular scans costs nothing and catches the majority of threats before they dig in. If you want third-party coverage, check the independent test results at AV-TEST before picking a product. The top performers change, so current data matters more than brand reputation.

Back up your files before you need to wipe. This sounds obvious but it is the thing people always forget until the reset has already started. Keep a copy of personal files on an external drive or cloud storage. If your data is backed up, a wipe goes from being a stressful emergency to a minor inconvenience that takes an afternoon.

Keep data on a separate drive or partition from Windows where possible. If your documents, photos, and downloads live on D: rather than C:, you can wipe the system drive without touching your personal files at all. It is a simple habit that makes future resets much less painful.

Before wiping, write down which apps you use and check that you have the licence keys or login details for anything that needs reactivating. Windows keeps its own licence tied to the hardware, so that is fine. But things like Adobe Creative Cloud, Microsoft 365, or specialist software may need reactivating or reinstalling from scratch, and you will want the account details ready. Also note any custom drivers, especially for printers or specialist hardware, since reset removes those too. Our guide on backing up Windows before a reset covers exactly what to save and where.

Wipe Windows PC: Summary

To wipe a Windows PC properly, the method depends on what you are trying to achieve. For a quick fresh start, Reset this PC with Remove everything from Settings does the job in under an hour. For selling or recycling, always add the clean the drive option so previous files cannot be easily recovered. For a proper secure erase before disposal, DiskPart clean all overwrites every sector and is the most thorough option available without third-party tools. And if Windows itself is too broken to get into Settings, boot from a USB and either use WinRE or do a full clean install by deleting partitions during setup. Whichever route you take, make sure your data is backed up first, because there is no coming back from a completed wipe.

Frequently Asked Questions

No. Reset this PC with Remove everything wipes your files, apps and settings but keeps your Windows edition and digital licence tied to the hardware. You will go through the out-of-box setup again but Windows will activate automatically on the same machine.

By default it targets the system drive (C:). During the reset process you may be offered the option to clean all drives. If you only see the option for the system drive, other internal drives are left untouched unless you wipe them separately with DiskPart.

Keep my files reinstalls Windows and removes apps and settings but leaves your personal files in place. Remove everything deletes all files, apps and settings. For selling or recycling a PC, always choose Remove everything.

Cloud download pulls a fresh Windows image directly from Microsoft, which is the better choice if system files are corrupted or you suspect the local recovery partition has been tampered with. Local reinstall is faster but depends on the integrity of recovery files already on the drive.

Practically speaking, no. DiskPart clean all overwrites every sector on the selected disk, which is designed to make standard recovery tools ineffective. Standard Reset this PC without the clean the drive option is easier to recover from with specialist software, which is exactly why you should use clean the drive or clean all before disposal.