• Skip to main content
  • Skip to primary navigation
  • Skip to footer

We use Google Analytics and Microsoft Clarity to see which articles help readers and where pages need work. They set cookies only if you agree. The site works the same either way. Privacy policy

TechLila Logo

TechLila

Bleeding Edge, Always

  • Android on PC

    Android on PC

    Full Android builds, emulators and what runs well on the hardware you have.

    All Android on PC guides

    Start with

    • Best Android OS for PC
    • Android OS for low-end PCs
    • Android OS for laptops
    • Emulators for Android games on PC
    • Run Android apps on a PC

    Also on Android

    • Android versions, with their names
    • Best Android dialer apps
    • Android launchers
    • Best Android ROMs
    • LineageOS review
  • PC Customization

    PC Customization

    Skins, themes, dark modes and sound tweaks that make Windows and your media players your own.

    All customization guides

    Start with

    • VLC skins
    • Windows 11 dark themes
    • Kodi skins
    • Windows 10 sound equalizers
    • Change folder colors in Windows

    Windows and VLC tweaks

    • Windows 11 debloat
    • Windows 10 tips and tricks
    • Free Windows tools
    • Install Windows 11 26H2
    • VLC shortcuts
  • Mac Apps

    Mac Apps

    Launchers, Setapp and the apps worth paying for on a Mac.

    All Mac app guides

    Start with

    • Best Mac apps
    • Raycast vs Spotlight
    • Raycast alternatives
    • Setapp review
    • Best Setapp apps
    • Run Windows apps on a Mac

    Apple in numbers

    • macOS market share
    • Mac gaming
    • Apple services revenue
    • Mac sales
    • macOS developers
  • Topics

    Topics

    Every TechLila guide, sorted by subject.

    All articles, newest first

    Computers

    • Windows
    • Mac
    • Linux
    • All computer guides

    Phones and the web

    • Android
    • iPhone
    • Internet
    • Technology
  • Deals and Offers
  • Contact
TechLila Logo
FacebookPostLinkedInPin
How to Factory Reset Windows 11 (Keep Files or Wipe Everything)

TechLila Computer Windows

How to Factory Reset Windows 11 (Keep Files or Wipe Everything)

Last updated on November 21, 2026 UTC
Avatar of Rajesh Namase Written by Rajesh Namase
Avatar of Rajesh Namase Reviewed by Pavan Lipare

You factory reset Windows 11 from the Settings app: select System > Recovery, then under Recovery options select Reset PC. Windows then asks you to choose Keep my files or Remove everything, and Cloud download or Local reinstall. Remove everything with Clean data turned on is the option Microsoft names for anyone planning to donate, recycle or sell the PC. That is how to factory reset Windows 11 on a PC that still starts; the sections below add the routes for one that does not.

Expect a long wait: The screen might go black for a long period of time (occasionally upwards of 15 minutes). Microsoft’s recovery guide says Reset this PC is most disruptive and tells you to try the options above it first. The steps below follow Microsoft’s support pages as of November 2026 and cover a PC that will not start, a PC you are selling, and the newer Cloud rebuild.

  • Key Takeaways
  • Before You Reset: Back Up Files and Find Your BitLocker Key
  • Let an AI Agent Check Your PC Before You Reset
  • Step 1: Open Reset This PC in Settings
  • Step 2: Choose Keep My Files or Remove Everything
    • What does a factory reset do?
  • Step 3: Pick Cloud Download or Local Reinstall
    • Does a factory reset work on Windows 11 Home and Pro?
  • Step 4: Start the Reset and Let It Finish
    • Can I stop a factory reset?
  • How to Factory Reset Windows 11 From Windows RE or Boot
    • Can you factory reset Windows 11 from BIOS?
  • How to Wipe Windows 11 Before Selling or Recycling a PC
  • Cloud Rebuild: The Newer Full Wipe in Windows 11
  • Try Reinstall Now Before a Reset If You Want to Keep Your Apps
  • Is Reset this PC the same as a factory reset?
  • Which reset option should you choose?

Key Takeaways

  • Go to Settings > System > Recovery and select Reset PC, then leave the PC alone if the screen stays black for upwards of 15 minutes.
  • If a problem started after a version upgrade, going back to the previous version is available for 10 days after upgrading, a lighter fix than a reset.
  • A BitLocker recovery key is a 48-digit number, and Microsoft Support cannot retrieve a lost one.
  • Cloud rebuild needs the October 2026 Windows non-security update or later for your version of Windows 11.
  • Reinstall Windows (Windows 11, version 22H2 or later) keeps your files, apps and settings, and Microsoft lists it at option 2, ahead of Reset this PC at option 5.

Before You Reset: Back Up Files and Find Your BitLocker Key

Microsoft Support tells you to back up important files before you begin and, if your device is encrypted, to make sure you have your BitLocker recovery key. That key is a 48-digit number that lets you regain access to your drive, and Microsoft Support doesn’t have the ability to retrieve, provide, or recreate a lost key.

Before you start: Windows Backup can copy your Desktop, Documents, Pictures, Videos and Music folders to OneDrive. If the BitLocker key is backed up to your Microsoft account, open aka.ms/myrecoverykey from another device and sign in to find it. Keep a laptop on its charger for the whole reset.

To open Windows Backup, search for it in the Start menu, then expand Folders and toggle each folder you want saved to OneDrive. The same app can back up installed apps, accessibility settings, and accounts, Wi-Fi network and passwords.

DIGITS · Source: Microsoft Support 2026 BitLocker Recovery Key Length (Digits) DIGITS Microsoft Support · 2026 48 SOURCE Microsoft Support 2026

If you can’t find the BitLocker recovery key and are unable to undo any changes that caused it to be needed, you’ll have to reset your device using one of the Windows recovery options, and resetting your device will remove all of your files. Find the key before you start, while you still have a working Windows session to look from.

Let an AI Agent Check Your PC Before You Reset

An AI agent that can run commands on Windows can check the backup and BitLocker steps above for you before you reset. Copy the prompt below into it and fill in the two lines under “My details”. It only reads: it reports what is ready in one table and gives you a checklist, and you start the reset yourself.

Goal: check that this PC is ready for a factory reset. Don't start the reset; I'll do that myself.

My details (edit these):
- Reset type: Keep my files or Remove everything
- Reason: fixing problems, or selling or giving away the PC

Ground rules:
- Read only. Change nothing, delete nothing and never start Reset this PC.
- Never show my BitLocker recovery key in the chat. Only tell me whether it's saved and where I can find it.
- If you need an admin password, ask me to type it. Never save or repeat it.
- Never guess; if a reading isn't available, write "not measured" and say why.

Phase 1: Check
A. Backups: whether OneDrive or File History is backing up my Desktop, Documents and Pictures, when the last backup ran, and which large folders in my user profile are not backed up.
B. Encryption: whether BitLocker or Device encryption is on, and whether a recovery key is saved to my Microsoft account.
C. Apps: a list of installed apps I would have to reinstall, with the ones that need a license key marked.
D. Windows: activation status, the Microsoft account I sign in with, free disk space, and whether the Windows Recovery Environment is enabled.

Phase 2: Report
Open with two sentences: whether the PC is ready for the reset type I chose, and the one thing to do first. Then put everything you checked in one table with three columns: Check, Reading and Verdict. A verdict is 🟢 ready, 🟡 check this or 🔴 fix before resetting. One row might read:

Check: Documents backup
Reading: Last OneDrive sync 41 days ago
Verdict: 🔴 Fix before resetting. Sync or copy Documents first

Phase 3: Checklist
Give me a short checklist of what to do before I click Reset, in order, and stop there.

Run it only on your own PC, and never let an agent start the reset for you: Reset this PC can erase files that no backup covers. The prompt also keeps your BitLocker recovery key out of the chat.

Step 1: Open Reset This PC in Settings

Microsoft Support says you can reset your PC when you are signed in to Windows or from the Windows Recovery Environment (Windows RE). The Settings route is the one to use when Windows still starts, and it takes 4 steps:

  1. In the Settings app on your Windows device, select System > Recovery.
  2. Recovery options is where you select Reset PC.
  3. Choose from the options and settings in the reset options table, covered in Step 2 and Step 3.
  4. Follow the on-screen instructions to complete the reset.

Microsoft’s page for selling or gifting a device gives the same steps: in the Settings app select System > Recovery, then select Reset PC; in Windows 10, Recovery sits under Update & Security.

Step 2: Choose Keep My Files or Remove Everything

Microsoft Support describes Keep my files, also known as Refresh, as reinstalling Windows while keeping your personal files intact and removing apps and settings. Remove everything, also known as Reset, reinstalls Windows and removes all your personal files, apps, and settings. Pick Keep my files to repair a working PC and Remove everything to hand it on.

Step 2: Choose Keep My Files or Remove Everything
What happens
Keep my files
Remove everything
Personal files
Kept
Removed
Apps you installed
Removed
Removed
Settings
Removed, except settings Microsoft lists as preserved, such as user accounts, Windows Update settings and wireless network profiles
Removed
Extra option
Restore preinstalled apps
Clean data
Microsoft’s suggested use
Try first, unless selling (Surface page)
A fresh start, or giving away or selling the PC

Source: Microsoft Support, Microsoft Learn 2026

Turning on Restore preinstalled apps, offered with Keep my files, applies any customizations from the PC manufacturer, so leave it off if you do not want the PC manufacturer’s customizations applied again. Clean data, offered with Remove everything, removes files and cleans the drive, which might take some time.

What does a factory reset do?

Push-button reset builds a new copy of Windows from runtime system files in the Windows Component Store, which makes recovery possible even without a separate recovery image. It restores Windows to an updated state rather than to the factory-preinstalled state, and all updates installed on the PC will be restored.

Microsoft Learn’s push-button reset documentation lists what Keep my files preserves: user accounts, domain settings, Windows Update settings, library settings, the lock screen background, desktop themes, international settings and wireless network profiles. It refreshes the Windows, Program Files and ProgramData folders plus the AppData Local, LocalLow and Roaming folders in each user profile, and those AppData folders are available in Windows.old afterward. Files on non-OS partitions and File History versioning data are preserved.

Apps get the opposite treatment: Windows apps you acquired from the Microsoft Store are not preserved, and user-acquired desktop applications must be reinstalled manually. List your desktop apps and their license keys before you reset, because Keep my files keeps your documents, not your software.

On a PC with more than one user-accessible drive volume, Remove everything lets you remove data from all volumes or only the Windows volume. The Windows volume is never formatted; user data files on it are deleted individually, while data volumes are formatted if you choose all volumes.

Step 3: Pick Cloud Download or Local Reinstall

Microsoft Support says Cloud download fetches a fresh copy of Windows from the cloud with all updates and is useful if your local files are corrupted or missing. Local reinstall uses the files already on your PC, is faster on a slow internet connection, and may not include the latest updates.

Cloud download arrived in Windows 10, version 2004, and Microsoft says it can decrease the overall time it takes to reset if using high speed internet. Microsoft’s Surface reset page puts it plainly: “We recommend using Cloud download.” Choose Local reinstall only when your connection is slow or metered and Windows itself has been stable.

Started from Settings, a reset also scans the system files in the Windows Component Store for corruptions and downloads replacements through Windows Update when it can. Microsoft notes this increases the overall recovery time but improves reliability.

Does a factory reset work on Windows 11 Home and Pro?

Yes. Push-button reset was introduced in Windows 8 and is included in Windows 11 for desktop editions (Home, Pro, Enterprise, and Education). One exception applies to LTSC editions: Cloud download isn’t supported on LTSC editions.

Step 4: Start the Reset and Let It Finish

Microsoft Support warns that the screen might go black for a long period of time (occasionally upwards of 15 minutes) and that the device might attempt to restart itself. Manually attempting to restart the device yourself during this process could cause the reset to fail. Start the reset when you can leave the PC untouched.

Close open work, plug in the charger, and confirm the summary screen lists the options you meant to pick before you select Reset.

Can I stop a factory reset?

Not safely. Microsoft says manually restarting the device during the process could cause the reset to fail. Reset this PC has been redesigned to support limited rollback if a problem occurs while the PC is in Windows RE. Back out before you confirm the final screen.

How to Factory Reset Windows 11 From Windows RE or Boot

Microsoft Support’s Windows RE page says that when you restart your PC, pressing and holding the Shift key while you select Power > Restart opens the recovery environment. In Windows RE, select Troubleshoot > Reset this PC, then choose the same options as Step 2.

The table lists the routes into Windows RE that Microsoft’s Windows RE page describes.

How to Factory Reset Windows 11 From Windows RE or Boot
Route into Windows REHow to start it
Restart menuHold Shift while you select Power > Restart
SettingsSystem > Recovery, then Restart now next to Advanced startup
Automatic RepairForce a shutdown at the logo twice; the third start opens Automatic Repair
Hardware recovery buttonOn some devices, a dedicated button or button combination, usually set by the manufacturer
Recovery driveBoot from a USB recovery drive you created earlier
Windows Repair DiscBoot from a CD/DVD Windows Repair Disc you created earlier
Installation mediaBoot from a USB drive or DVD made with the Media Creation Tool

Source: Microsoft Support 2026

If Windows fails to start correctly multiple times, it will automatically enter Windows RE. You can also force it: press and hold the power button as soon as the Windows logo appears, repeat that once more, and turn the device on a third time to reach the Automatic Repair screen, then select Advanced options.

If you’ve encrypted your device, you’ll need your BitLocker key to complete a reset from Windows RE. With no recovery drive or repair disc, the Media Creation Tool can create a bootable USB drive or DVD that boots into Windows RE.

Can you factory reset Windows 11 from BIOS?

Not directly. You start your device from a USB recovery drive, and the process to boot from a USB drive may vary by manufacturer, so refer to your device’s manual if needed. When the PC is booted from recovery media, Keep my files and Remove everything are no longer supported, and the only push-button reset feature available is bare metal recovery (Recover from a drive).

See also
Fix Windows Bootloader and BOOTMGR Is Missing Errors

How to Wipe Windows 11 Before Selling or Recycling a PC

Microsoft Support says to use Remove everything with Clean data turned on if you’re planning to donate, recycle, or sell your PC, because it makes it harder for other people to recover files you’ve removed. After you’ve backed up and reset the device, Microsoft says you should remove it from your Microsoft account. Removing and then unlinking it takes 4 steps:

  1. Go to account.microsoft.com/devices, sign in, and find the device you want to remove.
  2. Pick the device’s Show details link, then under the device’s name select More actions > Remove.
  3. Select the box for I’m ready to remove this device, then select Remove.
  4. Back at account.microsoft.com/devices, select Unlink so the device doesn’t affect your Microsoft Store device limit.

On a Surface, Microsoft says fully cleaning the drive might take an hour or two. The time data erasure takes depends on drive speed, partition size, and whether the drive is encrypted using BitLocker Drive Encryption. If you are wiping from a recovery drive instead, select Recover from a drive in Windows RE and choose Fully clean the drive.

Erasure limits: Microsoft states that the data erasure functionality is targeted at consumers and does not meet government and industry data erasure standards. A device that must meet a government or industry erasure standard needs a different erasure process.

Cloud Rebuild: The Newer Full Wipe in Windows 11

Cloud rebuild reinstalls Windows on your PC with a fresh copy of Windows and drivers from Windows Update, and it needs the October 2026 Windows non-security update or later for your version of Windows 11. It removes everything on your PC, including personal files, accounts, apps, and settings, while files saved in OneDrive or another cloud service aren’t affected.

To start it, go to Settings > System > Recovery and select Rebuild PC. You can get the update through Windows Update or download KB5127936 from the Microsoft Update Catalog.

Cloud rebuild then asks how thoroughly to remove your files: Remove files is faster, but someone with special recovery tools might still recover them, while Remove & sanitize makes data much harder to recover and takes longer. When you choose Remove & sanitize, Windows asks your PC’s storage hardware to erase the data using the strongest method your disk supports, and Windows can’t independently check what the disk did.

Microsoft lists the differences from Reset this PC: Reset this PC can keep your personal files, Cloud rebuild always removes everything, and Cloud rebuild doesn’t rely on the Windows files already on your PC. Microsoft’s advice is that if Reset this PC doesn’t work, try Cloud rebuild.

Try Reinstall Now Before a Reset If You Want to Keep Your Apps

Microsoft’s Recovery options page ranks fixes from least to most disruptive, and Reinstall Windows, at option 2, reinstalls the current version without affecting your files, apps, or settings on Windows 11, version 22H2 or later. Reset this PC sits at option 5, with the note that it is most disruptive.

Try Reinstall Now Before a Reset If You Want to Keep Your Apps
Order
Recovery option
Effect on your data
Availability
1
Run a troubleshooter
Finds and fixes common problems
Windows 10 and Windows 11
2
Reinstall Windows
Files, apps and settings not affected
Windows 11, version 22H2 or later
3
Uninstall a Windows update
Files and apps not affected
Windows 10 and Windows 11
4
Point-in-time restore
Changes after the restore point are lost
Windows 11, version 24H2 or later
5
Reset this PC
Keep personal files or remove everything
Windows 10 and Windows 11
6
Cloud rebuild
Removes all personal files, apps and settings
Windows 11

Source: Microsoft Support 2026

  1. Go to Start > Settings > System > Recovery.
  2. Reinstall now, under Fix problems using Windows Update, is the button to select.
  3. Choose whether the PC may restart automatically 15 minutes after the installation completes, then select OK.

The process reinstalls the same version of Windows already on your PC, repairs system files and components, and preserves your apps, files, and settings. If the trouble began after a recent upgrade, going back to the previous version is available for 10 days after upgrading. A PC that has slowed down over time is a case for the four gentler options on that list before option 5.

Is Reset this PC the same as a factory reset?

Reset this PC is close to a factory reset, with one difference. Push-button reset restores Windows to an updated state rather than to the factory-preinstalled state, and all updates installed on the PC will be restored.

Turning on Restore preinstalled apps brings back the customizations from the PC manufacturer. With it on, Keep my files applies the manufacturer’s customizations, while your personal files, user accounts and installed updates stay in place.

See also
25 Computer Maintenance Checklist to Keep Your Computer Safe

Which reset option should you choose?

Keep my files reinstalls Windows while keeping your personal files intact, and Remove everything with Clean data is the option for a PC you plan to sell. Either way, the path starts at Settings > System > Recovery > Reset PC, and the screen may go black for upwards of 15 minutes, so plug in and wait it out.

If you are fixing a problem rather than selling, try Reinstall now first if your PC runs Windows 11, version 22H2 or later; it repairs system files and components and keeps your apps. If a standard reset fails, Cloud rebuild downloads both Windows and your PC’s drivers from Windows Update.

References

  • Reset your PC
  • How push-button reset features work
  • Push-button reset overview
  • Windows Recovery Environment
  • Find your BitLocker recovery key
  • Reset or recover your Surface
  • Recovery options in Windows
  • Fix issues by reinstalling the current version of Windows
  • Recovery Drive
  • Cloud rebuild
  • Before you recycle, sell, or gift your Xbox or Windows PC
  • Back up your Windows PC

More on TechLila

  • Windows Startup Repair: Fix a Boot Failure
  • History of Windows Operating System
  • How to Disable Fast User Switching in Windows 10

Sharing is Caring

FacebookPostLinkedInPin
Avatar of Rajesh Namase

Rajesh Namase

Rajesh Namase is an entrepreneur from Pune, India, and the founder of TechLila, where he writes about technology, SEO and the tools he builds. He started blogging in September 2010 on Namase.com, the blog TechLila grew out of, and is counted among India's pioneering tech bloggers. He is also the co-founder and CEO of WebGeeksMedia. Away from work, it's badminton and yoga.

Category

  • Windows

Tags

Windows Tips

Reader Interactions

No Comments Logo

Leave a comment

Have something to say about this article? Add your comment and start the discussion.

Add Your Comment Cancel reply

Comment (required)

TechLila Footer Text Logo

Footer

About

TechLila’s mission is to help you get more out of the computer and phone in front of you. Since September 2010 we have published practical guides, app comparisons and technology statistics for people who use Windows, Mac, Linux, Android and iPhone.

Site Links

  • About
  • Contact Us
  • Brand Assets
  • Feedback Policy

Standards

  • Editorial Policy
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Stats Methodology
  • How We Test

Legal

  • Privacy Policy
  • Terms
  • Disclaimer

Copyright © 2010–2026 TechLila. All Rights Reserved. · Cookie settings

Back to top