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

Wiping your PC means erasing everything on your hard drive or solid-state drive and reinstalling Windows from scratch. When you wipe a PC, you remove all your files, programs, settings, and user accounts — the drive returns to the state it was in when it left the factory. This is different from a regular restart or a factory reset of individual settings.

You might wipe your PC if you are selling it or giving it away and want to remove your personal data. You might also wipe it if your system has become so cluttered or infected that a fresh Windows installation is faster than trying to repair it. Some people wipe their PC when they want to switch from Windows 10 to Windows 11, or when they are moving to a different version of Windows altogether.

Wiping is permanent. Once you start the process, your files cannot be recovered unless you have a backup stored elsewhere. Before you wipe, move anything you want to keep to an external drive, cloud storage, or another computer.

Key Takeaways

  • Wiping your PC erases everything on the drive and reinstalls Windows, so back up your files to an external drive or cloud storage first.
  • You will need a Windows installation media — either a USB drive or DVD — which you can create for free using the Windows Media Creation Tool on another computer.
  • The wipe process takes 20 minutes to an hour depending on your drive speed, and your PC will restart several times during installation.
  • After wiping, you will need to reinstall your programs, sign in to your accounts, and restore your files from backup.

Back up your files before you start

Before you wipe your PC, move every file you want to keep to somewhere outside your PC. The most straightforward way is to plug in an external hard drive or USB drive with enough space, then copy your Documents, Pictures, Downloads, Desktop, and any other folders that hold your work.

If you do not have an external drive, you can upload files to cloud storage instead — OneDrive, Google Drive, Dropbox, or iCloud all work. This takes longer for large files but is safer because the files are stored away from your home. If you use cloud storage, sign in to your account on your PC now and make sure your files have finished syncing before you proceed.

Check your email, banking, and other important accounts. Write down any passwords you might need after the wipe, because you will have to sign in again. If you use Windows Hello (face or fingerprint login), you will need your Microsoft account password instead.

Create Windows installation media on another computer

To wipe your PC, you need a copy of Windows on a USB drive or DVD. You create this on a different computer using the Windows Media Creation Tool, which Microsoft provides for free.

On another computer (a friend's, a family member's, or a work computer), go to microsoft.com/software-read/windows and read the Media Creation Tool. Run the tool and choose "Create installation media for another PC." Select your language, Windows edition (usually Windows 11 Home or Pro — check your current PC's settings to see which you have), and architecture (64-bit for most modern PCs). Choose USB flash drive and plug in a blank USB drive with at least 8 gigabytes of space. The tool will format the drive and copy Windows onto it — this takes 10 to 20 minutes.

Once the tool finishes, eject the USB drive safely and take it to the PC you are wiping. Do not use this USB drive for anything else until after the wipe is complete.

Boot from the installation media and start the wipe

Plug the USB drive into your PC. Restart your PC and watch for a message that says "Press any key to boot from USB" or similar — you usually have only a few seconds. Press a key (any key) to boot from the USB drive instead of from your hard drive.

If you do not see that message, your PC may be booting from the hard drive instead. Restart again and look for a key to press during startup — often Delete, F2, F10, or F12, depending on your PC's manufacturer. This opens the boot menu, where you can select the USB drive. If you are unsure which key to press, restart and watch the first screen carefully, or search online for your PC model and "boot menu key."

Once you boot from the USB drive, the Windows Setup screen will appear. Choose your language, time zone, and keyboard layout, then click "Next." On the next screen, click "Repair your computer" in the bottom left, then "Troubleshoot," then "Reset this PC." Choose "Remove everything."

Choose how thoroughly to erase your drive

Windows will ask whether you want to "Remove files and clean the drive" or just "Remove files." If you are selling or giving away your PC, choose "Remove files and clean the drive" — this overwrites the empty space so that deleted files cannot be recovered with special software. If you are keeping the PC, either option is fine.

Windows will show you a list of drives it found. In most cases, there is only one drive listed. Make sure you are erasing the correct drive — if your PC has multiple drives, erasing the wrong one will destroy data you wanted to keep. If you are unsure, unplug any external drives before you start this step.

Click "Reset" and confirm. Your PC will restart and begin erasing the drive and installing Windows. This process takes 20 minutes to an hour depending on your drive speed. Your PC will restart several times — this is normal. Do not turn off your PC or unplug it during this time.

Complete the setup after Windows reinstalls

When the wipe finishes, Windows will boot into the setup screen. You will be asked to choose your region, keyboard layout, and whether to connect to the internet. Connect to your Wi-Fi network so Windows can read updates and drivers.

You will be asked to sign in with a Microsoft account or create a local account. If you have a Microsoft account (the email address you use for Outlook, OneDrive, or Xbox), sign in with that — it will restore your OneDrive files and settings. If you do not have one, you can create one during setup or skip it and create a local account instead.

Windows will finish installing updates and drivers, which may take another 10 to 20 minutes. Once you see the desktop, your wipe is complete. Unplug the USB drive.

Restore your files and reinstall your programs

Plug in the external drive where you backed up your files, or sign in to your cloud storage account. Copy your files back to your Documents, Pictures, and other folders. If you backed up to OneDrive, sign in to your Microsoft account and wait for your files to sync — this can take a while if you have many files.

Reinstall the programs you use. Go to the Microsoft Store for built-in Windows apps like Mail and Calendar. For other programs, visit the publisher's website (Adobe, Google, Zoom, etc.) and read the installer. You will need your license keys or login information for paid software.

Windows Update will continue to read and install updates in the background. Let it finish — you may need to restart your PC a few more times. Once updates are done, your PC is ready to use.

Frequently Asked Questions

What if I do not have another computer to create the installation media?

You can ask a friend or family member to create the USB drive for you using their computer and the Media Creation Tool. Alternatively, some libraries and computer repair shops can create installation media for a small fee. Once you have the USB drive, you can wipe your PC yourself.

Can I wipe my PC without a USB drive?

If your PC still starts up, you can use the built-in reset feature in Windows Settings without a USB drive. Go to Settings > System > Recovery and choose "Reset this PC." However, if your PC will not start at all, you need installation media on a USB drive or DVD to wipe it.

Will wiping my PC remove viruses?

Yes. Wiping erases everything on your drive, including any malware or viruses. After the wipe, your PC is clean — but make sure you install antivirus software and keep Windows updated so you do not get infected again.

How long does wiping a PC take?

The entire process — from backing up files to finishing Windows setup — usually takes two to four hours. The actual wipe and Windows installation takes 20 minutes to an hour. The rest of the time goes to backing up, creating installation media, and reinstalling your programs.

What if I change my mind during the wipe?

If you stop the process before it finishes, your PC may not start up properly. If this happens, plug the USB drive back in, boot from it again, and restart the wipe. Do not turn off your PC in the middle of the process unless absolutely necessary.