How to Set Active Hours for Windows 11
Windows 11 keeps your computer safe by downloading updates in the background. Sometimes, these updates need a restart to finish. If your computer restarts while you are working, it can be very annoying. You can use Windows 11 active hours to tell your computer when you are busy. Windows will then avoid restarting during those times.
Why use Active Hours?
Setting active hours ensures your computer does not reboot in the middle of an important project. It keeps your work smooth while still keeping your system secure.
What happens when done?
Once you set these hours, Windows will treat that time as ‘busy.’ It will wait until outside of those hours to perform any necessary restarts for updates.
Reference: Keep your PC up to date with active hours – Microsoft Support
Option One: Set Active Hours in Settings
- Open Settings (press Win+I).
- Click Windows Update on the left, then click Advanced options. Open Advanced options settings

- Click Active hours to expand the menu.
- Choose Automatically or Manually from the drop-down menu.
- If you choose Manually, pick your preferred start and end times, then click the check mark to save.


Troubleshooting: Why Windows 11 Ignores Active Hours
Sometimes Windows might still restart. This usually happens if you have a pending update that is marked as ‘critical’ or if you have not restarted in a long time. Ensure your Windows Update Service is running correctly in the Services app. If you are on a metered connection, Windows may pause updates entirely.
Windows 11 Pro vs Home Limitations
Windows 11 Home users have fewer options for controlling updates. Pro, Enterprise, and Education users can use the Group Policy Object (GPO) to enforce stricter restart policies. Home users are mostly limited to the standard Settings menu.
Option Two: Set Active Hours in Registry Editor
Note: This requires administrator privileges.
- Open Registry Editor (regedit.exe).
- Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings
Modify SmartActiveHoursState to 0 for manual or 1 for automatic. Adjust ActiveHoursStart and ActiveHoursEnd using decimal values in 24-hour format.

Option Three: Set Active Hours via Local Group Policy
Note: Requires administrator privileges. Only for Pro/Enterprise/Education.
- Open Local Group Policy Editor (gpedit.msc).
- Navigate to:
Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage end user experience

- Double-click Turn off auto-restart for updates during active hours.
- Select Enabled to set your custom times.

Summary
Active hours prevent unexpected restarts. You can set them via Settings, Registry, or GPO. If you face issues, check your Windows Update Service status or your metered connection settings.
Why does Windows 11 ignore my active hours?
Windows may ignore active hours if an update is marked as critical or if the system has been waiting to restart for an extended period. Ensure your device is not set to a metered connection, as this can sometimes interfere with how Windows handles update restart policies and scheduling.
Can I set active hours for more than 18 hours?
By default, Windows 11 limits the manual active hours range to 18 hours. This is a built-in design choice to ensure that the system eventually finds a window to install necessary security updates. You cannot extend this range beyond 18 hours through standard user settings or simple registry tweaks.
Does sleep mode affect active hours?
Yes, if your computer is in sleep mode, Windows cannot perform the restart. However, if the computer wakes up or is active, Windows will respect your active hours. If you leave your computer on overnight, ensure your active hours cover that time to prevent an automatic restart while you sleep.
Was this guide helpful?
Leave a Reply