How to Format and Reinstall Windows 10 with a USB Drive

Formatting a PC and reinstalling Windows 10 from a USB drive, often called a clean install, wipes the system drive and starts over with a fresh copy of Windows. Back up your files, then on a working PC use Microsoft’s Windows 10 download page to create an 8 GB or larger USB installer. Boot the PC from it with the boot menu key, click Install now > Custom: Install Windows only, delete the partitions on the Windows drive, select the Unallocated Space, and click Next.

Windows Setup Where do you want to install Windows screen with a partition selected and the Delete option highlighted
In Setup, select each partition on the Windows drive (1) and click Delete (2) until only unallocated space remains.

Before You Start

  • This erases everything on the drive you install to: files, apps, and settings. Back up documents, photos, browser bookmarks, and saved passwords to an external drive or cloud storage.
  • Windows 10 support ended in October 2025. A fresh Windows 10 install won’t get regular security updates unless you’re enrolled in Extended Security Updates. If your PC meets the requirements, consider installing Windows 11 with the same steps instead.
  • Activation: if Windows 10 was activated on this PC before, it usually reactivates automatically with its digital license. Choose I don’t have a product key during setup. Linking your license to a Microsoft account beforehand helps.
  • Drivers: download your network (Wi-Fi) driver from the PC maker’s website onto a second USB drive, in case Windows doesn’t include it.
  • BitLocker: if the drive is encrypted, save your recovery key first.

No-USB Alternative: Reset This PC

If Windows still starts, Settings > Update & Security > Recovery > Reset this PC, with Remove everything and Cloud download, gives almost the same result without a USB drive. Turn on Clean data if you’re giving the PC away. Use the USB method when Windows won’t start, the recovery partition is damaged, or you want to change partitions.

Step 1: Create the Windows 10 USB Installer

  1. On any working PC, go to Microsoft’s official Download Windows 10 page.
  2. Download the Media Creation Tool, if it’s offered, and run it. Accept the license terms.
  3. Choose Create installation media (USB flash drive, DVD, or ISO file) for another PC.
  4. Pick the language, edition, and architecture (64-bit for almost all PCs).
  5. Choose USB flash drive, select your 8 GB or larger USB drive, and click Next. Everything on the USB drive is erased.
  6. Wait for the download and USB creation to finish.

Microsoft has changed what the Windows 10 download page offers since end of support. If the tool isn’t available or fails, download the official ISO if offered and write it to USB with a tool such as Rufus. If the PC qualifies, create Windows 11 media instead.

Step 2: Boot the PC from the USB Drive

  1. Plug the USB drive into the PC you want to format.
  2. Restart it and immediately press the boot menu key repeatedly.
  3. Choose the USB drive (it may be listed as “UEFI: USB…” or by brand).
PC brand Common boot menu key
Dell F12
HP Esc, then F9
Lenovo F12 (or the Novo button)
ASUS Esc or F8
Acer F12 (enable it in BIOS if needed)
MSI F11

From Windows, you can also hold Shift while clicking Restart, then choose Use a device > your USB drive.

Step 3: Install Windows 10 and Format the Drive

  1. Choose your language, time, and keyboard, then click Next > Install now.
  2. On the activation screen, click I don’t have a product key if Windows was activated on this PC before. Otherwise, enter your key.
  3. Choose the edition your PC is licensed for (usually Home or Pro) and accept the license.
  4. Choose Custom: Install Windows only (advanced).
  5. Select each partition on the Windows drive (usually Drive 0) and click Delete, until only Drive 0 Unallocated Space remains. Don’t delete partitions on other drives that hold data you want to keep.
  6. Select the unallocated space and click Next. Setup creates the partitions it needs and formats them.
  7. The PC restarts several times. Remove the USB drive when you reach the region selection screen, if it keeps booting to Setup.

How long does a clean install take?

Creating the USB takes 20 to 60 minutes. The install itself takes 20 to 40 minutes on an SSD, plus time for updates and drivers.

Step 4: Finish Setup

  1. Choose your region and keyboard, connect to the internet, and sign in with a Microsoft account or set up a local account.
  2. Choose your privacy settings.
  3. Run Settings > Update & Security > Windows Update until no more updates appear.
  4. Install drivers from your PC maker’s support page, especially graphics, chipset, and touchpad drivers.
  5. Check activation in Settings > Update & Security > Activation.
  6. Restore your files and reinstall your apps.

Does formatting remove viruses?

Deleting all partitions and reinstalling removes almost all malware. Scan your backup files before restoring them.

When Setup Runs Into Problems

The PC doesn’t boot from the USB

Try another USB port (a rear port on desktops), recreate the USB, and check that UEFI boot is enabled in BIOS. On older PCs, you may need to turn off Secure Boot temporarily, or choose the non-UEFI USB entry.

“Windows cannot be installed to this disk”

Delete all partitions on the drive so it shows as unallocated. For “GPT partition style” errors, boot the USB in UEFI mode. For MBR errors, delete everything and let Setup recreate the partitions.

Setup doesn’t see my drive

Click Load driver and provide the storage driver (often Intel RST or VMD) from the PC maker’s website. Or check the BIOS for a SATA/VMD mode setting.

Windows isn’t activated after install

Make sure you installed the same edition (Home or Pro) that was licensed. Then run the Activation troubleshooter in Settings.

On an HP, tap Esc and then F9 instead; here is how to install Windows 10 on an HP laptop from USB with the HP keys and drivers.