Skip to content

How to disable Windows 11 update restarts

Affects
  • Windows 11
  • Windows 11, version 22H2
Priya Natarajan5 min read

Quick answer

You can prevent Windows 11 from automatically restarting after updates by setting your active hours under Settings > Windows Update > Advanced options. Alternatively, you can enable the Group Policy setting titled No auto-restart with logged on users for scheduled automatic updates installations when Configure Automatic Updates is set to option 4.

Unexpected system reboots after Windows update installations can interrupt ongoing tasks, close unsaved documents, and cause frustrating downtime. Windows 11 automatically schedules restarts after downloading and installing update packages, but you can configure several settings to prevent automatic reboots while you are working or actively logged into your device.

Managing update restarts affects all desktop versions of Windows 11 where automatic update background operations take place. By customizing your active hours or using administrative policy configurations, you ensure that mandatory restart operations occur strictly outside your working schedule or when no user session is active.

Steps

To prevent Windows 11 from automatically restarting your PC while you are working, start by configuring your active hours through the Settings application.

  1. Open Settings by opening the Start menu and selecting the gear icon.
  2. Select Windows Update from the navigation pane on the left side of the screen.
  3. Click Advanced options on the right side of the screen.
  4. Select Active hours to expand the drop-down menu and view current schedule settings.
  5. Change the drop-down setting from Automatically to Manually.
  6. Click the Start time and End time fields to set your daily activity window, ensuring the selected period does not exceed the maximum allowed range of 18 hours.

If you are managing devices that require administrative control, you can configure Group Policy settings instead. Note that Group Policy changes apply across the operating system for all configured accounts.

  1. Press the Windows key, type gpedit.msc, and select Local Group Policy Editor.
  2. Navigate through the left pane to Computer Configuration\Administrative Templates\Windows Components\Windows Update.
  3. Double-click the policy setting titled Configure Automatic Updates.
  4. Select the Enabled option at the top of the policy configuration window.
  5. Under Options, choose option 4 - Auto download and schedule the install, and set your preferred Scheduled install time.
  6. Click Apply, then click OK to close the window.
  7. Double-click the policy named No auto-restart with logged on users for scheduled automatic updates installations in the Windows Update folder.
  8. Select Enabled and click OK.
  9. Alternatively, double-click Turn off auto-restart for updates during active hours in the same folder, select Enabled, configure the active hours start and end times, and click OK.

You can also use the Windows registry to achieve these settings if Group Policy is unavailable. Note that directly editing the Windows registry isn't recommended, as improper edits can cause system stability issues.

  1. Press the Windows key, type regedit, and select Registry Editor.
  2. Navigate to the following registry key path: HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU.
  3. Right-click in the right pane, select New > DWORD (32-bit) Value, and name it AuOptions.
  4. Double-click AuOptions and set its Value data to 4.
  5. Right-click in the right pane again, select New > DWORD (32-bit) Value, and name it NoAutoRebootWithLoggedOnUsers.
  6. Double-click NoAutoRebootWithLoggedOnUsers and set its Value data to 1.
  7. To configure active hours through the registry under HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate, create a DWORD named SetActiveHours with a value of 1, and set DWORD values for ActiveHoursStart and ActiveHoursEnd.

What it changes

Configuring active hours or update policies changes when and how Windows 11 executes post-update system reboots. By default, Windows 11 sets active hours from 8 AM to 5 PM. During this time frame, the system refrains from executing automatic reboots after installing background updates. Changing active hours allows you to extend this boundary up to a maximum length of 18 hours, keeping your device from rebooting throughout your entire workday.

Enabling the policy No auto-restart with logged on users for scheduled automatic updates installations ensures that as long as a user remains signed into the system, Windows 11 will not perform an automatic reboot following a scheduled update installation. This policy strictly relies on Configure Automatic Updates being set to option 4 - Auto download and schedule the install. If a signed-in user manually schedules a specific restart time inside an update notification, the system will honor that explicit request and restart at the user-specified time regardless of logged-in status. When using Remote Desktop Protocol (RDP) connections, Windows 11 only considers active RDP sessions as signed-in users. Any devices without locally logged-in users or active RDP sessions will still be subject to automatic restarts.

Starting in Windows 11, version 22H2, Microsoft added the option Apply only during active hours to the Display options for update notifications policy. When configured alongside option 1 (turn off most notifications but keep restart warnings) or option 2 (turn off all notifications including restart warnings), update notifications are suppressed specifically during active hours while still ensuring users receive necessary warnings outside those hours or when a mandatory update deadline is reached.

Several legacy update policies found in older Windows releases do not apply to Windows 11. Legacy policies that are not applicable to Windows 11 include:

  • Always automatically restart at the scheduled time
  • Specify deadline before auto-restart for update installation
  • Configure auto-restart required notification for updates
  • Configure auto-restart-reminder notifications for updates
  • Turn off auto-restart notifications for update installations
  • Configure auto-restart warning notifications schedule for updates

Undo

To restore default update restart behavior in Windows 11, follow these steps to revert your custom active hours, Group Policy, or registry configurations.

  1. Open Settings and go to Windows Update > Advanced options.
  2. Select Active hours.
  3. Change the setting from Manually back to Automatically, or reset the start and end times back to the default 8 AM to 5 PM window.
  4. If you configured Group Policy, open the Local Group Policy Editor and navigate to Computer Configuration\Administrative Templates\Windows Components\Windows Update.
  5. Double-click No auto-restart with logged on users for scheduled automatic updates installations, select Not Configured, and click OK.
  6. Double-click Configure Automatic Updates, select Not Configured, and click OK.
  7. Double-click Turn off auto-restart for updates during active hours, select Not Configured, and click OK.
  8. If you modified the Windows registry, open Registry Editor and navigate to HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU.
  9. Double-click NoAutoRebootWithLoggedOnUsers and change its Value data to 0, or right-click the value and select Delete.
  10. Remove or modify AuOptions, SetActiveHours, ActiveHoursStart, or ActiveHoursEnd values to match your original administrative defaults.

Sources

Frequently asked questions

Can I stop Windows 11 from automatically restarting after updates?

Yes, you can configure active hours in Settings to block reboots during working hours, or set the Group Policy No auto-restart with logged on users for scheduled automatic updates installations.

What is the maximum active hours range in Windows 11?

The maximum range for active hours in Windows 11 is 18 hours counted from your specified start time.

Does No auto-restart with logged on users work for Remote Desktop sessions?

It only applies to active RDP sessions. Devices that do not have locally signed-in users or active RDP sessions will still automatically restart.

What happens if I manually schedule a restart in a notification?

If you manually schedule a restart in an update notification, Windows 11 will restart at that scheduled time even if a user remains signed in.

Checked against Microsoft's release notes on ; re-checked when a new build ships.

Written by

Priya Natarajan

Writes Thea's how-to guides for new and changed Windows 11 features: where a setting moved, how to turn it on or off, and what it actually does. Every guide is checked against Microsoft's release notes and updated when a new build changes the steps.

More from Priya Natarajan

Related guides

  • Update ProblemsWindows 11, version 25H2 (OS Build 26200.9278)

    KB5120998 Not Installing or Stuck in Windows 11

    KB5120998 is an optional preview update for Windows 11 versions 24H2 and 25H2. If it becomes stuck during download or fails to install, you can resolve the issue by running the Windows Update troubleshooter, clearing the SoftwareDistribution cache folder, or running SFC and DISM scans. Because KB5120998 is a non-security preview release, you can also safely pause or skip the update until next month.

    Maya Reyes

  • Update ProblemsWindows 11 version 23H2

    KB5078883 Not Installing or Stuck in Windows 11

    If KB5078883 fails or gets stuck during installation on Windows 11, run the automated Windows Update troubleshooter from Settings. You can also use the Get Help app to reset update components or clear temporary system update files in Storage settings. Restart your PC afterwards and check for updates again to trigger a fresh download of OS Build 22631.6783.

    Daniel Okafor

  • How-To GuidesWindows 11, version 26H1

    How to join the Windows Insider Program

    To join the Windows Insider Program, open Settings > Windows Update > Windows Insider Program and click Get started to link your account. Choose your preferred preview channel—Experimental, Beta, or Release Preview—and select your core version under Advanced options. Restart your PC and check for updates to download your first Insider Preview build.

    Priya Natarajan

  • How-To GuidesWindows 11, version 26H1

    How to run the Windows Update troubleshooter

    To run the Windows Update troubleshooter in Windows 11, navigate to Settings > System > Troubleshoot > Other troubleshooters and click the Run button next to Windows Update. The tool automatically scans background update components, resolves configuration errors, and clears cached files. After the process finishes, restart your computer and check for updates again.

    Priya Natarajan

  • Update ProblemsWindows 11, version 26H1

    KB5124012 not installing or stuck in Windows 11

    If KB5124012 fails to install or gets stuck during the download process, it usually means temporary update files are corrupted or the background update service needs a quick reset. Running the built-in Windows Update troubleshooter or clearing out the download cache generally resolves the issue. Once cleared, checking for updates again allows Windows 11 to complete the update to OS Build 28000.2954 cleanly.

    Daniel Okafor