Specify the number of restarts attempted for a running web extension
Explanation
This policy setting allows you to specify the number of restarts Outlook attempts for a running web extension.
If you enable this policy setting, you can specify the number of restarts Outlook attempts for a running web extension. If the web extension requires more than the specified number of restarts during an Outlook session, Outlook disables the web extension.
If you disable or do not configure this policy setting, Outlook uses the default restart limit of 3 occurrences. The maximum restart limit is 10 occurrences, and the minimum restart limit is 1 occurrence.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\wef\outlook- 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: outlk16/L_OutlookRestartManagerRetryLimit
$k = 'HKCU:\software\policies\microsoft\office\16.0\wef\outlook'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# (1 - 10 occurrences)
Set-ItemProperty -Path $k -Name 'restartmanagerretrylimit' -Value 3 -Type DWord # between 1 and 10Disable
# Disable: outlk16/L_OutlookRestartManagerRetryLimit
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": outlk16/L_OutlookRestartManagerRetryLimit
$k = 'HKCU:\software\policies\microsoft\office\16.0\wef\outlook'
Remove-ItemProperty -Path $k -Name 'restartmanagerretrylimit' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| (1 - 10 occurrences)L_OutlookRestartManagerRetryLimitSpinID | Numeric boxdecimal | restartmanagerretrylimit | REG_DWORD | Min: 1 · Max: 10 · Default (UI): 3 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.