What wiping a Windows computer means and when to do it

Wiping a Windows computer means erasing everything on the hard drive and reinstalling Windows from scratch. It removes all your files, programs, settings, and any malware or clutter that has built up. The result is a computer that runs like it did when it came from the factory.

You wipe a computer when you plan to sell it or give it away, when it has become too slow or unstable to use, or when you want to start fresh without paying for a new machine. Wiping is also the most thorough way to remove malware that antivirus software cannot catch.

A wipe takes between one and four hours depending on your hard drive size and whether you keep your files or erase them completely. You will need a blank USB drive (at least 8 GB), another computer to prepare it, and your Windows product key or Microsoft account password if you have one.

Key Takeaways

  • Wiping erases everything on your computer and reinstalls Windows, which takes one to four hours and requires a blank USB drive.
  • You can wipe using Windows Reset (the easiest method for most people) or by creating a Windows installation USB and starting from scratch.
  • Before you wipe, back up any files you want to keep, write down your product key or sign into your Microsoft account, and disconnect external drives.
  • After wiping, you will need to reinstall your programs and sign back into your accounts, which can take several hours depending on how many programs you use.
  • If your computer will not start or you cannot access Windows, you will need to use the USB installation method instead of the Reset option.

Backing up your files before you wipe

Before you erase anything, move any files you want to keep to an external hard drive, USB drive, or cloud storage. This includes documents, photos, videos, and any other personal files. Do not rely on the "keep my files" option in Windows Reset — it sometimes fails, and you will lose everything if it does.

The fastest way to back up is to plug in an external drive, open File Explorer, and drag your Documents, Pictures, Downloads, and Desktop folders to the external drive. If you have a lot of files, this can take 30 minutes to an hour. If you use cloud storage like OneDrive, Google Drive, or Dropbox, make sure those files have finished syncing before you start the wipe.

Write down or take a photo of any product keys you see in your programs. Some programs will ask for the key when you reinstall them. You can also check your Microsoft account at account.microsoft.com to see what Windows license is tied to your account — you will need this information after the wipe.

Using Windows Reset for a quick wipe

The easiest way to wipe most computers is to use the built-in Windows Reset tool. This works if your computer still starts and you can log in. Go to Settings, then System, then Recovery. Click "Reset this PC" and choose "Remove everything."

Windows will ask whether you want to remove files locally or use cloud read. Local removal is faster if your internet is slow. Cloud read downloads a fresh copy of Windows from Microsoft's servers, which takes longer but sometimes works better on older computers. Choose whichever one matches your situation.

Next, Windows asks whether you want to remove the drive completely or just remove files quickly. Removing the drive completely takes much longer (sometimes several hours) but makes it nearly impossible for someone to recover your old files if you are selling the computer. Removing files quickly takes 20 to 30 minutes and is fine if you are keeping the computer or giving it to someone you trust.

After you choose, Windows will restart and begin the wipe. Do not turn off the computer or unplug it during this time. When it finishes, you will see the Windows setup screen, and you can sign in with your Microsoft account or create a local account.

Creating a Windows installation USB if Reset does not work

If your computer will not start, will not let you log in, or Reset fails partway through, you will need to use a Windows installation USB. You will need another computer and a blank USB drive (at least 8 GB).

On the working computer, go to microsoft.com/software-read/windows11 (or windows10 if you need Windows 10). Click "read now" under "Create Windows 11 Installation Media." Run the file, accept the license terms, and choose "Create installation media for another PC." Select your language, edition, and architecture (64-bit for almost all modern computers). Choose USB flash drive, then select your USB drive from the list.

The tool will read Windows and write it to the USB drive. This takes 15 to 30 minutes. When it finishes, plug the USB drive into the computer you want to wipe. Restart the computer and press the key that opens the boot menu — usually F12, F2, Esc, or Del, depending on the manufacturer. Select the USB drive from the menu.

Windows setup will start. Choose your language and keyboard layout, then click "Install now." When asked where to install, select your hard drive and click "Next." Windows will erase the drive and install itself. This takes 20 to 40 minutes. When it finishes, you will see the setup screen where you can sign in or create an account.

What to do after the wipe is complete

After Windows finishes installing, you will need to sign in. If you have a Microsoft account, use that email and password. If you do not, you can create a local account with just a username and password. A Microsoft account is easier because it remembers your settings and programs across devices, but a local account works fine if you prefer not to use one.

Windows will spend the next 10 to 20 minutes installing drivers and updates in the background. Let it finish before you do anything else. You can check the progress by going to Settings, then Update & Security, then Windows Update.

Once that is done, reinstall your programs. Go to the websites where you originally got them (Microsoft Office, Adobe Creative Suite, Zoom, Chrome, etc.) and read the installers. Sign back into each program with your account information. If you backed up your files, copy them back from your external drive or cloud storage.

Troubleshooting common problems during a wipe

If Windows Reset gets stuck on a screen for more than 30 minutes, restart the computer by holding the power button for 10 seconds. Then try Reset again. If it fails a second time, use the USB installation method instead.

If you see an error message about not enough space, make sure you have at least 20 GB of free space on your hard drive before you start. If you do not, delete large files or programs first, or use the USB method instead.

If the computer restarts during the wipe and you see a blue screen with an error code, write down the code and restart again. Most errors fix themselves on the second try. If the error happens three times in a row, use the USB method or contact the computer manufacturer's support line.

If you forget your Microsoft account password, go to account.microsoft.com on another computer and click "Can't access your account?" Follow the steps to reset your password, then use the new password when Windows asks you to sign in.

Frequently Asked Questions

Will wiping my computer remove viruses and malware?

Yes. Wiping erases everything on the hard drive, including any malware. This is the most thorough way to remove infections that antivirus software cannot catch. After the wipe, install antivirus software (Windows Defender is built in) and keep Windows updates turned on.

Can I wipe my computer if I do not have the Windows product key?

Yes. If you have a Microsoft account, Windows will recognize your license when you sign in after the wipe. If you do not have a Microsoft account and do not have your product key, Windows will still install and work, but you will see a watermark on the desktop saying Windows is not activated. You can still use the computer normally, but you will not be able to change the background or some settings.

How long does it take to wipe a computer?

The wipe itself takes 20 minutes to 2 hours depending on your hard drive size and which method you use. Reinstalling programs and copying files back takes another 1 to 3 hours depending on how many programs you have and how much data you are restoring. Plan for a full afternoon or evening.

What should I do with my computer after I wipe it if I am selling it?

After the wipe, sign out of all accounts and do not sign back in. Leave it at the Windows setup screen so the new owner can set it up with their own account. If you want to erase the drive completely so old files cannot be recovered, use the "remove the drive completely" option during Reset instead of the quick removal option.

Can I wipe just one drive if my computer has multiple hard drives?

Yes, but only if you use the USB installation method. During setup, you can choose which drive to install Windows on. Make sure you select the correct drive — erasing the wrong one will delete files you wanted to keep. If you use Windows Reset, it will wipe whichever drive Windows is currently on.