Push-button reset

Tip

If you're a user who wants to reset a computer that runs Windows 10 or later, see Recovery options in Windows.

This topic is intended for original equipment manufacturers (OEMs) who want to add push-button reset features to their Windows 10 and Windows 11 desktop computer manufacturing processes.

Push-button reset is a recovery tool that repairs the OS while preserving data and important customizations. It reduces the need for custom recovery applications by providing users with more recovery options and the ability to fix their own PCs with confidence.

Push-button reset was introduced in Windows 8, and is included in Windows 10 and Windows 11 for desktop editions (Home, Pro, Enterprise, and Education).

What's new for Windows 10

In Windows 10, version 2004, Push-button reset has been updated to include the following change:

  • Cloud download is a new option for users to download Windows instead of using the existing installation to perform the reset. This can decrease the overall time it takes to reset if using high speed internet.

    Note

    Cloud download isn't supported on LTSC editions.

In Windows 10, version 1903, Push-button reset has been updated to include the following change:

  • Preinstalled apps is a new option under Keep my files which does not apply any customizations from the PC manufacturer. This includes auto-apply folders, desktop applications, and extensibility points.

Previous versions of Windows 10 provided the following improvements to push-button reset:

Push-button reset features

  • Cloud download is an option for users to download Windows instead of using the existing installation to perform the reset. This can decrease the overall time it takes to reset if using high speed internet.

    Note

    Cloud download isn't supported on LTSC editions.

  • Preinstalled apps is an option under Keep my files which doesn't apply any customizations from the PC manufacturer. This includes auto-apply folders, desktop applications, and extensibility points.

  • Auto-apply folders make Push-button reset customization easier. Placing customizations and their related asset files in predetermined folders ensures they are restored when a device is reset. This method of configuring Push-button reset can be used instead of the legacy method that used custom scripts and extensibility points.

  • Preinstalled apps get restored to an updated state. If a preinstalled Windows app has been updated by the Microsoft Store after installation, it will be restored in its updated state.

  • Use default config files to capture customizations with ScanState: Starting with Windows 10, version 1703, you have to use the /config option with ScanState when capturing customizations. Use only one of the default configuration files included with the Assessment and Deployment Kit (ADK). These files are:

    • Config_AppsAndSettings.xml – Use this configuration file to specify that both desktop applications and OS settings should be captured by the ScanState tool.

    • Config_AppsOnly.xml – Use this configuration file to specify that only desktop applications should be captured by the ScanState tool. Since desktop applications are not always well-defined, this configuration file does not guarantee that all setting related to desktop applications are captured.

    • Config_SettingsOnly.xml – Use this configuration file to specify that only OS settings should be captured by the ScanState tool.

      You can modify these configuration files by setting the migrate attribute for specific components to no, but components that are already excluded from capture/migration in the default configuration files must remain excluded.

  • Improved reliability: When you start push-button reset features from the Settings app, Windows scans the system files in the Windows Component Store for corruptions. If it finds corrupt files and can download replacements through Windows Update, it fixes the problem automatically. Although this increases the overall recovery time, it improves the reliability of the PC.

  • Recover from failed resets: In older versions of Windows, failures that occur during Reset this PC almost always rendered the PC unbootable/unrecoverable. This feature has been redesigned to support limited rollback if a problem occurs while the PC is in Windows RE.

  • Recovery options when booted from recovery media: When the PC is booted from recovery media, the Keep my files and Remove everything features are no longer supported. The only Push-button reset feature available when booted from media is bare metal recovery (i.e. Recover from a drive).

  • Image-less recovery: Push-button reset no longer require or support a separate recovery image on a local partition or on media. This significantly reduces the disk space needed to support the features, and makes recovery possible even on devices with limited storage capacity.

  • Recovers to an updated state: Push-button reset features now recover the Operating System (OS) and drivers (including device applets that are installed as part of INF-based driver packages) to an updated state. This reduces the amount of time users have to spend reinstalling the OS updates and drivers after performing a recovery.

  • Customization opportunities: Manufacturers use Auto-apply folders or custom scripts, install applications, or preserve additional data at available extensibility points.

Push-button reset options

The following Push-button reset features are available to users with Windows 10 and later PCs and devices:

  • Keep my files Fixes software problems by reinstalling the OS while preserving the user data, user accounts, and important settings. All other preinstalled customizations are restored to their factory state. Starting in Windows 10, this feature no longer preserves user-acquired Windows apps.
  • Remove everything Prepares the PC for recycling or for transfer of ownership by reinstalling the OS, removing all user accounts and contents (e.g. data, Windows desktop applications, and Universal Windows apps), and restoring preinstalled customizations to their factory state.
  • Bare metal recovery Restores the default or preconfigured partition layout on the system disk, and reinstalls the OS and preinstalled customizations from external media.

Screenshot shows options: Keep my files, or Remove Everything

Content type References

Overview

How push-button reset features work | Recovery strategy for common customizations | Siloed provisoning packages

Hard drive setup

Hard Drives and Partitions | UEFI/GPT-based hard drive partitions | BIOS/MBR-based hard drive partitions

Operations

Deploy push-button reset features using ScanState | Deploy push-button reset features using Auto-Apply folders | Add extensibility scripts to push-button reset | Create a provisioning package with Windows desktop applications | Validation scenarios

Bare metal reset/recovery

How bare metal reset/recovery works | Enable your users to create recovery media | Create recovery media while deploying new devices

Configuration files

ResetConfig XML reference

Technologies used by push-button reset

Windows Recovery Environment | Windows PE (WinPE) | ScanState