How to Prevent Windows 11 from Automatically Restarting During Active Hours

The Problem with Unexpected Reboots

Windows 11 is designed to keep your computer secure by automatically downloading and installing updates in the background. While this is great for security, the final step of the update process often requires a full system reboot. If you are rendering a video, running a long compilation script, or simply step away from your desk for an hour to eat lunch, Windows might assume you are finished working and automatically restart your computer, destroying any unsaved progress. To prevent this, you must explicitly tell Windows exactly when you are working by configuring your “Active Hours.”

How to Configure Active Hours in Windows 11

By default, Windows attempts to automatically learn your active hours based on your daily usage patterns. However, if your schedule is erratic, this algorithm frequently guesses wrong. It is much safer to manually lock in your schedule.

  1. Click the Start Menu and type Settings, or press the Windows Key + I.
  2. In the left-hand sidebar of the Settings app, click on Windows Update.
  3. Click on Advanced options.
  4. Under the “Update options” section, look for Active hours. Click on it to expand the menu.
  5. You will see an option titled “Adjust active hours.” Click the dropdown menu next to it and change it from Automatically to Manually.

Setting the Safe Window

Once you switch to manual mode, two time selectors will appear.

  1. Click the Start time and set it to when you usually begin your workday (e.g., 8:00 AM).
  2. Click the End time and set it to when you typically finish working (e.g., 6:00 PM).

Note: Windows 11 allows you to set an active hours window of up to 18 consecutive hours (e.g., 6:00 AM to Midnight). You cannot set a 24-hour block, as the system demands at least a 6-hour window to perform maintenance.

What This Actually Does

By setting your Active Hours manually, you are creating an absolute strict boundary for the Windows Update service. Windows will still download updates silently in the background while you work. However, if a reboot is required, it is strictly forbidden from initiating that restart between 8:00 AM and 6:00 PM (or whatever times you selected), even if you leave the computer idle. It will wait patiently until you manually reboot, or until the clock strikes your designated end time.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.