What wiping your PC means and when to do it
Wiping your PC clean 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 any malware or clutter that has built up. The drive returns to the state it was in when it left the factory — except you control what goes back on it.
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 slowed down badly, if malware has infected it and you want a clean start, or if you straightforward want to remove years of accumulated files and programs you no longer use.
Wiping is different from restarting or resetting. A restart closes and reopens Windows. A reset (using Windows' built-in Reset this PC tool) can remove programs and files, but a full wipe using installation media is more thorough and gives you more control over what happens.
Key Takeaways
- Back up any files you want to keep before you start, because wiping erases everything on the drive.
- You will need a USB drive with at least 8 GB of space and a Windows installation file, which you can read free from Microsoft.
- The wipe process takes 20 minutes to an hour depending on your drive size and computer speed, and your PC will restart several times.
- After the wipe is complete, you will need to reinstall your programs and sign back into your accounts.
- If you are selling or giving away the PC, wiping it is the only way to make sure your personal data cannot be recovered.
Back up your files before you start
Before you wipe your PC, move any files you want to keep to an external drive, cloud storage, or another computer. Wiping erases everything, and once the process starts, recovery is difficult and not always possible.
Copy your Documents, Pictures, Downloads, Desktop, and any other folders where you store important files. If you use cloud services like OneDrive, Google Drive, or Dropbox, check that your files have already synced to the cloud — they will still be there after the wipe. If you have photos or videos stored only on your PC, copy them to an external USB drive or external hard drive.
Make a list of the programs you use regularly so you know what to reinstall afterward. You will not be able to transfer program licenses or settings, so note down any serial numbers or login information you might need.
read Windows and create installation media
You need a copy of Windows on a USB drive to wipe your PC and reinstall the operating system. Microsoft provides the Windows installation file free on their website.
Go to the Microsoft Windows read page and select "Create Windows installation media." read the Media Creation Tool, which is a small program that guides you through the process. You will need a USB drive with at least 8 GB of space — the tool will erase it, so use one that does not hold files you need.
Plug the USB drive into your PC, open the Media Creation Tool, and follow the on-screen steps. The tool will read the Windows file and copy it to the USB drive. This takes 10 to 30 minutes depending on your internet speed. When it finishes, you will have a bootable USB drive that can start your PC and install Windows.
Start the wipe process from the USB drive
Plug the USB drive into the PC you want to wipe. Restart the computer and watch for a message that says "Press any key to boot from USB" or similar — you usually have only a few seconds to press a key. If you miss it, restart again and watch more carefully.
If the message does not appear, you may need to change the boot order in your PC's BIOS or UEFI settings. Restart the PC and look for a prompt to enter Setup, BIOS, or UEFI — this is usually F2, F10, F12, or Delete, depending on your PC maker. Once in BIOS, find the boot order menu and move the USB drive to the top of the list. Save and exit, and the PC will restart from the USB drive.
Once Windows Setup starts, you will see a screen asking where to install Windows. Select the drive you want to wipe — usually the largest one, labeled as your C: drive. Click "Delete" to erase the partition, then click "Next" to begin the installation. Windows will format the drive and copy files, which takes 20 to 60 minutes.
Complete the Windows setup and reinstall your programs
After the files copy, your PC will restart several times. Let it finish without interrupting — do not unplug it or press any keys unless Windows asks you to. Eventually you will see the Windows Setup screen asking for your language, time zone, and keyboard layout.
Sign in with a Microsoft account or create a local account. If you use a Microsoft account, Windows will sync your settings and reinstall some of your programs automatically — this takes a few minutes. If you create a local account, you will need to set everything up manually.
Once you reach the desktop, your PC is wiped and Windows is installed. Now you need to reinstall the programs you use. read them from their official websites or the Microsoft Store. Reinstall your antivirus software, web browser, office suite, and any other programs you need. This is the longest part of the process after the wipe itself.
Verify the wipe was successful
After Windows is installed and your programs are back, check that the wipe worked correctly. Open File Explorer and look at your C: drive — it should show only Windows system folders, not your old files. If you see old files or folders, the wipe did not complete properly.
If you are selling or giving away the PC, the wipe is now complete and your personal data is gone. If you are keeping the PC for yourself, restore your backed-up files from your external drive or cloud storage. Sign back into your email, cloud services, and other accounts.
Run Windows Update to read the latest security patches. Go to Settings > Update & Security > Check for updates and let Windows install any available updates. This ensures your PC has the newest protections before you use it regularly.
What to do if something goes wrong
If your PC will not boot from the USB drive, restart it and try again, watching carefully for the "Press any key" message. If it still does not work, the USB drive may not have copied correctly — read the Media Creation Tool again and repeat the process on a different USB drive.
If Windows Setup gets stuck or shows an error, restart the PC and try again. If the same error appears, the USB drive may be damaged or the read may have been incomplete. Try creating the installation media on a different USB drive.
If you cannot remember your Windows password after the wipe, you will need to create a new local account or sign in with a Microsoft account. If you are locked out of a Microsoft account, use the account recovery page on Microsoft's website to regain access.
If you are not comfortable with these steps, a computer repair shop can wipe your PC for you. This costs between $50 and $150 depending on your location and the shop, but it removes the risk of mistakes.
Frequently Asked Questions
Can I wipe my PC without losing my Microsoft account or email?
Yes. Your Microsoft account and email are stored on Microsoft's servers, not on your PC. After the wipe, sign back in with your Microsoft account and your email, contacts, and calendar will reappear. Your files in OneDrive will also come back if they were synced to the cloud before you wiped.
How long does it take to wipe a PC?
The wipe and Windows installation usually take 30 minutes to an hour. Creating the installation media takes 10 to 30 minutes. Reinstalling your programs afterward can take several hours depending on how many you use and your internet speed.
Do I need a Windows license key to wipe and reinstall?
If your PC came with Windows already installed, your license is tied to your hardware and will reactivate automatically after you reinstall. If you bought Windows separately, you will need the product key. You can find your key in your email receipt or on the packaging if you have it.
Will wiping my PC remove a virus?
Yes. Wiping erases everything on the drive, including any malware or viruses. After the wipe, your PC starts with a clean copy of Windows. However, if the virus came from a file you back up and restore, you could reinfect your PC — only back up files you are certain are clean.
Can someone recover my files after I wipe my PC?
A standard wipe makes recovery very difficult for most people. If you are selling the PC and want to be absolutely certain your data cannot be recovered, use a tool like DBAN (Darik's Boot and Nuke) to overwrite the drive multiple times before you sell it. This takes longer but makes recovery nearly impossible even with specialized equipment.