在使用时段关闭针对更新的自动重新启动

如果启用此策略,电脑在使用时段将不会在更新后自动重新启动。在使用时段以外,电脑将尝试重新启动。

请注意,电脑必须重新启动才能使某些更新生效。

如果禁用或未配置此策略,并且未设置其他重新启动组策略,则用户选择的使用时段将生效。

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

请注意,除非以其他方式通过"为自动重新启动指定使用时段范围"策略进行配置,否则默认的最大使用时段范围为 18 小时,从"使用时段开始时间"算起。

支持的平台: Windows 10 Server 或 Windows 10 及其更高版本

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

使用时段

开始:


  1. 晚上 12 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value0
  2. 凌晨 1 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value1
  3. 凌晨 2 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value2
  4. 凌晨 3 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value3
  5. 凌晨 4 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value4
  6. 早上 5 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value5
  7. 早上 6 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value6
  8. 早上 7 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value7
  9. 早上 8 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value8
  10. 早上 9 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value9
  11. 上午 10 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value10
  12. 上午 11 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value11
  13. 中午 12 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value12
  14. 下午 1 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value13
  15. 下午 2 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value14
  16. 下午 3 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value15
  17. 下午 4 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value16
  18. 下午 5 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value17
  19. 下午 6 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value18
  20. 晚上 7 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value19
  21. 晚上 8 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value20
  22. 晚上 9 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value21
  23. 晚上 10 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value22
  24. 晚上 11 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursStart
    Value TypeREG_DWORD
    Value23

结束:


  1. 晚上 12 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value0
  2. 凌晨 1 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value1
  3. 凌晨 2 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value2
  4. 凌晨 3 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value3
  5. 凌晨 4 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value4
  6. 早上 5 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value5
  7. 早上 6 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value6
  8. 早上 7 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value7
  9. 早上 8 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value8
  10. 早上 9 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value9
  11. 上午 10 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value10
  12. 上午 11 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value11
  13. 中午 12 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value12
  14. 下午 1 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value13
  15. 下午 2 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value14
  16. 下午 3 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value15
  17. 下午 4 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value16
  18. 下午 5 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value17
  19. 下午 6 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value18
  20. 晚上 7 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value19
  21. 晚上 8 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value20
  22. 晚上 9 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value21
  23. 晚上 10 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value22
  24. 晚上 11 点
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\WindowsUpdate
    Value NameActiveHoursEnd
    Value TypeREG_DWORD
    Value23


windowsupdate.admx

管理模板(计算机)

管理模板(用户)