Published by


Brink's Avatar
Administrator

Posts: 32,988

Show Printable Version 


How to Specify Max Active Hours Range for Auto-restarts in Windows 10


Active hours identify the period of time when you expect the device to be in use. Automatic restarts after an update will occur outside of the active hours.

By default, active hours are from 8 AM to 5 PM. Users can change the active hours manually with a max active hours range of 18 hours by default.

Starting with Windows 10 version 1703, administrators can specify the max active hours range users can set. This option gives you additional flexibility to leave some of the decision for active hours on the user's side, while making sure you allow enough time for updating. The specified range will be counted from the active hours start time.

This tutorial will show you how to specify the maximum number of hours from the start time that users can set their active hours for Windows Update auto-restarts in Windows 10.

You must be signed in as an administrator to specify the max active hours range.


 CONTENTS:

  • Option One: Specify Max Active Hours Range in Local Group Policy Editor
  • Option Two: Specify Max Active Hours Range using a REG file


EXAMPLE: When max active hours range has been specified
Name:  Specify_active_hours_range.jpg
Views: 372
Size:  65.9 KB





Specify Max Active Hours Range for Auto-restarts in Windows 10 OPTION ONE Specify Max Active Hours Range for Auto-restarts in Windows 10
Specify Max Active Hours Range in Local Group Policy Editor


The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

All editions can use Option Two below.

1. Open the Local Group Policy Editor.

2. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)

Computer Configuration\Administrative Templates\Windows Components\Windows Update

Click image for larger version. 

Name:	Specify_active_hours_range_gpedit-1.png 
Views:	54 
Size:	144.7 KB 
ID:	191948

3. In the right pane of Windows Update in Local Group Policy Editor, double click/tap on the Specify active hours range for auto-restarts policy to edit it. (see screenshot above)

4. Do step 5 (default) or step 6 (specify) below for what you would like to do.


 5. To Use Default Max Active Hours Range

A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

Not Configured is the default setting.


 6. To Specify Max Active Hours Range

A) Select (dot) Enabled, select a Max range of 8 to 18 hours in the drop menu you want, click/tap on OK, and go to step 7 below. (see screenshot below)

Name:  Specify_active_hours_range_gpedit-2.jpg
Views: 364
Size:  70.8 KB

7. When finished, close the Local Group Policy Editor.

8. Restart the computer to apply.






Specify Max Active Hours Range for Auto-restarts in Windows 10 OPTION TWO Specify Max Active Hours Range for Auto-restarts in Windows 10
Specify Max Active Hours Range using a REG file


The downloadable .reg files below will add and modify the DWORD values in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

SetActiveHoursMaxRange DWORD

(delete) = Default
1 = Specify

ActiveHoursMaxRange DWORD

(delete) = Default
8 (decimal) = 8 hours
9 (decimal) = 9 hours
10 (decimal) = 10 hours
11 (decimal) = 11 hours
12 (decimal) = 12 hours
13 (decimal) = 13 hours
14 (decimal) = 14 hours
15 (decimal) = 15 hours
16 (decimal) = 16 hours
17 (decimal) = 17 hours
18 (decimal) = 18 hours


1. Do step 2 (default), step 3 (8), step 4 (9), step 5 (10), step 6 (11), step 7 (12), step 8 (13), step 9 (14), step 10 (15), step 11 (16), step 12 (17), or step 13 (18) below for what you would like to do.


 2. To Use Default Max Active Hours Range

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Default_active_hours_range.reg

download


 3. To Specify 8 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_8_hours.reg

download


 4. To Specify 9 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_9_hours.reg

download


 5. To Specify 10 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_10_hours.reg

download


 6. To Specify 11 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_11_hours.reg

download


 7. To Specify 12 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_12_hours.reg

download


 8. To Specify 13 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_13_hours.reg

download


 9. To Specify 14 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_14_hours.reg

download


 10. To Specify 15 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_15_hours.reg

download


 11. To Specify 16 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_16_hours.reg

download


 12. To Specify 17 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_17_hours.reg

download


 13. To Specify 18 Hours as Max Active Hours Range

A) Click/tap on the Download button below to download the file below, and go to step 14 below.

Set_max_active_hours_range_to_18_hours.reg

download

14. Save the .reg file to your desktop.

15. Double click/tap on the downloaded .reg file to merge it.

16. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

17. Restart the computer to apply.

18. You can now delete the downloaded .reg file if you like.


That's it,
Shawn