How to Factory Reset Windows 11 and 10

To factory reset Windows, open Settings and go to System > Recovery in Windows 11 (or Update & Security > Recovery in Windows 10). Click Reset PC (or Get started), choose Keep my files or Remove everything, pick Cloud download or Local reinstall, and click Reset. Windows reinstalls itself and restarts several times. It usually takes 30 minutes to 2 hours.

This beginner-friendly guide explains each choice, what to do before you start, how to reset a PC that won’t start or that you can’t sign in to, and what to do afterward.

Before you reset

  • Back up your files to OneDrive, an external drive, or another cloud service, even if you plan to choose Keep my files.
  • Get your BitLocker recovery key if your drive is encrypted. You may be asked for it. See how to find your BitLocker recovery key.
  • Know your Microsoft account password. You’ll need it to sign back in.
  • Plug in your laptop so it doesn’t run out of power partway through.
  • Note your apps. All installed apps are removed, even with Keep my files. Windows saves a list of removed apps on the desktop afterward.
  • Sign out of apps with license limits, such as Adobe or Microsoft 365, to free up an activation.

Keep my files vs. Remove everything

Keep my files Remove everything
Personal files (Documents, Photos, Desktop) Kept Deleted
Installed apps Removed Removed
Settings Reset to default Reset to default
Best for Fixing a slow or buggy PC Selling, giving away, or starting completely fresh

Cloud download vs. Local reinstall

  • Cloud download downloads a fresh copy of Windows from Microsoft, about 4 GB or more. Choose it if your PC has problems that a local reinstall might not fix, or if a local reset fails.
  • Local reinstall rebuilds Windows from files already on your PC. It doesn’t need an internet connection and can be faster on slow connections.

Both give you a working Windows installation. If you’re not sure, choose Cloud download.

How to factory reset Windows 11

  1. Press Windows + I to open Settings.
  2. Click System > Recovery.
  3. Next to Reset this PC, click Reset PC.
  4. Choose Keep my files or Remove everything.
  5. Choose Cloud download or Local reinstall.
  6. On the Additional settings screen, click Change settings if you want more options (see below), then click Next.
  7. Review the summary and click Reset.
Windows 11 Settings Recovery page with the Reset PC button highlighted and the Choose an option dialog showing Keep my files and Remove everything
(1) Click Reset PC, then choose (2) Keep my files or (3) Remove everything. (Illustration)

How to factory reset Windows 10

  1. Open Settings > Update & Security > Recovery.
  2. Under Reset this PC, click Get started.
  3. Follow the same choices as Windows 11 above, then click Reset.

Windows 10 reached end of support in October 2025. After resetting, consider upgrading to Windows 11 if your PC is eligible, or enroll in Extended Security Updates if it’s offered for your region.

Extra options when removing everything

If you choose Remove everything and click Change settings, you’ll see:

  • Clean data? Turn this on if you’re giving the PC away. Windows overwrites the drive so files are much harder to recover. It can add an hour or more.
  • Delete files from all drives? Turn this on to also erase other internal drives, not just the Windows drive.
  • Restore preinstalled apps? On some PCs, this puts back apps the manufacturer installed.

For selling or recycling a PC, see how to wipe a computer with Windows 11.

How to reset a PC that won’t start or that you can’t sign in to

  1. On the sign-in screen, hold Shift while you click the Power icon > Restart.
  2. If Windows won’t load at all, turn the PC on and off three times as the logo appears. Windows should open Automatic Repair. Click Advanced options.
  3. Click Troubleshoot > Reset this PC.
  4. Choose your options and follow the prompts.

If you forgot your password, choose Remove everything. Keep my files may ask you to sign in as an administrator. You can also reset a Microsoft account password online from another device first.

How long does a factory reset take?

On an SSD, a basic reset takes about 30 minutes to an hour. Cloud download adds download time. Clean data on a large hard drive can take several hours. Don’t turn off the PC during the reset.

After the reset

  1. Complete the setup screens and sign in.
  2. Go to Settings > Windows Update and install all updates.
  3. Reinstall your apps. If you kept your files, check the Removed Apps list on your desktop.
  4. Restore any files from your backup.
  5. Check that Windows is activated in Settings > System > Activation. A reset keeps your digital license.

Reset failed? Try these fixes

  • “There was a problem resetting your PC. No changes were made.” Try the other option, such as Cloud download instead of Local reinstall, or start the reset from Troubleshoot in advanced startup.
  • Not enough space. Free up space or remove large files first. Cloud download needs extra room for the download.
  • Still failing. Run Fix problems using Windows Update on the Recovery page, or do a clean install from a USB drive made with Microsoft’s Media Creation Tool.

Related: reset a Motorola phone.

Frequently asked questions

Will a factory reset remove viruses?

Remove everything removes most malware. For stubborn infections, use Cloud download, or do a clean install from USB.

Do I need a product key after resetting?

Usually not. Windows reactivates automatically with your digital license once you’re online.

Is a factory reset the same as a hard reset?

People often use “hard reset” to mean either a factory reset or holding the power button to force a restart. On Windows, a factory reset is what reinstalls Windows. Holding the power button just restarts the PC.

Can I undo a factory reset?

No. Once it starts, removed apps and files can’t be restored except from a backup.