How to configure Windows 10 active hours to avoid sudden restarts during updates

On Windows 10, one of the most annoying features is the system's ability to restart your computer to apply updates automatically when you're actively using it, which could cause the loss of unsaved work and precious time when working on a deadline.

Although there's not an option in the Settings app to disable updates entirely, Windows 10 ships with "active hours," which is a feature meant to make updates less intrusive by letting you specify the time you'll be working on your computer. This means that if an update is pending, the reboot will occur outside the active hours.

Also, starting with version 1903, Windows 10 introduces a new option that allows the system to configure active hours automatically based on your activities.

In this Windows 10 guide, we walk you through the steps to configure active hours on your device to prevent sudden reboots in the middle of your work to apply updates.

How to enable active hours on Windows 10

Starting with Windows 10 version 1903, there are two ways to enable active hours. You can allow the system to configure active hours automatically based on your activities, or you can set a specific time range manually.

Enabling automatic active hours

To enable automatic active hours on Windows 10, use these steps:

  1. Open Settings.
  2. Click on Update & Security.
  3. Click on Windows Update.
  4. Click the Change active hours option.

  1. Turn on the Automatically adjust active hours for this device based on activity toggle switch.

Once you complete these steps, Windows 10 will analyze how you use the device, and it'll configure the active hours automatically. Also, this means that as your screen time schedule changes, the active hours will adjust accordingly.

Configuring custom active hours

To configure active hours manually on your device to prevent sudden restarts, use these steps:

  1. Open Settings.
  2. Click on Update & Security.
  3. Click on Windows Update.
  4. Click the Change active hours option.

  1. Turn off the Automatically adjust active hours for this device based on activity toggle switch.
  2. Click the Change option.

  1. Specify the time range you usually use your device.Quick tip: The maximum amount of time you can set is 18 hours. If you specify a range that's more than that, it'll be marked as invalid.

  1. Click the Save button.

After you complete the steps, if an update is pending, the computer will only restart outside the active hours you specified, preventing interruptions while you're working.

How to reschedule automatic restart on Windows 10

To schedule a restart to apply an update outside of the active hours schedule, use these steps:

  1. Open Settings.
  2. Click on Update & Security.
  3. Click on Windows Update.
  4. Click on** Schedule the restart** option. (Option available only when a reboot is pending to apply an update.)

  1. Under "Schedule a time," turn on the toggle switch.
  2. Schedule a time and date to postpone the restart (up to seven days in the future).

Once you complete the steps, the device won't reboot to apply updates after the schedule you specified.

Using the Local Group Policy Editor or Registry, you can also specify a new default schedule for auto-restart when an update is pending, and you can check these instructions to use these options.

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

Read more
Windows 11 set shutdown time
How to shut your PC down at a specific time on Windows 11 and 10
Windows 11 powercfg commands
How to use powercfg to control power settings on Windows 10 and 11
Windows 11 hide settings via Group Policy and Registry
How to hide specific Settings pages on Windows 11
Windows 11 block Settings app
How to disable access to the Settings app on Windows 11
Reset Group Policy settings on Windows 10
How to reset all Local Group Policy settings on Windows 10
Windows 10 change refresh rate
How to change display refresh rate on Windows 10
Latest in Windows 10
Windows 10 Find My Device
How to enable Find My Device on Windows 10 to recover your PC if it's ever lost or stolen
Outlook Client Hero
Microsoft just made Windows 10 worse, and there's (almost) nothing you can do about it
Windows 10 Start menu on HP ZBook Studio G4
Microsoft will retroactively downgrade this part of Windows 10 next month
Former Microsoft Executive Vice President Terry Myerson stands in front of a presentation about Windows 10
Microsoft addresses the 'elephant in the room,' discusses upcoming end of Windows 10 support
Surface Hub 2S
Windows 10 for PCs is not the only version of Windows to reach end of support this year
Windows Insider program settings
Microsoft shuts down the Windows 10 Beta Channel just five months after reopening it
Latest in How-to
Atomfall
Can I play Atomfall on Steam Deck, ROG Ally, and other gaming handhelds?
Windows 11 answer file
How to easily create an unattended answer file for Windows 11
The First Berserker: Khazan
Is The First Berserker: Khazan on Xbox Game Pass?
Clair Obscur: Expedition 33
Is Clair Obscur: Expedition 33 on Xbox Game Pass?
A close-up of Hazel in South of Midnight
Is South of Midnight on Xbox Game Pass?
Atomfall screenshot
Atomfall: How to grab the best melee weapon and melee perk right away