Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Available on Windows 11, version 24H2 build 26100.4700 or later, quick machine recovery is a feature that enables the recovery of Windows devices when they encounter critical errors that prevent them from booting. This feature can automatically search for remediations in the cloud and recover from widespread boot failures, significantly reducing the burden on IT administrators when multiple devices are affected.
Building on the foundation of Startup Repair, quick machine recovery uses a secure and connected Windows Recovery Environment (WinRE) to scan Windows Update for remediation options. This allows devices to be recovered without requiring manual intervention.
How it works
There are two main settings of quick machine recovery: cloud remediation and auto remediation.
Cloud remediation
Cloud remediation is the process of using Windows Update to find remediations and fix issues on devices:
- When enabled, devices connect to the network and use Windows Update during recovery scenarios.
- When disabled, Windows uses Startup Repair as a local recovery option.
Note
Quick machine recovery is a best-effort feature. It might not always be able to find a solution for every issue.
Auto remediation
Auto remediation allows you to automate the recovery process:
- When enabled, the device connects automatically to Windows Update and tries to find a remediation. If a solution isn't found on the first attempt, the user is guided to other recovery options by default, or the device can be configured to auto retry without requiring manual intervention.
- When disabled or not configured, the device requires manual intervention to continue the recovery process.
Quick machine recovery process
Here are the phases of the quick machine recovery process:
- Device crash: When the device fails to boot repeatedly, the system automatically detects the issue and initiates the recovery process.
- Boot to recovery: The device boots into the recovery environment to initiate the quick machine recovery process.
- Network connection: After a network connection is established, the device scans Windows Update for remediations.
- Remediation
- If no solution is found and the system is configured with the default one-time scan setting, the user is guided to other recovery options.
- If no solution is found and the system is configured with retry scanning intervals, the system retries the process based on the configured retry scanning intervals and timeouts.
- If a solution is found, the system downloads and applies it.
- Restart: After a remediation is applied, the device restarts:
- If the solution is successful, the device boots into Windows.
- If the solution fails, the device restarts into the recovery environment again and the process repeats from step 2.
Configuration
Default configuration
Cloud remediation is enabled by default with one-time scan auto remediation on systems that are not under enterprise management:
- Windows Home edition devices
- Windows Pro edition devices that are not domain joined and not enrolled in enterprise endpoint management
Cloud remediation is disabled by default on enterprise-managed systems, allowing organizations to choose the configuration that best meets their needs:
- Windows Enterprise and Education edition devices
- Windows Pro edition devices that are domain joined or managed by an organization
If you don't modify the cloud remediation setting, the default behavior automatically updates when a system transitions between unmanaged and enterprise-managed states. If you explicitly configure cloud remediation settings, those administrator-defined settings continue to apply regardless of whether the system transitions between unmanaged and enterprise-managed states.
Configuration options
The configuration options consist of:
- Enable or disable cloud remediation.
- Enable or disable auto remediation.
- Configure auto remediation to one-time scan or looped scanning intervals to optimize remediation triggers.
- Configure network connections to ensure smooth recovery workflows.
Important
Currently, only wired and WPA/WPA2 password-based Wi-Fi networks are supported. Ensure that your network uses this configuration for compatibility.
The following instructions provide details about how to configure your devices. Select the option that best suits your needs.
You can configure devices with the Recovery CSP.
Verify recovery settings
To check the configured recovery settings, run the following command from an elevated command prompt:
reagentc.exe /getrecoverysettings
Output example:
C:\>reagentc.exe /getrecoverysettings
<?xml version='1.0' encoding='utf-8'?>
<WindowsRE>
<WifiCredential>
<Wifi ssid="ContosoWiFi" password="ContosoWiFiPassword" />
</WifiCredential>
<CloudRemediation state="1" />
<AutoRemediation state="1" totalwaittime="2400" waitinterval="120"/>
</WindowsRE>
REAGENTC.EXE: Operation Successful.
Test mode
Note
Test mode is available to devices enrolled in the Windows Insider Program's Experimental channel.
Quick machine recovery offers a test mode. This controlled, simulated environment allows you to experience the auto remediation process without triggering an actual system failure. Use it to verify that the recovery experience functions as expected before deployment to production systems.
To simulate the quick machine recovery experience, use the following commands from an elevated command prompt:
Enable test mode:
reagentc.exe /SetRecoveryTestmodeConfigure Windows to boot to WinRE on the next boot:
reagentc.exe /BootToReRestart your device. The system goes through auto remediation of a simulated crash and restarts back to Windows. During the recovery process, quick machine recovery test mode might require network connectivity to retrieve remediation content. If a supported Wi‑Fi profile is configured to connect automatically or device is connected to Ethernet, WinRE attempts to connect to the network automatically. Otherwise, follow the prompts in "Let's connect you to a network" to establish connectivity before remediation continues. To learn more about supported Wi-Fi profiles for automatic connection in WinRE and how to manage this feature, see Windows Recovery Environment (Windows RE).
Note
If after restart the device goes into WinRE instead of starting test mode, follow these steps:
In WinRE, select Continue to boot Windows normally.
In Windows, execute the two commands:
reagentc.exe /Disablereagentc.exe /Enable
Retry the quick machine recovery simulation starting from step 1.
Once your device boots back to Windows, verify whether the test remediation is successfully applied.
Verify remediation
If a relevant remediation is applied to the device, it appears under Settings > Windows Update > Update history, listed within the Quality updates section.
Provide feedback
To provide feedback for quick machine recovery, open Feedback Hub and use the category Recovery and Uninstall > Quick Machine Recovery.