This tutorial will show you how to set active hours for when you use your PC to not automatically restart your Windows 11 PC during this time to finish installing a Windows Update.
Windows Update keeps Windows 11 updated by automatically downloading and installing the latest updates, drivers, and hotfixes released by Microsoft.
Active hours let Windows know when you're typically at your PC. Windows will use that info to schedule updates and restarts when you’re not using the PC.
The default active hours is 8 AM (8 on 24 hour clock) for Start time and 5 PM (17 on 24 hour clock) End time.
- Option One: Set Active Hours for Windows Update in Settings
- Option Two: Set Active Hours for Windows Update in Registry Editor
- Option Three: Set Active Hours Policy for Windows Update in Local Group Policy Editor
- Option Four: Set Active Hours Policy for Windows Update in Registry Editor
Set Active Hours for Windows Update in Settings
1 Open Settings (Win+I).
2 Click/tap on Windows Update on the left side, and click/tap on Advanced options on the right side. (see screenshot below)
3 Click/tap on Active hours to expand it open. (see screenshots below step 5)
4 Select Automatically (default) or Manually for what you want in the Adjust active hours drop menu. (see screenshots below step 5)
5 If you selected Manually, perform the following actions: (see screenshots below)
- Click/tap on the hour for Start time, and select an hour you want in the menu.
- Select AM or PM in the menu.
- Click/tap on the check mark in the menu.
- Click/tap on the hour for End time, and select an hour you want in the menu.
- Select AM or PM in the menu.
- Click/tap on the check mark in the menu.
6 You can now close Settings if you like.
Set Active Hours for Windows Update in Registry Editor
You must be signed in as an administrator to use this option.
This options sets the same setting in Option One.
1 Open Registry Editor (regedit.exe).
2 Navigate to and expand open the key below in the left pane of Registry Editor. (see screenshot below)
3 Do step 4 (automatically) or step 5 (manually) below for what you want.
6 You can now close Registry Editor if you like.
Set Active Hours Policy for Windows Update in Local Group Policy Editor
You must be signed in as an administrator to use this option.
The Local Group Policy Editor is only available in the Windows 11 Pro, Enterprise, and Education editions.
All editions can use Option Four to configure the same policy.
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
1 Open the Local Group Policy Editor (gpedit.msc).
2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below)
3 In the right pane of Manage end user experience in Local Group Policy Editor, double click/tap on the Turn off auto-restart for updates during active hours policy to edit it. (see screenshot above)
4 Do step 5 (default) or step 6 (specify) below for what you want.
This will allow using Option One and Option Two.
This will override and prevent using Option One and Option Two.
- In the Start drop menu, select the start time you want for active hours.
- In the Ends drop menu, select the end time you want for active hours.
7 Close the Local Group Policy Editor.
8 Restart the computer to apply.
Set Active Hours Policy for Windows Update in Registry Editor
You must be signed in as an administrator to use this option.
This options sets the same policy in Option Three.
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
1 Do step 2 (specify) or step 3 (default) below for what you want.
This will override and prevent using Option One and Option Two.
This downloadable .reg file will add the registry keys and values for you to make it easier to specify what you want starting at step 2D below.
(Contents of REG file for reference)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"SetActiveHours"=dword:00000001
"ActiveHoursStart"=dword:00000008
"ActiveHoursEnd"=dword:00000011
This will allow using Option One and Option Two.
(Contents of REG file for reference)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"SetActiveHours"=-
"ActiveHoursStart"=-
"ActiveHoursEnd"=-
4 Restart the computer to apply.
5 You can now delete the downloaded .reg file if you like
That's it,
Shawn Brink