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. This removes all your files, programs, settings, and any malware or clutter that has built up. The result is a PC that runs as it did when it left the factory.
You should wipe your PC if you are selling it, giving it away, or handing it to someone else. You should also wipe it if your PC has slowed to a crawl, crashes often, or has a virus you cannot remove any other way. A wipe is also useful if you have installed and uninstalled so many programs over the years that your system feels bloated.
A wipe takes between one and three hours depending on your internet speed and drive size. You will lose everything on the drive, so back up any files you want to keep before you start.
Key Takeaways
- Back up all your files to an external drive or cloud storage before you begin, because wiping erases everything.
- You need a second PC or laptop to read Windows and create installation media on a USB drive.
- Windows 10 and Windows 11 can be wiped and reinstalled for free using Microsoft's official read tool.
- The wipe process itself takes 30 minutes to two hours depending on your drive speed and internet connection.
- After the wipe, you will need to reinstall your programs and restore your files from backup.
Back up your files before you start
Before you wipe anything, move every file you want to keep to an external hard drive, USB drive, or cloud storage. This includes documents, photos, videos, music, and any other personal files. Do not rely on your memory of what matters — if it is on your PC and you do not back it up, it will be gone.
The easiest method is to plug in an external drive and drag your Documents, Pictures, Downloads, and Desktop folders to it. If you do not have an external drive, you can upload files to OneDrive, Google Drive, or Dropbox instead. This takes longer but works just as well.
Also write down any software license keys or passwords you will need later. If you use Microsoft Office, Photoshop, or other paid programs, you will need those keys to reinstall them after the wipe.
Get a second device and create installation media
You cannot wipe your PC and reinstall Windows using the same PC — you need a second computer or laptop to read Windows and prepare a USB drive. Borrow one from a friend or family member if you do not have a spare.
Go to Microsoft's Windows read page on the second device. Choose either Windows 10 or Windows 11 depending on what your PC originally came with or what you prefer. Click the button to read the Media Creation Tool, which is a small program that prepares a USB drive to install Windows.
Plug in a blank USB drive with at least 8 gigabytes of space. Run the Media Creation Tool, select "Create installation media for another PC", choose your language and Windows version, and let it write the installation files to the USB drive. This takes 10 to 20 minutes.
Boot from the USB drive and start the wipe
Plug the USB drive into the PC you want to wipe. Restart the PC 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 try again.
The Windows Setup screen will appear. Choose your language, time zone, and keyboard layout. When asked where to install Windows, you will see your hard drive listed. Right-click it and select "Delete" to erase all partitions on the drive. Then select the empty drive space and click "Next" to begin the installation.
Windows will copy files and install itself. Your PC may restart several times. This part takes 20 to 45 minutes depending on your drive speed. Do not turn off the PC during this time.
Complete setup and restore your files
When Windows finishes installing, you will see the setup screen asking for your Microsoft account email and password. Sign in with the account you use for Windows, OneDrive, or other Microsoft services. If you do not have one, you can create one or set up a local account instead.
Windows will read and install updates, which can take 15 to 30 minutes. Let this finish — do not shut down your PC. Once updates are done, your PC is clean and ready to use.
Plug in your external backup drive and copy your files back to your Documents, Pictures, and other folders. If you used cloud storage, sign in to OneDrive, Google Drive, or Dropbox and read your files. Then reinstall any programs you need using their original installers or the Microsoft Store.
What to do if Windows will not install
If the installation fails or gets stuck, the most common cause is a bad USB drive or a corrupted read. Unplug the USB drive, go back to the second device, and run the Media Creation Tool again on a different USB drive. Make sure the drive is blank before you start.
If your PC does not boot from the USB drive at all, restart the PC and look for a message about pressing F2, F12, Delete, or Esc to enter the boot menu. The exact key varies by PC maker. Once in the boot menu, select the USB drive and press Enter. If you still cannot boot from USB, your PC may have a hardware problem that wiping cannot fix.
Selling or giving away your PC after a wipe
A wipe removes your personal files and settings, but it does not remove the Windows license from your PC. If you are selling or giving away the PC, sign out of your Microsoft account before you hand it over. Go to Settings, click "Accounts", then "Your info", and select "Sign out".
The new owner can then sign in with their own Microsoft account and use Windows normally. If the PC came with Windows pre-installed, the license stays with the hardware, so the new owner will not need to buy a new copy.
Frequently Asked Questions
Will wiping my PC remove viruses?
Yes. Wiping erases everything on your drive, including any malware or viruses. After the wipe, your PC starts with a clean copy of Windows and nothing else. However, if you restore files from an infected backup, you may bring the virus back. Only restore files you are certain were not infected.
Can I wipe my PC without a USB drive?
No. You need a USB drive to hold the Windows installation files. You cannot read Windows directly onto the PC you are wiping because you need to erase it first. A USB drive is the standard and most reliable method.
Do I need a Windows license key to reinstall Windows?
No. Windows 10 and Windows 11 can be downloaded and installed for free from Microsoft. If your PC originally came with Windows, the license is tied to your hardware and will reactivate automatically after you sign in with your Microsoft account.
How long does a full wipe and reinstall take?
The entire process usually takes one to three hours. Creating the USB drive takes 10 to 20 minutes, the actual installation takes 30 to 45 minutes, and Windows updates take 15 to 30 minutes. The rest of the time goes to backing up files beforehand and restoring them afterward.
What if I forget to back up my files?
Once you wipe your drive, your files are gone and cannot be recovered through normal means. Professional data recovery services exist but are expensive and do not always work. Back up your files before you start — this is the most important step.