Use Reset this PC to return Windows to a default state.
- Open Settings > System > Recovery.
- Under Recovery options, select Reset PC.
- Choose one of these options:
- Keep my files: reinstalls Windows and keeps personal files, user accounts, and important settings.
- Remove everything: reinstalls Windows, removes all user accounts and contents, and restores preinstalled customizations to their factory state.
- Follow the on-screen steps to finish.
If Windows does not start normally:
- Enter Windows Recovery Environment (Windows RE).
- Select Troubleshoot > Reset this PC.
- Choose the reset option and continue.
Important:
- If the device is encrypted, the BitLocker recovery key is required in Windows RE.
- During reset, the screen can stay black for a long time and the device may restart itself. Do not manually restart it, or the reset can fail.
- If booted from recovery media, Keep my files and Remove everything are not available. Only bare metal recovery is available.
If only recent system changes need to be undone without affecting personal files, System Restore can return the PC to an earlier restore point:
- Open Control Panel > Recovery > Open System Restore, or press Win + R, type
rstrui.exe, and press Enter. - Select a restore point, then choose Next > Finish.