Skip to content
PCTestHub
Guide · Windows

How to Wipe and Reinstall Windows 11 or 10 Without Losing Files or Drivers

Back up your files, save your drivers and confirm activation first. Then Reset this PC or a clean install from a USB drive, step by step.

In this guide

To wipe and reinstall Windows 11 or Windows 10 on a PC or laptop without losing anything important, do three things first: copy your files, save your drivers and confirm that Windows will activate on its own. Then choose between "Reset this PC", which needs no USB drive, or a clean install from a USB drive.

A clean install erases everything on the drive where Windows lives. This guide follows the order that avoids the most common problems: ending up without your files, without Wi-Fi or with Windows not activated.

1. Reset or clean install? Choose your route

Windows has its own way of reinstalling itself, "Reset this PC", which is enough for most people. A clean install from a USB drive also removes the manufacturer's partitions and preinstalled programs.

SituationRecommended route
Windows starts and you want it like new.Reset this PC › Remove everything.
You are going to sell or give away the computer.Reset this PC › Remove everything.
Windows will not start, has persistent malware or you want to start without the manufacturer's programs.Clean install from a USB drive.
You replaced the drive with a new one (for example, an SSD).Clean install from a USB drive.
Which route fits each situation.

2. Copy your files (and check the copy)

Copy everything you want to keep to an external drive, a USB stick or the cloud:

  • The Documents, Desktop, Pictures, Videos, Music and Downloads folders of each user.
  • Files some programs keep in their own folders (for example, game saves, accounting databases or design projects).
  • Your browser passwords and bookmarks: if you sign in to Chrome, Edge or Firefox with your account they come back on their own; if not, export them.
  • Keys for paid programs (older Office versions, antivirus, design software) and the sign-in details for your accounts.

Before you go on, open a few files from the copy to make sure they copied correctly. If the drive is encrypted with BitLocker and you are keeping another partition or drive, save the BitLocker recovery key first.

3. Save your drivers before wiping

What most often complicates things after reinstalling is losing Wi-Fi because Windows does not include the driver for that adapter. Windows has a tool, PnPUtil, that copies all installed drivers to a folder. Open Command Prompt as administrator and run this, replacing D:\drivers with a folder on your USB stick or external drive:

pnputil /export-driver * D:\drivers

For an extra backup, write down the exact brand and model of the computer (our official drivers by brand page explains how to find it) and download the Wi-Fi driver from the brand's official site.

4. Confirm that Windows will activate on its own

Computers that came with Windows, or that already have it activated, have a digital license. According to Microsoft, when you reinstall you can choose "I don't have a product key" and Windows activates by itself over the internet when it finishes. For that to work:

  • Check that it is activated today in Settings › System › Activation (in Windows 10: Update & Security › Activation).
  • Write down the edition (Home or Pro) in Settings › System › About: you have to install the same one.
  • If you bought a product key, keep it handy. If you linked the license to your Microsoft account, use that same account when you reinstall.

If an activation error appears afterwards, look it up in our list of Windows error codes.

5. The easy route: Reset this PC

In Windows 11 go to Settings › System › Recovery › Reset this PC (in Windows 10: Settings › Update & Security › Recovery). Choose:

  • Remove everything, to leave the computer clean. "Keep my files" reinstalls Windows without touching your documents, but removes your programs.
  • Cloud download, which downloads Windows from Microsoft (it needs internet and downloads several GB), or Local reinstall, which uses the files already on the computer.

If Windows does not get as far as the desktop, the same option is in the Windows Recovery Environment, which appears by itself after two or three failed starts: Troubleshoot › Reset this PC. If that does not work either, go on to the clean install.

6. Clean install: create the Windows USB drive

You need an empty USB drive of 8 GB or more (everything on it will be erased) and another Windows computer if yours does not start. On the official Windows 11 download page, get the media creation tool, choose the language and edition, and select "USB flash drive".

First, check that the computer meets the Windows 11 requirements with our Windows 11 compatibility check. Microsoft's tool creates USB drives for x64 processors (Intel and AMD); it does not work for computers with an ARM processor.

7. Start from the USB drive

With the USB drive plugged in, turn the computer on and press the boot menu key repeatedly; then choose the USB drive. These are the usual keys for each brand, although they can change with the model:

BrandBoot menu
Dell, Lenovo, GIGABYTEF12 (on some Lenovo laptops, the Novo button or Fn + F12)
HPEsc, then F9
ASUSEsc on laptops; F8 on motherboards
AcerF12 (sometimes "F12 Boot Menu" has to be enabled in the BIOS)
MSI, ASRockF11
Usual boot menu keys; check your model's manual if yours does not respond.

You do not need to turn off Secure Boot: the official Windows USB drive starts with it on. If the key does not respond, look it up in your model's manual on the brand's support site.

8. Install Windows

  1. Choose the language and keyboard. When it asks for a key, select "I don't have a product key" if the computer already had Windows activated, and choose the same edition (Home or Pro).
  2. For the type of installation, choose the custom install (or "Install Windows" without keeping anything, depending on the installer version).
  3. In the list of drives, delete only the partitions on the drive where Windows was (go by the size) until you see "Unallocated space", select it and continue. If there is another drive with files, leave it alone.
  4. At the end, Windows 11 asks you to connect to the internet and, in most cases, sign in with a Microsoft account.

If the installer does not show any drive, see what to do when Windows 11 setup does not find the SSD. If Wi-Fi does not appear at the internet step, plug in a network cable or share your Android phone's internet over USB: all the options are in the no Wi-Fi after reinstalling section of our drivers page.

9. After reinstalling

  • Install the drivers you saved, from Command Prompt as administrator: pnputil /add-driver D:\drivers\*.inf /subdirs /install.
  • Update Windows in Settings › Windows Update, including the optional updates (Advanced options), where drivers that do not install by themselves appear.
  • Add the manufacturer's drivers: chipset, network, graphics, audio and touchpad, in that order, from your brand's official site (they are all in official drivers by brand).
  • Check Device Manager (right-click Start): no device should be left with a yellow triangle.
  • Copy your files back and install your programs from their official sites. Windows Security is already on.

If a blue screen appears after installing a driver, write down the code and look it up in Windows error codes: it is almost always fixed by going back to the previous version of that driver. The Windows repair commands page has sfc, DISM and the other commands ready to copy.

Sources

Sources checked on November 17, 2026. Boot menu keys and menu names can vary with the model and the Windows version.

Leer en español