指定更新安装进行自动重新启动之前的最后期限

指定电脑自动重启以应用更新的最后期限。最后期限可以设置为默认重启日期后的 2 到 14 天。

重启可能在设备使用期间进行。

如果禁用或未配置此策略,电脑将按照默认计划重新启动。

如果启用了以下两个策略中的任意一个,此策略将不起作用:
1. 登录用户进行计划的自动更新安装时不自动重启。
2. 始终在计划时间自动重启。

支持的平台: Windows Server 2016 到 Windows Server 2022 或 Windows 10

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
Value NameSetAutoRestartDeadline
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

指定天数,在此天数后未完成的重新启动将在使用时段以外的时间自动执行:

质量更新(天):


  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

功能更新(天):


  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

管理模板(计算机)

管理模板(用户)