Policy

Specify deadline before auto-restart for update installation

Specify the deadline before the PC will automatically restart to apply updates. The deadline can be set 2 to 14 days past the default restart date. The restart may happen inside active hours. If you disable or do not configure this policy, the PC will restart according to the default schedule. Enabling either of the following two policies will override the above policy: 1. No auto-restart with logged on users for scheduled automatic updates installations. 2. Always automatically restart at scheduled time.

Policy
Pack Microsoft Windows
Category Windows Components / Windows Update / Legacy Policies
Policy ID 21ec06fc1590
Internal name AutoRestartDeadline

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartDeadline (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartDeadline (disabled) = 0
HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartDeadlinePeriodInDays
HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartDeadlinePeriodInDaysForFeatureUpdates

Policy notes

Specify the deadline before the PC will automatically restart to apply updates. The deadline can be set 2 to 14 days past the default restart date. The restart may happen inside active hours. If you disable or do not configure this policy, the PC will restart according to the default schedule. Enabling either of the following two policies will override the above policy: 1. No auto-restart with logged on users for scheduled automatic updates installations. 2. Always automatically restart at scheduled time.

Related policies