Configure auto-restart warning notifications schedule for updates
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Windows Update > Legacy Policies
Supported on
Windows Server 2016 through Windows Server 2022, or Windows 10​

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.

Internal name
RestartWarnRemind
Policy ID
0dee11829acf
Elements
2

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetRestartWarningSchd
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetRestartWarningSchd
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
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)
Reminder (hours):
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
ScheduleRestartWarning
Type
REG_DWORD
Details
Options: $(string.RestartWarnRemindHours2) (2), $(string.RestartWarnRemindHours4) (4), $(string.RestartWarnRemindHours8) (8), $(string.RestartWarnRemindHours12) (12), $(string.RestartWarnRemindHours24) (24)
Warning (mins):
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
ScheduleImminentRestartWarning
Type
REG_DWORD
Details
Options: $(string.RestartWarnMins15) (15), $(string.RestartWarnMins30) (30), $(string.RestartWarnMins60) (60)