What a clean install means and when you need one
A clean install is erasing your entire hard drive and installing Windows from scratch, rather than upgrading over your existing system. It removes every program, file, and setting you have now. You end up with a computer that feels like it just came from the factory — no leftover software, no accumulated clutter, no settings that have drifted over years of updates.
Most people never need to do this. A normal Windows update keeps everything you have. But a clean install fixes problems that updates cannot touch: malware that hides from antivirus software, corrupted system files that cause constant crashes, or a computer so slow from years of accumulated junk that it barely responds. It also erases the history of every account that ever logged in, which matters if you are selling or giving away the machine.
The trade-off is time and loss. A clean install takes two to four hours from start to finish. You lose every program and file on that drive unless you back them up first. This is why the first step is always backup.
Key Takeaways
- Back up every file and program you want to keep before you start, because a clean install erases the entire drive.
- You need a second computer or device to create installation media — a USB drive or DVD with Windows on it.
- The installation itself takes 20 to 40 minutes once you boot from the media, but the full process including setup takes two to four hours.
- After installation, you will need to reinstall every program you use and restore your files from backup.
- Windows will ask for a product key during setup; if you do not have one, you can enter it later or use Windows without one temporarily.
Back up your files and programs before you start
Write down or screenshot every program you currently use, because you will need to reinstall them. Open Control Panel, select Programs, then Programs and Features. Scroll through the list and note the names of anything you actually use — do not worry about Windows components or things you have never opened.
Back up your files to an external drive, cloud storage, or another computer. The fastest method is an external hard drive: plug it in, open File Explorer, navigate to your user folder (usually C:\Users\YourName), and drag your Documents, Pictures, Downloads, and Desktop folders to the external drive. This takes 10 to 30 minutes depending on how much you have. If you use cloud storage like OneDrive or Google Drive, those files are already backed up — but verify by checking that the folders show a cloud icon in File Explorer.
If you have important email, export it from your email program before you start. In Outlook, go to File, then Open and Export, then Import/Export, and save your mail to a file. In Gmail or other web-based email, you do not need to do anything — your mail stays on the server and you can log back in after the install.
Create Windows installation media on a USB drive
You need a second computer to create the installation media. You cannot install Windows from the same computer you are installing it on. Go to microsoft.com/software-read/windows on any other computer and select read Now under Windows Installation Media Creation Tool. This is a free tool from Microsoft.
Plug in a USB drive with at least 8 gigabytes of space. Run the Media Creation Tool. It will ask whether you want to upgrade this PC or create installation media for another PC — select the second option. Choose USB flash drive, then select your USB drive from the list. The tool will read Windows and write it to the drive. This takes 15 to 30 minutes depending on your internet speed.
When it finishes, eject the USB drive safely and label it clearly. Keep it plugged in or set it aside — you will use it in the next step.
Boot from the USB drive and start the installation
Plug the USB drive into the computer you are installing Windows on. Restart the computer and watch the screen carefully as it starts up. You will see a logo or manufacturer name — when ready start pressing a key to enter the boot menu. The key varies by manufacturer: it is usually Delete, F2, F12, or Esc. If you miss it, restart and try again.
In the boot menu, select the USB drive. The computer will boot from the drive instead of the hard drive, and the Windows Setup screen will appear. Select your language, time zone, and keyboard layout, then click Next.
On the next screen, click Install Now. Windows will ask for a product key. If you have one, enter it. If you do not have one, click "I do not have a product key" — you can enter it later or use Windows without one for now. Click Next.
Choose to erase the drive and select where to install
Windows will ask which version to install and show you the license terms. Read or skip them, then click Next. On the next screen, it will ask "Which type of installation do you want?" Select Custom: Install Windows only (advanced). This is the clean install option.
The next screen shows your hard drives and partitions. This is the critical moment. You will see one or more drives listed. Select the main drive — usually the largest one, often labeled as Drive 0 or Disk 0. Click on it to highlight it, then click Delete to erase it. Windows will ask you to confirm. Click OK.
After deletion, you will see unallocated space. Click on it, then click Next. Windows will automatically create the partitions it needs and begin installing. Do not turn off the computer or unplug anything. The installation takes 20 to 40 minutes. The computer will restart several times — this is normal. Let it finish.
Complete setup and configure your account
When the installation finishes, Windows will ask you to set up your computer. It will ask for your region, keyboard layout, and whether you want to connect to a network. Select your preferences and click Next.
Windows will ask whether you want to sign in with a Microsoft account or a local account. A Microsoft account syncs your settings across devices and is required for the Microsoft Store. A local account is simpler and does not require internet. Choose whichever you prefer. If you use a Microsoft account, enter your email and password. If you use a local account, create a username and password.
Windows will ask about privacy settings — whether to turn on location, diagnostic data, activity history, and advertising ID. These are your choice. The defaults send data to Microsoft; you can turn them off if you prefer. Click Next to continue.
Windows will finish setup and show you the desktop. Restart the computer once more to may support everything is stable.
Reinstall your programs and restore your files
Plug in your external backup drive. Open File Explorer and copy your Documents, Pictures, Downloads, and Desktop folders back to their original locations. This takes as long as the backup did.
Reinstall every program you use. Go to the manufacturer's website for each one — Microsoft Office, Chrome, Zoom, Slack, whatever you need — and read the installer. Run each installer and follow its setup steps. This is the longest part of the process and can take an hour or more depending on how many programs you use.
If you backed up Outlook email, open Outlook, go to File, then Open and Export, then Import/Export, and import the file you saved. If you use web-based email, just log in and your mail will appear.
Check that Windows Update has the latest patches. Open Settings, select Update and Security, then Windows Update, and click Check for Updates. Install any updates that appear and restart if prompted.
Frequently Asked Questions
What if I do not have a product key for Windows?
You can skip entering a key during setup and use Windows without one. Windows will show a watermark on the desktop and you will not be able to personalize your background or lock screen, but everything else works. You can enter a key later in Settings under Update and Security, set up.
Can I keep my files if I do a clean install?
Only if you back them up first to an external drive or cloud storage. A clean install erases everything on the hard drive, so backup is the only way to keep your files. After the install finishes, you copy them back from your backup.
How do I know which hard drive to delete during installation?
The main drive is almost always the largest one and is usually labeled Disk 0 or Drive 0. If your computer has multiple drives and you only want to erase one, make sure you select the correct one. If you are unsure, unplug any external drives before you start so you cannot accidentally erase them.
Do I need to reinstall every program, or can I restore them from backup?
You need to reinstall them. Programs store files in system folders that a clean install removes, so copying program folders from backup will not work. The fastest approach is to read installers from each manufacturer's website and run them one by one.
How long does a clean install actually take?
The Windows installation itself takes 20 to 40 minutes. But the full process — backup, creating media, installation, setup, and reinstalling programs — usually takes two to four hours depending on how many programs you use and how much data you have.