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
  14. 15
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value15
  15. 16
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value16
  16. 17
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value17
  17. 18
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value18
  18. 19
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value19
  19. 20
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value20
  20. 21
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value21
  21. 22
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value22
  22. 23
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value23
  23. 24
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value24
  24. 25
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value25
  25. 26
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value26
  26. 27
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value27
  27. 28
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value28
  28. 29
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value29
  29. 30
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDays
    Value TypeREG_DWORD
    Value30


windowsupdate.admx

Administrative Templates (Computers)

Administrative Templates (Users)