Optimize Windows 10 PC reset using the cloud

    Optimize Windows 10 PC reset using the cloud

    Optimize Windows 10 PC reset using the cloud


    Posted: 24 Sep 2019

    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 detail 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. 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 (CD/DVD then, USB today). This model of a recovery partition with a compressed copy of Windows (and 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 on 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 very easy to use and added the ability to recover Windows while retaining user data, reducing the steps and time to get back to using your device. The next major improvement came with Windows 10 and “imageless” recovery. This 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. That is where this 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 a faster as well. To achieve a similar result previously 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 builds 18970 and newer you can initiate Reset this PC and select the cloud download option through Settings:

    • Select the Start button, then select Settings > Update & Security > Recovery

    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.



    How this all works

    While all of this looks easy there are quite a few phases and operations to get through, they can be summarized as the following (Keep my files performs 2 additional steps in the second phase):

    Preparation phase

    • While you are selecting options in the interface, in the background we are preparing and checking requirements
      • Ensure the device is not on battery power
      • Check that Windows Recovery Environment (Windows RE) is present and enabled
    • Scan to see what optional features and languages are installed
    • Check connectivity with the Windows Update and determine download size
    • When you click “Reset” (see Figure 1: Final confirmation) 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)



    Offline phase
    1. Boot to Windows RE
    2. Apply image from the downloaded payload
    3. (Keep my files) Gather user profile from the previous OS and apply to the new OS
    4. Gather drivers from the previous OS
    5. Apply optional features and languages to the new OS
    6. Switch OS root folder from the previous OS to the new OS
    7. Delete downloaded payload
    8. Reboot into the new OS
    9. Apply drivers to the new OS
    10. Apply OEM customizations including preinstalled Windows apps
    11. Reboot to the Out-Of-Box-Experience (OOBE)
    12. (Keep my files) Skip OOBE and proceed 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 initiate Reset this PC with the cloud download in the Windows Recovery Environment (Windows RE). If Windows is unable to boot after two consecutive failed attempts the device should boot into Windows RE automatically.



    • 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 to enable you to reinstall Windows and get your device back to a healthy state. Whether it is initiated through Windows 10 Settings or Windows RE troubleshooting the phases and operations are nearly identical.

    As we continue to improve we are always interested in your ideas, please share them in Feedback Hub.


    Source: Optimize Windows 10 PC reset using the cloud - Windows Insider

    How to Reset Windows 10

    How to Refresh Windows 10

    Brink's Avatar Posted By: Brink
    24 Sep 2019


  1. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #1

    This is pretty slick. I'm looking forward to trying it out. Reliability will be key. I wonder how long it will actually tsake?
      My Computers


  2. Posts : 42,998
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Now.. if only there was an option to keep all installed programs... Reset+ perhaps..
    Optimize Windows 10 PC reset using the cloud-snap-2019-09-25-08.31.49.png
      My Computers


  3. Posts : 1,778
    Windows 10 Pro,
       #3

    Wow, this is very cooool!!!!!
      My Computer


  4. Posts : 3,105
    W10 Pro + W10 Preview
       #4

    dalchina said:
    Now.. if only there was an option to keep all installed programs... Reset+ perhaps..
    Optimize Windows 10 PC reset using the cloud-snap-2019-09-25-08.31.49.png
    Security concerns would veto that....unless they had been checked/passed to download from Store.
      My Computers


  5. Posts : 7,724
    3-Win-7Prox64 3-Win10Prox64 3-LinuxMint20.2
       #5

    Hi,
    Dealing with ms servers is the big how well it works
    Not to mention the onedrive space it takes up seeing 10 is getting pretty bloated now days it only states can take up 4gb.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:47.
Find Us




Windows 10 Forums