What Wiping Your PC Means and When to Do It

Wiping your PC means removing everything from your hard drive or solid-state drive — all files, programs, settings, and the operating system itself — and then reinstalling Windows from scratch. When you wipe a PC, nothing remains from before. This is different from a factory reset, which tries to restore your computer to its original state but may leave some files behind.

You might wipe your PC if you are selling it, giving it away, or handing it to someone else. You might also wipe it if your computer has become slow, infected, or unstable and you want a clean start. Wiping is also the right choice if you want to remove all traces of your personal data before the computer leaves your hands.

Before you wipe, back up anything you want to keep. Once the drive is wiped, recovery is difficult and expensive. Copy your files to an external hard drive, USB stick, or cloud storage. Make a list of programs you use regularly so you can reinstall them afterward.

Key Takeaways

  • Wiping your PC removes everything on the drive and requires a Windows installation disk or USB stick to reinstall the operating system afterward.
  • Back up all your files to an external drive or cloud storage before you start, because wiping deletes everything permanently.
  • You can wipe from Windows Settings using the Reset This PC tool, or you can wipe the drive using a bootable Windows installation USB and the Disk Management tool.
  • The Settings method is simpler for most people; the USB method gives you more control and works even if Windows will not start.
  • After wiping, you will need to reinstall Windows, sign in with a Microsoft account, and reinstall your programs one by one.

Backing Up Your Files Before You Wipe

Do this step first. Plug in an external hard drive or USB stick with enough space for your files. On Windows 10 or 11, open File Explorer, go to your Documents, Pictures, Downloads, and Desktop folders, and copy them to the external drive. If you use cloud storage like OneDrive, Google Drive, or Dropbox, make sure your important files have synced to the cloud first.

Check your email for any attachments you need to keep. Look in your Downloads folder for installers or documents you might have forgotten. If you use a password manager, export your passwords to a find location — you will need them after the wipe. Take a screenshot of your WiFi password if you do not remember it; you will need it to reconnect after the wipe.

Write down the product keys for any software you own that is not tied to your Microsoft account. Some programs, like Microsoft Office, are tied to your account and will reinstall automatically. Others, like older versions of Adobe software, require a key to reinstall. Check your email for purchase receipts or license information.

Using Windows Settings to Wipe Your PC

This is the simplest method if Windows still starts and runs. On Windows 10, go to Settings > System > Recovery. On Windows 11, go to Settings > System > Recovery. Look for the option that says "Reset this PC" and click it.

Windows will ask whether you want to keep your files or remove everything. Choose "Remove everything." It will then ask whether you want to remove files and clean the drive. Choose "Remove files and clean the drive" — this takes longer but makes recovery harder for someone else. Windows will warn you that this cannot be undone. Confirm that you want to proceed.

Windows will restart and begin the wipe process. This can take 30 minutes to several hours depending on your drive size and speed. Your screen will show a progress bar. Do not turn off the computer during this time. When it finishes, Windows will ask you to set up your PC as if it were new. You can skip this for now and finish setup later.

Wiping Your PC Using a Bootable USB Stick

Use this method if Windows will not start, or if you want more control over the wipe process. First, you need a bootable Windows installation USB stick. On another computer, go to Microsoft's Windows read page and read the Windows 10 or Windows 11 Media Creation Tool. Plug in a blank USB stick with at least 8 GB of space. Run the Media Creation Tool, choose "Create installation media for another PC," and follow the steps to write Windows to the USB stick.

Plug the USB stick into the PC you want to wipe. Restart the computer and press the key that opens the boot menu — usually F12, F2, Esc, or Del, depending on your computer's brand. The key appears briefly on the screen when you first turn on the computer. Select the USB stick from the boot menu. The Windows installation screen will appear.

On the Windows installation screen, click "Next," then look for a link that says "Repair your computer" or "Troubleshoot." Click it. Choose "Advanced options," then "Command Prompt." In the command prompt, type diskpart and press Enter. Type list disk and press Enter to see your drives. Find the disk number of the drive you want to wipe — usually Disk 0. Type select disk 0 (replace 0 with your disk number) and press Enter. Type clean all and press Enter. This will wipe the entire drive.

Close the command prompt and go back to the Windows installation screen. Your drive will now appear as unallocated space. Click "Next" to begin installing Windows on the empty drive. Follow the on-screen steps to complete the installation.

What Happens After the Wipe Is Complete

After Windows finishes installing, you will see the setup screen. Create a local account or sign in with your Microsoft account. If you are selling or giving away the computer, create a temporary local account so the new owner can set up their own account. If you are keeping the computer, sign in with your Microsoft account so you can reinstall your programs and settings.

Windows will read and install updates. This can take 15 to 45 minutes. Let it finish — do not turn off the computer. Once updates are done, you can start reinstalling your programs. Go to the Microsoft Store or the websites of the programs you use and read them one by one. Sign in to cloud services like OneDrive, Google Drive, or Dropbox so your files sync back to your computer.

Restore your files from the external drive or cloud storage. Copy them back to your Documents, Pictures, and other folders. Reconnect to your WiFi network using the password you wrote down. Set up your email accounts in Outlook or your email program. This process takes time, but your computer will be clean and fast.

Common Mistakes to Avoid When Wiping

Do not wipe your PC without backing up your files first. This is the most common mistake. Once the drive is wiped, your files are gone. Professional data recovery costs hundreds of dollars and does not always work.

Do not turn off the computer while the wipe is in progress. If power cuts out or you restart the computer, the wipe may not complete correctly and your drive could become unusable. If the wipe is taking a very long time, wait at least two hours before assuming something is wrong.

Do not forget to write down your WiFi password and email address before you wipe. After the wipe, you will need both to set up Windows again. If you forget your WiFi password, you can look it up on your router or in your phone's WiFi settings before you wipe.

Do not assume the Settings method will work if Windows is corrupted or will not start. If Windows crashes or freezes during the reset, use the bootable USB method instead. The USB method works even when Windows is broken.

Wiping a PC You Are Selling or Giving Away

If you are selling your computer, wipe it completely and do not reinstall Windows. Leave the drive empty. The new owner will install their own copy of Windows. This protects your privacy because no trace of your files, accounts, or settings will remain.

If you are giving the computer to someone you know, you can reinstall Windows and create a temporary local account for them. Write down the WiFi password on a piece of paper and leave it with the computer. Do not sign in with your Microsoft account — let the new owner set up their own.

For either case, use the "Remove files and clean the drive" option in Windows Settings, or use the clean all command in diskpart. This makes it much harder for someone to recover your deleted files using special software. A straightforward wipe leaves data on the drive that can be recovered; a clean wipe overwrites the space where your files were.

Frequently Asked Questions

Can I recover files after I wipe my PC?

If you used the "Remove files and clean the drive" option, recovery is very difficult and requires professional help, which costs hundreds of dollars. If you used a straightforward wipe, recovery software might work, but it is not may provide. The safest approach is to back up your files before you wipe.

Do I need a Windows license key to reinstall after wiping?

If your copy of Windows came with your computer, it is tied to your hardware and will reinstall automatically. If you bought Windows separately, you will need the product key. Microsoft will ask for it during installation. If you do not have it, you can still install Windows, but you will see a watermark on your desktop until you enter a valid key.

How long does it take to wipe a PC?

Using Windows Settings, the wipe takes 30 minutes to two hours depending on your drive size and speed. Using a bootable USB and diskpart, the wipe is faster — usually 5 to 15 minutes — but reinstalling Windows takes another 20 to 45 minutes. Reinstalling your programs and files takes several hours.

What if I wipe the wrong drive?

If you have multiple drives, double-check the disk number before you run the clean all command. In diskpart, list disk shows the size of each drive, which helps you identify the right one. If you wipe the wrong drive, your data is gone. This is why backing up first is so important.

Can I wipe my PC if it will not start?

Yes. Use the bootable USB method. Create a Windows installation USB on another computer, plug it into your PC, boot from the USB, and use diskpart to wipe the drive. Then reinstall Windows from the USB. This works even if your PC is completely broken.