Factory Reset Windows 11: Keep My Files or Remove Everything
Reset this PC reinstalls Windows 11 on the drive it is already on. You make three decisions along the way: where to start it from (Settings, or the recovery screen if you can't sign in), whether to keep your personal files, and whether Windows should download a fresh copy or rebuild itself from files already on the PC. Get those three right and the rest is waiting.
It is also the heaviest tool Windows gives you. Microsoft's own recovery options page lists it near the bottom, after troubleshooters, uninstalling a recent update, and the newer Point-in-time restore (Windows 11, version 24H2 or later). If you are resetting to fix a problem rather than to wipe the PC, those are worth a look first. This guide follows Windows 11 versions 24H2 and 25H2.

Answer the three questions from top to bottom before you click anything; the sections below follow the same order.
What you need before you factory reset Windows 11
Two things can stop a reset halfway or cost you data: files that were never backed up, and a BitLocker recovery key you can't find. Sort both out first.
| Item | Why it matters | Where to get it |
|---|---|---|
| A backup of your files | Remove everything deletes them, and even Keep my files is not a reason to skip a backup. | Copy them to an external drive, or check they have finished syncing to OneDrive. |
| Windows Backup turned on | Lets you bring back apps and settings when you set the PC up again. | Settings > Accounts > Windows Backup |
| Your BitLocker recovery key | On an encrypted drive, Windows RE asks for it before most recovery options will run. | Your Microsoft account at aka.ms/myrecoverykey, a printout, or a USB drive. See Microsoft's BitLocker key guide. |
| Power and internet | A laptop that dies mid-reset can leave Windows unable to start. Cloud download needs a working connection. | Plug in the charger. Ethernet is the safest option if you have it. |
| Your Microsoft account password | You sign in again during setup after the reset. | Test it at account.microsoft.com before you start. |
Microsoft's Surface support page also suggests installing pending updates before a reset, since that can make the reset more reliable. If updates won't install either, our guide to Windows 11 updates that get stuck covers that first.
Keep my files or remove everything?
Pick Keep my files if you are keeping the PC and want a clean Windows; pick Remove everything if the PC is leaving your hands or you want nothing carried over.
- Keep my files reinstalls Windows and keeps your documents, photos and other personal files. Apps you installed and your settings are removed, so plan to reinstall programs afterward. A setting called Restore preinstalled apps decides whether the PC maker's own apps and customizations come back.
- Remove everything reinstalls Windows and deletes personal files, apps and settings. Its Clean data setting also cleans the drive so removed files are harder to recover, which takes noticeably longer.
Cloud download vs local reinstall
The next screen asks where the new copy of Windows comes from.
- Cloud download gets a fresh copy of Windows from Microsoft with current updates included. Choose it when Windows has been crashing or acting corrupted, because it doesn't rely on the files that may be damaged. Microsoft recommends it on its Surface pages.
- Local reinstall rebuilds Windows from files already on the PC. It avoids a large download on a slow or metered connection, but the result may be missing recent updates.
If one of them fails, the other is the first thing to try (see the last section).
How to reset Windows 11 from Settings
If you can sign in, start here. It takes a few clicks to begin; the reinstall itself runs on its own afterward.
- Open Settings > System > Recovery.
- Under Recovery options, find Reset this PC and select Reset PC.
- Choose Keep my files or Remove everything.
- Choose Cloud download or Local reinstall.
- Windows shows a summary of what it will do. If you want Clean data or Restore preinstalled apps, change those settings from this summary before moving on.
- Read the list of what will be removed, confirm, and let the PC restart.
A black screen for 15 minutes can be normal
Microsoft notes the screen may stay black for a long time during a reset, occasionally more than 15 minutes, and the PC may restart itself. Restarting it by hand during this stage is one of the ways a reset fails, so leave it alone and keep it plugged in.
Reset Windows 11 from the sign-in screen or when it won't start
When you can't get to Settings, for example after a forgotten PIN or a broken update, the same reset is available in the Windows Recovery Environment (Windows RE).
From the sign-in screen
- On the sign-in screen (press Windows logo key + L to get there if you are signed in), hold Shift and select Power > Restart in the lower-right corner.
- After the PC restarts to the Choose an option screen, select Troubleshoot > Reset this PC, then make the same choices as in the section above.
When Windows won't start at all
Windows opens the recovery environment by itself after it fails to start several times in a row. You can trigger that on purpose: turn the PC on, and as soon as the Windows or manufacturer logo appears, hold the power button until it shuts off. Do this twice. On the third start you should see Automatic Repair; select Advanced options, then Troubleshoot > Reset this PC.
If the drive is encrypted, Windows RE asks for the BitLocker recovery key at this point. Note the key ID shown on screen, then look it up from another device.
Reset Windows 11 before selling or giving away the PC
Use Remove everything with Clean data turned on. Without Clean data, files are removed quickly but can still be recovered with special tools.
Before you start, sign out of anything tied to the machine that you still use, and make sure every file you want has been copied off. Then run the reset from Settings or Windows RE. When Windows setup appears after the reset, you can turn the PC off at that screen and let the next owner set it up with their own account.
Cloud rebuild: the newer option on the same page
Recent Windows 11 builds add Rebuild this PC under Settings > System > Recovery (select Rebuild PC), or Troubleshoot > Cloud rebuild in Windows RE. Per Microsoft's Cloud rebuild page, it needs the October 2026 non-security update or later, downloads Windows and drivers from Windows Update, and always removes everything. Its Remove & sanitize option asks the drive hardware itself to erase the data, and on a PC with more than one disk you choose Windows disk only or All disks.
Sanitizing can't be undone
- Remove everything, Clean data and Cloud rebuild delete all personal files on the PC. Files already synced to OneDrive stay in OneDrive; anything stored only on the PC is gone.
- With All disks, Cloud rebuild erases secondary drives too, not just the one Windows is on.
- Microsoft states that the reset's data erasure is aimed at home users and does not meet government or industry data-erasure standards.
Windows 11 reset stuck or failed: what to try
Q. The screen has been black for a long time. Should I turn it off?
Not yet. A black screen for 15 minutes or more, plus restarts on its own, is within what Microsoft describes as normal. Forcing a restart mid-reset is more likely to cause a failure than to fix one. If there's no disk or fan activity and nothing changes for a much longer stretch, that is the point to move to the options below.
Q. "There was a problem resetting your PC" and nothing changed
Run it again with the other source: if Local reinstall failed, choose Cloud download, which doesn't depend on the local files that may be damaged. If you started from Settings, try starting from Windows RE instead (see above). If Reset this PC keeps failing, Microsoft's next step is Cloud rebuild, which brings everything it needs from Windows Update. After that, the remaining route is reinstalling Windows from a USB drive made with the Media Creation Tool, or from your PC maker's recovery media.
Q. It asks for a BitLocker recovery key I don't have
Sign in at aka.ms/myrecoverykey on a phone or another PC with the Microsoft account used on that laptop and match the key ID shown on screen. For a work or school PC, ask your IT department. Microsoft Support can't create or retrieve a lost key for you.
Q. My apps and settings are gone after Keep my files
That is expected: Keep my files only keeps personal files. If Windows Backup was on, sign in with the same Microsoft account during setup and choose to restore from that backup. Afterward, open Settings > Windows Update and install what's waiting, especially after a Local reinstall.
Comments
Post a Comment