Open in the explorer

Set Total Recovery Wait Time

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Quick Machine Recovery FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Quick Machine Recovery
Supported on
At least Windows Server 2025, Windows 11 24H2
ADMX file
QuickMachineRecovery.admx
Internal name
QuickMachineRecovery/TotalWaitTime

Explanation

This policy setting specifies the maximum total time, in minutes, that the Quick Machine Recovery engine will spend across all recovery attempts before abandoning recovery and allowing the system to boot normally (or enter the standard recovery environment).

If you enable this policy setting, enter the desired total wait time in minutes in the options box.

Valid range: 1 to 4320 minutes (1 minute to 72 hours).

If you disable or do not configure this policy setting, the total wait time is determined by local settings, if set, or by the built-in default (180 minutes).

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AutoRemediation
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: QuickMachineRecovery/TotalWaitTime
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AutoRemediation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Total wait time (minutes)
Set-ItemProperty -Path $k -Name 'TotalWaitTime' -Value 180 -Type DWord  # between 1 and 4320

Disable

# Disable: QuickMachineRecovery/TotalWaitTime
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": QuickMachineRecovery/TotalWaitTime
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AutoRemediation'
Remove-ItemProperty -Path $k -Name 'TotalWaitTime' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Total wait time (minutes):TotalWaitTimeValueNumeric boxdecimalTotalWaitTimeREG_DWORD
Min: 1 · Max: 4320 · Default (UI): 180

Availability

Windows 11

— 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016