What wiping a PC means and when you need to do it

Wiping a PC means removing all files, programs, and settings from your hard drive or solid-state drive (SSD) and reinstalling Windows from scratch. This is different from a regular restart or factory reset — it erases everything and gives you a blank machine.

You might wipe a PC before selling it, giving it away, or passing it to someone else. You might also wipe it if the system has become slow, infected, or unstable after years of use. A wipe removes malware that antivirus software sometimes misses, clears out thousands of leftover program files, and eliminates user accounts and personal data.

A wipe takes one to three hours depending on your drive speed and which method you choose. You will need a blank USB drive (8 GB or larger) and a working computer to prepare it. After the wipe, Windows will ask you to set up the PC as if it were brand new.

Key Takeaways

  • Wiping a PC erases everything on the drive and reinstalls Windows, which is different from a factory reset that may leave some files behind.
  • You will need a blank USB drive and access to another computer to download Windows installation media before you start.
  • The two main methods are using Windows installation media (works on any PC) or using Settings if Windows still starts (faster but only works on Windows 10 and 11).
  • After wiping, you will need to reinstall your programs and restore your files from a backup if you want to keep them.
  • Wiping removes personal data, so if you are selling or giving away the PC, the new owner cannot recover your files.

Preparing your PC and backing up what you need

Before you wipe, decide what you want to keep. If you have documents, photos, or other files you need, back them up to an external drive, cloud storage, or another computer. Once the wipe is complete, those files will be gone unless you have a copy elsewhere.

Write down any program license keys or passwords you will need after the wipe. Windows will ask you to sign in with a Microsoft account, so make sure you know that password. If you use other programs that require activation codes, find those before you start.

Plug your PC into power and make sure the battery is fully charged if it is a laptop. Do not unplug or restart the machine during the wipe process — interrupting it can leave the drive in an unusable state.

Creating Windows installation media on a USB drive

You will need another computer with internet access to create a bootable USB drive. Go to the Microsoft Windows download page and select "Download Now" under the Windows version you want (Windows 10 or Windows 11). Save the file to your computer.

Insert a blank USB drive (8 GB or larger) into that computer. Open the Windows installation file you just downloaded. It will launch the Media Creation Tool, which walks you through selecting the USB drive and copying Windows to it. This takes 10 to 20 minutes depending on your internet speed.

When the tool finishes, eject the USB drive safely and label it so you know what it contains. Keep it in a safe place — you will use it to restart the PC you are wiping.

Wiping using Windows installation media

This method works on any PC running any version of Windows. Shut down the PC you want to wipe completely. Insert the USB drive you created, then turn the PC back on.

As the PC starts, watch for a message like "Press any key to boot from USB" or "Press F12 to choose boot device." The exact key varies by manufacturer — common ones are F2, F12, Delete, or Escape. Press it immediately and select the USB drive from the menu that appears. If you miss the window, restart and try again.

Windows Setup will load from the USB drive. When it asks where to install Windows, select your main hard drive (usually labeled as the largest drive). Click "Delete" to remove all partitions on that drive, then select the unallocated space and click "Next." Windows will format the drive and install itself, which takes 20 to 40 minutes.

When installation finishes, the PC will restart and ask you to set up Windows — choose your language, create or sign in with a Microsoft account, and set your preferences. You now have a clean PC with no previous files or programs.

Wiping from Windows Settings if the system still starts

If Windows starts normally and you are using Windows 10 or 11, you can wipe without a USB drive. Open Settings, go to System, then select "Recovery." Under "Reset this PC," click "get your free guide."

You will see two options: "Keep my files" and "Remove everything." Choose "Remove everything" to wipe the entire drive. Windows will ask whether you want to remove files securely (slower, more thorough) or quickly (faster, but files can theoretically be recovered with special tools). For a PC you are selling or giving away, choose secure removal.

Windows will restart and begin the wipe process. Do not interrupt it. When it finishes, you will go through setup again just as you would with the USB method. This approach takes 30 minutes to two hours depending on drive size and which removal method you chose.

What to do if Windows will not start

If Windows crashes or will not boot, you must use the USB installation media method. The USB drive bypasses Windows entirely and lets you wipe the drive from the Windows Setup screen.

If you do not have a USB drive prepared, you will need to create one on another computer first. Once you have it, insert it into the broken PC, restart, and follow the installation media steps above. This is the only way forward if the PC cannot start on its own.

Reinstalling your programs and restoring files

After the wipe, you have a blank PC with only Windows installed. You will need to reinstall any programs you use — Microsoft Office, Chrome, Photoshop, antivirus software, and anything else. Download them from their official websites or the Microsoft Store.

If you backed up your files before wiping, you can restore them now. Plug in the external drive or access the cloud storage where you saved them, and copy the files back to your PC. Do this before you start using the PC heavily, so you do not lose track of what you have restored.

Update Windows by going to Settings > Update & Security > Check for updates. Install all available updates, which may take 30 minutes or more. This patches security holes and fixes bugs that existed when your version of Windows was released.

Frequently Asked Questions

Can I wipe a PC without losing my files?

Not with a complete wipe — that removes everything. If you want to keep files, back them up to an external drive or cloud storage before you start, then restore them after the wipe. Alternatively, use the "Keep my files" option in Windows Settings, though this is less thorough at removing old programs and settings.

How do I know if my PC is wiped completely?

After the wipe and setup, your PC will have only Windows and the programs you install afterward. Check by opening File Explorer and looking at your user folder — it should contain only the default Windows folders like Documents, Downloads, and Pictures, with nothing else. If you see old files or programs, the wipe did not complete.

What if I forget my Microsoft account password before wiping?

Reset it at account.microsoft.com before you start the wipe. You will need it to sign in after Windows reinstalls. If you cannot access that account, you can create a new local account during setup instead, though a Microsoft account gives you better access to cloud features and makes reinstalling Windows easier later.

Can I wipe a PC that has a broken keyboard or mouse?

If you use the USB installation media method, you can use a USB keyboard and mouse during setup — plug them in before you start. If Windows still starts, you can also use a wireless keyboard and mouse if the receiver is plugged in. Test them before you begin the wipe to make sure they work.

How long does a complete wipe take?

The wipe itself usually takes 20 to 40 minutes depending on your drive size and speed. Setup and Windows updates afterward can add another 30 minutes to an hour. Plan for one to three hours total from start to finish, depending on your internet speed and how many updates are available.