Turn off auto-restart for updates during active hours
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Windows Update > Manage end user experience
Supported on
At least Windows Server 2016 or Windows 10

Supported OS tags: Windows10, WindowsServer2016

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.

Internal name
ActiveHours
Policy ID
e30cf754ccf7
Elements
2

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetActiveHours
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetActiveHours
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Start:
ID ActiveHoursStartTime
enum
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
ActiveHoursStart
Type
REG_DWORD
Options: 12 AM (0), 1 AM (1), 2 AM (2), 3 AM (3), 4 AM (4), 5 AM (5), 6 AM (6), 7 AM (7) … +16 more
Computer
End:
ID ActiveHoursEndTime
enum
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
ActiveHoursEnd
Type
REG_DWORD
Options: 12 AM (0), 1 AM (1), 2 AM (2), 3 AM (3), 4 AM (4), 5 AM (5), 6 AM (6), 7 AM (7) … +16 more
Start:
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
ActiveHoursStart
Type
REG_DWORD
Details
Options: 12 AM (0), 1 AM (1), 2 AM (2), 3 AM (3), 4 AM (4), 5 AM (5), 6 AM (6), 7 AM (7) … +16 more
End:
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
ActiveHoursEnd
Type
REG_DWORD
Details
Options: 12 AM (0), 1 AM (1), 2 AM (2), 3 AM (3), 4 AM (4), 5 AM (5), 6 AM (6), 7 AM (7) … +16 more