Set Recovery Retry Interval
Explanation
This policy setting specifies the interval, in minutes, between successive Quick Machine Recovery retry attempts.
If you enable this policy setting, enter the desired retry interval in minutes in the options box. A value of 0 causes the recovery engine to attempt recovery exactly once with no retries.
Valid range: 0 to 4320 minutes (0 to 72 hours).
If you disable or do not configure this policy setting, the retry interval is determined by local settings, if set, or by the built-in default (0 minutes — single attempt, no retries).
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/RetryInterval
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AutoRemediation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Retry interval (minutes)
Set-ItemProperty -Path $k -Name 'WaitInterval' -Value 0 -Type DWord # between 0 and 4320Disable
# Disable: QuickMachineRecovery/RetryInterval
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": QuickMachineRecovery/RetryInterval
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\AutoRemediation'
Remove-ItemProperty -Path $k -Name 'WaitInterval' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Retry interval (minutes):RetryIntervalValue | Numeric boxdecimal | WaitInterval | REG_DWORD | Min: 0 · Max: 4320 · Default (UI): 0 |