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.

Supported on: Windows Server 2016 through Windows Server 2022, 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:

Quality Updates (days):


  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

Feature Updates (days):


  1. 2
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value2
  2. 3
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value3
  3. 4
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value4
  4. 5
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value5
  5. 6
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value6
  6. 7
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value7
  7. 8
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value8
  8. 9
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value9
  9. 10
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value10
  10. 11
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value11
  11. 12
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value12
  12. 13
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value13
  13. 14
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value14
  14. 15
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value15
  15. 16
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value16
  16. 17
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value17
  17. 18
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value18
  18. 19
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value19
  19. 20
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value20
  20. 21
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value21
  21. 22
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value22
  22. 23
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value23
  23. 24
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value24
  24. 25
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value25
  25. 26
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value26
  26. 27
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value27
  27. 28
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value28
  28. 29
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value29
  29. 30
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameAutoRestartDeadlinePeriodInDaysForFeatureUpdates
    Value TypeREG_DWORD
    Value30


windowsupdate.admx

Administrative Templates (Computers)

Administrative Templates (Users)