Turn off auto-restart for updates during active hours

If you enable this policy, the PC will not automatically restart after updates during active hours. The PC will attempt to restart outside of active hours.

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

If you disable or do not configure this policy and have no other reboot group policies, the user selected active hours will be in effect.

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.

Note that the default max active hours range is 18 hours from the active hours start time unless otherwise configured via the Specify active hours range for auto-restarts policy.


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

Active Hours

Start:


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

End:


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


windowsupdate.admx

Administrative Templates (Computers)

Administrative Templates (Users)