Windows · System
Prevent restarts during your work hours
Lets you define a time window during which Windows will avoid automatically restarting the PC to install updates, ensuring you're not interrupted during typical working or usage hours.
How to open Active Hours
- Open Settings → Windows Update → Advanced options
- Click 'Active hours'
- Toggle automatic adjustment, or manually set start and end times
- Save the changes to apply the new restart-avoidance window
What you should know
- Set a start and end time for your active hours window
- Choose automatic adjustment based on your actual usage patterns
- Restarts for updates are scheduled outside this window when possible
- Maximum active hours span is limited to a set number of hours
Why it matters
Active Hours prevents one of the most disruptive experiences in Windows: an automatic restart for updates happening in the middle of active work, a presentation, or a video call. By defining when you typically use the PC, Windows schedules restarts for update installation outside that window instead, usually overnight or during other low-usage periods. This is especially valuable for anyone with an irregular but predictable schedule where the default active hours window doesn't match actual usage patterns.
Best practices
- Set active hours to cover your actual typical usage window, including any evening use
- Enable automatic adjustment if your schedule varies day to day and you want Windows to learn it
- Extend active hours before a known busy day or important presentation
- Combine with Pause Updates for guaranteed protection during critical events beyond the active hours limit
Common problems and fixes
- PC still restarted during active hours
- Confirm the active hours window was saved correctly and covers the actual time; a pending restart may also force through if delayed too long.
- Can't extend active hours far enough
- Active hours have a maximum span; use Pause Updates for longer protection windows beyond that limit.
- Automatic adjustment doesn't match my schedule
- Switch to manually setting active hours if the automatic detection isn't tracking your usage accurately.
Tips and tricks
- Turn on automatic active hours adjustment for a few weeks to let Windows learn your real pattern before customizing manually
- Check active hours the night before an important all-day event and extend if needed
Frequently asked questions
Does this stop updates from downloading?
No, updates still download in the background; active hours only prevents automatic restarts during that window.
What happens if a restart is needed but active hours never has a gap?
Windows will eventually prompt for or force a restart if it's been delayed too long, even during active hours, to ensure the device stays updated.
Is there a maximum active hours range?
Yes, there's a capped maximum span; for full protection during a longer event, use Pause Updates instead.
Related settings
- Windows UpdateWindows Update allows you to download and install the latest security patches, feature updates, and performance improvements. Keeping your system updated helps protect against vulnerabilities and ensures optimal performance.
- Pause UpdatesLets you temporarily halt the download and installation of Windows updates for a set period, useful when you need a stable, unchanged system for a presentation, event, or compatibility testing.
- Power & SleepPower & Sleep settings let you control when your screen turns off and when your device goes to sleep while idle. Adjusting these settings can help balance battery life and performance.
More System guides for Windows
- Default AppsDefault Apps settings let you choose which application opens specific file types and links by default, such as your browser, email client, photo viewer, or music player.
- Delivery OptimizationConfigures Delivery Optimization, which lets your PC download Windows Update and app files from other PCs on your network or the internet in addition to Microsoft's servers, and optionally share your own downloaded updates with others.
- Windows Insider ProgramLets you enroll this PC in the Windows Insider Program to receive pre-release Windows builds ahead of general availability, choosing a channel that matches your appetite for new features versus stability.
- Update HistoryShows a chronological list of every update installed on this PC, including quality updates, feature updates, and driver updates, with the ability to uninstall problematic recent updates.
- Optional Updates & Driver UpdatesLists optional updates not automatically installed, including driver updates from hardware manufacturers, feature previews, and monthly non-security quality updates you can choose to install manually.
- Windows Update Advanced OptionsCentralizes advanced Windows Update controls, including updating other Microsoft products alongside Windows, restart notifications, metered connection behavior, and download prioritization.