


How to Stop Automatic Restart in Windows After an Update - Make Tech Easier
May 14, 2025 pm 03:58 PMMicrosoft requires restarting Windows computers after each update, which seems a bit unusual at first glance, because there is no such requirement for Linux systems. The update should be done in the background and will not disturb your current workflow. This guide shows some workarounds that help you prevent automatic restarts after Windows updates are complete.
Table of contents
- Use the Service Menu
- Using the Local Group Policy Editor
- Using PowerShell
- Using the Registry Editor
- Using the Task Scheduler
- Change the activity time
- Use metering connection
Use the Service Menu
This is the easiest way to prevent automatic restart after Windows updates. Open the service menu, you can search by entering services in Win R , or using the Windows menu. Scroll down to Windows Update in the list. Right-click and select Properties and go to the General tab. Change the startup type to Disable . Click Apply and OK .
Although you can turn this method off at any time, there are some problems with this method. Completely banning update-related activities can affect Windows application updates and security patches, which are essential in today's threatening environments. This means no downloads and no update reminders. The following method provides more detailed control.
Using the Local Group Policy Editor
On a Windows Pro/Enterprise device, open the Run command, Win R , then enter gpedit.msc and press Enter .
After opening the Local Group Policy Editor window, navigate to Local Computer Policy- > Computer Configuration- > Administrative Templates- > Windows Components- > Windows Update . In the right panel, double-click the entry: Do not automatically restart for scheduled automatic update installation when the logged-in user is in the case of a logged-in user .
Select the enable box and click Apply -> OK to completely disable any future updates' automatic restart feature. This method still allows Windows updates to download, but does not force restart.
Tip : If you have problems after a recent Windows update, learn how to continue.
Using PowerShell
PowerShell has a registry setting called NoAutoRebootWithLoggedOnUsers that allows users to prevent forced restarts after Windows updates. This method should work easily in Windows 10, but it requires some tweaking in Windows 11 because the exact registry path may not exist, resulting in a "Path not found" error.
First, open PowerShell as an administrator. If you are a Windows 11 user, run the following PowerShell script to place the above registry settings.
<code>$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"</code> Check if the registry path exists<p> if (-not (Test-Path $registryPath)) {</p><h1> Create a registry path</h1><pre class="brush:php;toolbar:false"> <code>New-Item -Path $registryPath -Force | Out-Null</code>
}
Set NoAutoRebootWithLoggedOnUsers to 1
Set-ItemProperty -Path $registryPath -Name "NoAutoRebootWithLoggedOnUsers" -Value 1 -Type DWord
Set up automatic configuration updates (required to be effective for NoAutoRebootWithLoggedOnUsers)
Set-ItemProperty -Path $registryPath -Name "AUOptions" -Value 4 -Type DWord
After that, enter the following command. If you are a Windows 10 user, you can type directly because you won't encounter the "Path Not Found" error.
<code>Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoRebootWithLoggedOnUsers" -Value 1</code>
If you change your mind later, you can enable automatic restart again by setting the above registry value to "0".
<code>Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoRebootWithLoggedOnUsers" -Value 0</code>
Related : You can also use PowerShell to hide updates.
Using the Registry Editor
The above method of using PowerShell to prevent Windows updates from restarting can also be done using the Registry Editor. This method should work automatically in Windows 10, but requires specific tweaks in Windows 11.
Open Run command, Win R , and enter regedit in the box to open the Registry Editor on the device. Enter the following path in the Registry Editor window:
<code>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate</code>
Find a D-WORD (32-bit) value named "NoAutoRebootWithLoggedOnUsers" under WindowsUpdate -> AU (Auto) key. The default is set to 0, but you need to set it to 1.
If you have already executed the PowerShell script above, you don't need to create the registry entry this way.
Warning : It is always wise to back up your registry before making any adjustments.
Using the Task Scheduler
Open the Task Scheduler from the Windows Search box. Navigate to Task Scheduler- > Task Scheduler Library- > Microsoft- > Windows- > UpdateOrchestrator . The UpdateOrchestrator service runs in the background to scan, download and install Windows updates.
If you see the restart option in the right panel of UpdateOrchestrator , right-click to disable it. If you don't see the restart option, it means that the restart task has not been created yet. The solution is to change the basic restart parameters of the scheduled scan option. Right-click to select its properties .
Change the restart parameters from the Conditions tab.
Tip : Task Scheduler won't work for you? Check out our guide to learn how to fix it.
Change the activity time
Windows has a feature called Active Time, which, as the name implies, allows the user to specify a period of time during which the operating system should not automatically install updates or perform system restarts.
In Windows 11, navigate to Settings -> Windows Update -> Advanced Options -> Active Time . For Windows 10, select Settings -> Update & Security -> Windows Update . Then, select Change Activity Time .
If the Adjust Active Time button is set to Automatic , change it to Manual . Allocate the period of time during the day when the system should not prompt you for restarting. Easily adjust these settings to avoid restart notifications of at least 23 hours a day.
Use metering connection
Using metered connections is a great way to prevent automatic restarts while allowing critical updates to be installed. This is a good choice for those who don't want to adjust their group policy or registry editor.
Go to Settings -> Network and Internet -> Wi-Fi . Select the Wi-Fi network you want and turn on the metering connection switch.
As shown above, you can prevent automatic restart after Windows update download. Similarly, you can turn off automatic driver updates in Windows. If you find that Windows Update Service is missing, there are ways to restore it to your computer.
The above is the detailed content of How to Stop Automatic Restart in Windows After an Update - Make Tech Easier. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The problem of slow booting can be solved by the following methods: 1. Check and disable unnecessary booting programs; 2. Turn off the quick boot function; 3. Update the driver and check disk health; 4. Adjust the number of processor cores (only for advanced users). For Windows 11 systems, first, the default self-start software such as QQ and WeChat are disabled through the task manager to improve the startup speed; if you use dual systems or old hardware, you can enter the power option to turn off the quick boot function; second, use the device manager to update the driver and run the chkdsk command to fix disk errors, and it is recommended to replace the mechanical hard disk with SSD; for multi-core CPU users, the kernel parameters can be adjusted through bcdedit and msconfig to optimize the startup efficiency. Most cases can be corrected by basic investigation

If you're having trouble reading your desktop icons' text or simply want to personalize your desktop look, you may be looking for a way to change the font color on desktop icons in Windows 11. Unfortunately, Windows 11 doesn't offer an easy built-in

Fixed Windows 11 Google Chrome not opening Google Chrome is the most popular browser right now, but even it sometimes requires help to open on Windows. Then follow the on-screen instructions to complete the process. After completing the above steps, launch Google Chrome again to see if it works properly now. 5. Delete Chrome User Profile If you are still having problems, it may be time to delete Chrome User Profile. This will delete all your personal information, so be sure to back up all relevant data. Typically, you delete the Chrome user profile through the browser itself. But given that you can't open it, here's another way: Turn on Windo

When Windows cannot detect a second monitor, first check whether the physical connection is normal, including power supply, cable plug-in and interface compatibility, and try to replace the cable or adapter; secondly, update or reinstall the graphics card driver through the Device Manager, and roll back the driver version if necessary; then manually click "Detection" in the display settings to identify the monitor to confirm whether it is correctly identified by the system; finally check whether the monitor input source is switched to the corresponding interface, and confirm whether the graphics card output port connected to the cable is correct. Following the above steps to check in turn, most dual-screen recognition problems can usually be solved.

Have problems uploading files in Google Chrome? This may be annoying, right? Whether you are attaching documents to emails, sharing images on social media, or submitting important files for work or school, a smooth file upload process is crucial. So, it can be frustrating if your file uploads continue to fail in Chrome on Windows PC. If you're not ready to give up your favorite browser, here are some tips for fixes that can't upload files on Windows Google Chrome 1. Start with Universal Repair Before we learn about any advanced troubleshooting tips, it's best to try some of the basic solutions mentioned below. Troubleshooting Internet connection issues: Internet connection

Mini PCs have undergone

Microsoft's latest Windows updates can generally be installed safely, but they need to be judged based on the update type and usage scenario. Ordinary users can update their daily office work, video watching, etc. directly; professional software or game users should be cautious. Regular quality updates (such as the monthly "Tuesday Patch") have low risks, so it is recommended to install them in time; updates to functions (such as large version upgrades) may cause compatibility issues. It is recommended to back up data, confirm software and hardware support, and check community feedback before installing. Overall, quality updates are safe and reliable, and functional updates are suitable for optional installation after observation.
