Optimize Windows 10 PC reset using the cloud

EDITOR’S NOTE: I am publishing this article on behalf of Aaron Lower. Aaron is a Program Manager on the Core OS and Intelligent Edge (COSINE) Fundamentals team at Microsoft. His team focuses on the underlying technologies and platforms that are used to install and reinstall (or recover) Windows.

Today, I’m excited to share more details on the ability to reset a Windows 10 PC by downloading a new image from the cloud, instead of using the existing Windows files stored on the machine.

We’ve heard your feedback about some of the unsuccessful attempts to use Reset this PC, and we’ve been working on new features to make this process more reliable and faster. This feature was first available in Windows 10 Insider Preview Build 18970.

Windows recovery over the years

For the better part of 20 years, we have been adding features to make reinstalling Windows easier for everyone. As far back as Windows XP, many PC manufacturers included a recovery partition that made it possible to reinstall without needing to use media, like a CD/DVD then or a USB today. This model of a recovery partition with a compressed copy of Windows, which also included specific device drivers and applications, continued through Windows Vista, Windows 7, and was the starting point for the improvements in Windows 8.

In Windows 8, we standardized the platform and user experience for recovery, which allowed PC manufacturers to seamlessly plug in device recovery images without having to invest in a custom solution. We also made the process easier to use and added the ability to recover Windows while keeping user data, which reduced the steps and time to get back to using your device.

The next major improvement came with Windows 10 and imageless recovery, which is done by constructing a new copy of Windows from the existing installation. Because this approach doesn’t use a recovery image, it saves storage space on the disk and preserves the latest security updates. The trade-off of this approach is it can take more than 45 minutes and cannot always repair Windows if the installation is in a really bad state or is too corrupted. This is where the latest cloud download option in Reset this PC can help.

Cloud download

You can use the new cloud download option to get Windows from the cloud to reinstall, instead of reusing the existing Windows files to construct a fresh copy. This can be a more reliable way to reinstall Windows and, depending on internet speed, can be faster too. To get a similar result before, you would have to download Windows and create a USB stick. But because this is built-in to Windows, it doesn’t require the extra steps of creating a USB stick to do the installation.

How to use this feature

For Windows 10 Insider Preview Builds 18970 and newer, you can start Reset this PC and select the cloud download option through Settings:

After selecting Keep my files or Remove everything, you will see Cloud download or Local reinstall. The Cloud download option will connect to Windows Update over your current network connection.

Screenshot of how to choose an option for resetting a PC (Cloud download or Local reinstall).

How this all works

While all of this looks easy, there are quite a few phases and operations this process needs to get through. For example, Keep my files performs two additional steps in the second phase. These phases are:

Preparation phase

  1. While you’re selecting options in the interface, in the background, it’s preparing and checking requirements.
    1. Ensures the device is not on battery power.
    2. Checks that Windows Recovery Environment (Windows RE) is present and enabled.
  2. Scans to see what optional features and languages are installed.
  3. Checks connectivity with Windows Update and the download size.
  4. When you select the Reset button (in the screenshot below), the download begins. After this, everything will continue without any interaction. When the download completes, the offline phase will begin by rebooting into Windows RE. (If the reset was initiated from Windows RE, the system will not reboot and just continue.)

Screenshot of the message providing final confirmation that the user wants to reset the PC.

Offline phase

  1. Boots to Windows RE.
  2. Applies image from the downloaded payload.
  3. Keep my files – Gathers user profile from the previous OS and applies it to the new OS.
  4. Gathers drivers from the previous OS.
  5. Applies optional features and languages to the new OS.
  6. Switches OS root folder from the previous OS to the new OS.
  7. Deletes downloaded payload.
  8. Reboots into the new OS.
  9. Applies drivers to the new OS.
  10. Applies OEM customizations, including preinstalled Windows apps.
  11. Reboots to the Out-Of-Box-Experience (OOBE).
  12. Keep my files – Skips OOBE and proceeds to login screen.

What you can do if you can’t boot into Windows

If the device isn’t able to boot into Windows, you can start Reset this PC with the cloud download in the Windows RE. If Windows is unable to boot after two consecutive failed attempts, the device should boot into Windows RE automatically.

Screenshot of the PC booting into Windows RE automatically. The option Continue, Exit and continue to Windows 10, is highlighted.

  • Select Troubleshoot > Reset this PC, then select Keep my files or Remove everything, if you have a wired internet connection, you can then select Cloud download. (Connecting over wireless networking in Windows RE may be available depending on drivers loaded by the PC manufacturer.)

This new cloud download option will continue our history of improving how you can reinstall Windows and get your device back to a healthy state. Whether it’s started through Windows 10 Settings or Windows RE troubleshooting, the phases and operations are nearly the same.

As we continue to improve, we’re always interested in your ideas! Please share them in the Feedback Hub.