How Windows 11 Reset This PC Feature Works
This article explains how the “Reset this PC” feature operates in Windows 11 to repair or restore a computer to its factory default state. It details the distinctions between keeping and removing personal files, examines the technical differences between Cloud Download and Local Reinstall, and outlines the step-by-step process the operating system undergoes during a system reset.
The Two Primary Reset Choices
When initiating a reset in Windows 11 via Settings > System > Recovery, the system requires you to choose between two main paths:
- Keep my files: This option reinstalls Windows 11 while preserving your personal documents, photos, music, and user accounts. However, it removes all third-party applications, drivers, and custom system settings. It also generates an HTML list of removed applications on your desktop once the process completes.
- Remove everything: This performs a complete factory reset. It erases all personal files, user accounts, applications, settings, and manufacturer-installed programs (unless specified otherwise). It also provides an optional data-sanitization step to clean the drive, making it harder for recovery tools to retrieve old data.
Installation Source: Cloud Download vs. Local Reinstall
After selecting your data retention preference, Windows 11 asks how you want to reinstall the operating system:
- Cloud Download: Windows connects to Microsoft servers and downloads a fresh, up-to-date copy of the Windows 11 installation files (approximately 4 GB). This option is recommended if existing system files are corrupted, infected with malware, or if the local recovery image is damaged.
- Local Reinstall: Windows uses the existing system
files and the Component Store (
WinSxS) located on your hard drive to construct a clean installation. This option does not require an active internet connection and is faster, but it will not resolve issues if the local system files are severely damaged.
The Underlying Recovery Process
Behind the scenes, the “Reset this PC” mechanism executes a structured series of automated steps:
- Preparation and Validation: Windows 11 checks system health, verifies available storage space, and stages the necessary installation binaries either from the local image or the cloud.
- Rebooting into WinRE: The computer reboots into the Windows Recovery Environment (WinRE), an isolated environment outside the running operating system.
- Data Isolation (if “Keep my files” is selected): The system gathers user profiles, personal directories, and activation licenses, moving them to a safe temporary location on the disk.
- OS Construction: WinRE applies a fresh Windows image to the system partition, creating a clean Windows directory and replacing system binaries, standard drivers, and default registry hives.
- Data Migration and Cleanup: If applicable, user
data and activation tokens are migrated back into the new OS structure.
Old temporary directories (such as
Windows.old) are established to facilitate standard cleanup tasks later. - Out-of-Box Experience (OOBE): The system reboots into the new installation. If you selected “Remove everything,” you are greeted by the initial setup wizard; if you kept your files, Windows logs directly into your existing user profile.