To factory reset Windows 10, select Start > Settings > Update & Security > Recovery, select Get started under Reset this PC, choose Keep my files or Remove everything, pick Cloud download or Local reinstall, and follow the prompts until you select Reset. Windows then reinstalls itself, which takes a while and restarts the PC several times. If Settings won’t open or Windows won’t start, the same reset is available from the blue recovery screens, covered further down.
A factory reset (also called a hard reset or a wipe) reinstalls Windows 10, not Windows 11. Windows 10 reached end of support on October 14, 2025, so a freshly reset PC still won’t get security fixes unless it’s enrolled in Extended Security Updates, which Microsoft offers to home users through October 12, 2027. If your PC can run Windows 11, consider updating to Windows 11 from Windows 10 instead of resetting.
Try a smaller fix first
A reset is the big hammer. If trouble started recently, for example after installing an app or driver, a System Restore on Windows 10 can roll system files and settings back to an earlier restore point without touching your personal files. If you only want to stop using your Microsoft account on the PC rather than erase anything, switching Windows 10 to a local account is the lighter option. And if a forgotten password is the only reason you’re here, try the official ways to reset a Windows 10 password before you erase anything.
What each reset option does
Reset this PC asks you a few questions. Here’s what the choices mean, using Microsoft’s own descriptions from its Reset your PC page.
| Option | What it does | Good for |
|---|---|---|
| Keep my files | Reinstalls Windows and keeps your personal files (documents, photos and so on), but removes your apps and resets your settings. | Fixing a slow or misbehaving PC you plan to keep |
| Remove everything | Reinstalls Windows and removes your personal files, apps and settings. | A completely fresh start, or a PC you’re selling or giving away |
| Clean data (Remove everything only) | Also cleans the drive so deleted files are much harder to recover. Takes considerably longer. | Any PC leaving your hands |
| Cloud download | Downloads a fresh copy of Windows from Microsoft. Needs an internet connection and several gigabytes of data. | When local Windows files may be damaged |
| Local reinstall | Rebuilds Windows from the Windows files already on the PC. No download needed, but it can fail if those files are damaged. | Slow or metered internet |
| Restore preinstalled apps (Keep my files) | Puts back the apps and customizations your PC maker installed at the factory. | PCs whose maker apps you rely on |
Note that “Keep my files” is not the same as “nothing changes.” Every app you installed yourself, from browsers to games to Microsoft Office, is removed either way.
Before you reset: back up, find your keys, plug in
Do these before you select Reset. The reset itself can’t be undone.
- Back up your files. Even if you plan to choose Keep my files, copy anything important to an external drive or OneDrive first. The built-in options, including File History to an external drive and the Windows Backup app, are explained in this walkthrough on how to back up a Windows 10 computer.
- Find your BitLocker recovery key. If the drive is encrypted with BitLocker or device encryption, Microsoft warns you’ll need the recovery key, especially if the reset runs from the recovery screens, but have it ready either way. For most home PCs signed in with a Microsoft account, the key is stored online at aka.ms/myrecoverykey; check it from another device and write it down. Microsoft support can’t recover a lost key, and without it a locked drive can’t be opened.
- List your apps and licenses. Note the apps you’ll need to reinstall and where they came from. Microsoft 365 and most current Office versions are tied to your Microsoft account, so you reinstall them by signing in with that account rather than typing a product key. For other paid programs, find their license keys or sign-ins now, and sign out of or deactivate any that limit how many PCs you can use.
- Know your Microsoft account password. You’ll sign in during setup after a reset, so make sure you can.
- Plug in the power. A laptop that dies halfway through can leave Windows unusable. Keep it on the charger the whole time.
- Disconnect what you don’t need. Unplug external drives, memory cards and USB sticks so nothing on them is confused for the drive you’re resetting.
Factory reset Windows 10 from Settings
This is the normal route when Windows starts and you can sign in.
- Open Recovery. Select Start > Settings (the gear icon) > Update & Security, then select Recovery in the left pane.
- Start the reset. Under Reset this PC, select Get started. A blue “Choose an option” window opens.
- Choose what to keep. Select Keep my files or Remove everything. Remember: Remove everything deletes all your personal files, and both choices remove your apps.
- Choose how to reinstall. Select Cloud download or Local reinstall. If one of them fails later, you can come back and try the other.
- Review Additional settings. The next screen summarizes your choices. Select Change settings to adjust them. With Remove everything, this is where you turn on Clean data (and, on PCs with more than one drive, choose whether to remove files from all drives or only the Windows drive). With Keep my files, it’s where Restore preinstalled apps appears, if your PC offers it. Select Confirm, then Next. If you also need to erase a second internal or external drive, the steps to wipe a hard drive in Windows 10 cover diskpart clean all and full formats.
- Read the final list. If you chose Keep my files, Windows can show the apps that will be removed. Windows may also warn that you won’t be able to go back to a previous version of Windows. Select Next if you see these.
- Select Reset. This is the point of no return. The PC restarts and begins reinstalling Windows.
While it runs: leave the PC alone. Microsoft notes the screen can stay black for a long time (sometimes more than 15 minutes) and the PC may restart itself; restarting it yourself can make the reset fail. How long the whole reset takes depends on the PC’s speed, the options you chose and, for Cloud download, your internet connection. Clean data adds the most time.
When it finishes: Windows shows the first-time setup screens. Choose your region and keyboard, connect to Wi-Fi and sign in. Then open Settings > Update & Security > Windows Update and install everything offered, reinstall your apps, and restore your files from the backup if you used Remove everything. Windows Security, the antivirus built into Windows 10, comes back with the reset, so you don’t need to add another antivirus program to be protected.
Reset Windows 10 when Settings won’t open or Windows won’t start
You can run the same reset from the Windows Recovery Environment (Windows RE), the blue “Choose an option” screens that load outside Windows. Use one of these ways in:
- From the sign-in screen: select the power icon in the lower-right corner, then hold Shift while you select Restart. This also works from the Start menu’s power button if you can get to the desktop.
- From Settings, if it opens: Settings > Update & Security > Recovery, then Restart now under Advanced startup.
- Automatically: Windows opens Windows RE by itself after two failed attempts to start in a row. If your PC keeps failing to boot, let it try again and watch for the Automatic Repair or “Choose an option” screen.
Once you’re in:
- Select Troubleshoot.
- Select Reset this PC.
- Choose Keep my files or Remove everything, then Cloud download or Local reinstall, and follow the prompts as in the Settings method. Enter your BitLocker recovery key if asked.
Some brand-name PCs also have the maker’s own recovery tool, opened with a key at startup or an extra entry in the recovery screens. It can work too, but Reset this PC is the same on every Windows 10 PC.
Wipe a Windows 10 PC before you sell or give it away
For a PC that’s leaving your home, a plain reset isn’t enough. Do it in this order:
- Back up and move your files to your new PC or an external drive.
- Sign out of and deauthorize apps that count devices, such as music, creative or security software.
- Reset with Remove everything and Clean data turned on. In step 5 of the Settings method, select Change settings and turn on Clean data. If the PC has a second internal drive with your files, choose to remove files from all drives. Microsoft says this cleaning makes removed files much harder to recover, but it’s designed for consumers and doesn’t meet government or industry data-erasure standards.
- Remove the PC from your Microsoft account. On any device, go to account.microsoft.com/devices and sign in. Find the PC, select Show details, then More actions > Remove, tick I’m ready to remove this device, and select Remove. Microsoft’s checklist, Before you recycle, sell or gift your Xbox or Windows PC, covers these steps.
- Stop at the first setup screen. When the reset finishes and Windows asks for your region, you can turn the PC off there (hold the power button) so the new owner sets it up with their own account.
Already on Windows 11? The steps differ slightly; see how to wipe a Windows 11 PC before selling it.
If the reset fails
If you see “There was a problem resetting your PC,” or the reset rolls back on its own, try these in order:
- Switch the reinstall source. If Local reinstall failed, run the reset again and choose Cloud download, or the other way around. Damaged local files are a common cause, and Cloud download doesn’t rely on them.
- Run the reset from Windows RE using the steps above rather than from Settings.
- Reinstall from a USB drive. If Reset this PC still won’t finish, create Windows 10 installation media on another PC and do a clean install, which erases the drive and installs Windows from scratch. The steps are in this guide to clean install Windows 10 from a USB drive, and the walkthrough to reformat Windows 10 compares that route with Reset this PC and covers the BitLocker and backup checks.
A reset always puts Windows 10 back. If you want Windows 10 gone entirely, see how to remove Windows 10 with a clean install of another system or an upgrade to Windows 11.
Check that it worked
- You reach the first-time setup screens (after Remove everything) or your sign-in screen with your files in place (after Keep my files).
- Your own apps are gone from the Start menu, and only Windows apps (plus maker apps, if you restored them) remain.
- Settings > Update & Security > Activation shows that Windows is activated. PCs that were activated before usually reactivate on their own once online.
There’s no undo. If you need something back, restore it from your backup.
Common questions about factory resetting Windows 10
Is a factory reset the same as “Reset Windows 10”?
Yes. Both terms refer to Reset this PC. “Reset Windows 10” is simply the shorter name people search for, and the steps on this page cover both the Keep my files and Remove everything options.
Do I need the internet to reset Windows 10?
Only for Cloud download. Local reinstall works offline. You’ll want a connection afterward for Windows Update and to sign in with a Microsoft account.
Will a factory reset remove viruses?
Remove everything reinstalls Windows and deletes your files and apps, which removes most malware along with them. Keep my files keeps your personal files, so anything hiding among them stays. Scan restored backup files with Windows Security before opening them.
Will a reset speed up my PC?
Often, because it clears out apps and settings that piled up. It won’t help if the slowdown comes from failing hardware, a nearly full drive or too little memory.
Ready to start? Make your backup, write down your BitLocker key, plug in the charger, and open Settings > Update & Security > Recovery.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.