Policy
Configure auto-restart warning notifications schedule for updates
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, WindowsServer2016
Enable this policy to control when notifications are displayed to warn users about a scheduled restart for the update installation deadline. Users are not able to postpone the scheduled restart once the deadline has been reached and the restart is automatically executed. Specifies the amount of time prior to a scheduled restart to display the warning reminder to the user. You can specify the amount of time prior to a scheduled restart to notify the user that the auto restart is imminent to allow them time to save their work. If you disable or do not configure this policy, the default notification behaviors will be used.
Registry values
How enabled and disabled states update the registry.
| Scope | Registry location | Type | Enabled value | Disabled value | Copy |
|---|---|---|---|---|---|
| Computer | Path Software\Policies\Microsoft\Windows\WindowsUpdate Value name SetRestartWarningSchd | REG_DWORD | HKLM 1 | HKLM 0 |
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | Reminder (hours): ID RestartWarnRemind | enum | Path Software\Policies\Microsoft\Windows\WindowsUpdate Value name ScheduleRestartWarning Type REG_DWORD | Options: $(string.RestartWarnRemindHours2) (2), $(string.RestartWarnRemindHours4) (4), $(string.RestartWarnRemindHours8) (8), $(string.RestartWarnRemindHours12) (12), $(string.RestartWarnRemindHours24) (24) | |
| Computer | Warning (mins): ID RestartWarn | enum | Path Software\Policies\Microsoft\Windows\WindowsUpdate Value name ScheduleImminentRestartWarning Type REG_DWORD | Options: $(string.RestartWarnMins15) (15), $(string.RestartWarnMins30) (30), $(string.RestartWarnMins60) (60) |