Specify deadline before auto-restart for update installation

Specify the deadline in days before automatically executing a scheduled restart outside of active hours. The deadline can be set between 2 and 14 days from the time the restart is scheduled.

Note that the PC must restart for certain updates to take effect.

If you enable this policy, a restart will automatically occur the specified number of days after the restart was scheduled.

If you disable or do not configure this policy, the PC will restart according to the default schedule.

If any of the following two policies are enabled, this policy has no effect:
1. No auto-restart with logged on users for scheduled automatic updates installations.
2. Always automatically restart at scheduled time.


Supported on: At least Windows 10 Server or Windows 10
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
Value NameSetAutoRestartDeadline
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

Specify the number of days before a pending restart will automatically be executed outside of active hours:


  1. 2
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value2
  2. 3
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value3
  3. 4
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value4
  4. 5
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value5
  5. 6
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value6
  6. 7
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value7
  7. 8
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value8
  8. 9
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value9
  9. 10
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value10
  10. 11
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value11
  11. 12
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value12
  12. 13
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value13
  13. 14
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value14


windowsupdate.admx

Administrative Templates (Computers)

Administrative Templates (Users)