Table of Contents
Table of contents
Use the Service Menu
Using the Local Group Policy Editor
Using PowerShell
Create a registry path
Set NoAutoRebootWithLoggedOnUsers to 1
Set up automatic configuration updates (required to be effective for NoAutoRebootWithLoggedOnUsers)
Using the Registry Editor
Using the Task Scheduler
Change the activity time
Use metering connection
Home System Tutorial Windows Series How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

May 14, 2025 pm 03:58 PM

Microsoft 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

    1. Use the Service Menu
    1. Using the Local Group Policy Editor
    1. Using PowerShell
    1. Using the Registry Editor
    1. Using the Task Scheduler
    1. Change the activity time
    1. Use metering connection
  1. 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 .

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

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.

  1. 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.

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

Tip : If you have problems after a recent Windows update, learn how to continue.

  1. 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 id="Create-a-registry-path"> Create a registry path</h1><pre class="brush:php;toolbar:false"> <code>New-Item -Path $registryPath -Force | Out-Null</code>
Copy after login

}

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>
Copy after login

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

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>
Copy after login

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

Related : You can also use PowerShell to hide updates.

  1. 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>
Copy after login

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.

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

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.

  1. 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 .

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

Change the restart parameters from the Conditions tab.

How to Stop Automatic Restart in Windows After an Update - Make Tech Easier

Tip : Task Scheduler won't work for you? Check out our guide to learn how to fix it.

  1. 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.

  1. 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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1673
14
PHP Tutorial
1278
29
C# Tutorial
1257
24
Windows kb5054979 update information Update content list Windows kb5054979 update information Update content list Apr 15, 2025 pm 05:36 PM

KB5054979 is a cumulative security update released on March 27, 2025, for Windows 11 version 24H2. It targets .NET Framework versions 3.5 and 4.8.1, enhancing security and overall stability. Notably, the update addresses an issue with file and directory operations on UNC shares using System.IO APIs. Two installation methods are provided: one through Windows Settings by checking for updates under Windows Update, and the other via a manual download from the Microsoft Update Catalog.

Nanoleaf Wants to Change How You Charge Your Tech Nanoleaf Wants to Change How You Charge Your Tech Apr 17, 2025 am 01:03 AM

Nanoleaf's Pegboard Desk Dock: A Stylish and Functional Desk Organizer Tired of the same old charging setup? Nanoleaf's new Pegboard Desk Dock offers a stylish and functional alternative. This multifunctional desk accessory boasts 32 full-color RGB

How to Use Windows 11 as a Bluetooth Audio Receiver How to Use Windows 11 as a Bluetooth Audio Receiver Apr 15, 2025 am 03:01 AM

Turn your Windows 11 PC into a Bluetooth speaker and enjoy your favorite music from your phone! This guide shows you how to easily connect your iPhone or Android device to your computer for audio playback. Step 1: Pair Your Bluetooth Device First, pa

ASUS' ROG Zephyrus G14 OLED Gaming Laptop Is $300 Off ASUS' ROG Zephyrus G14 OLED Gaming Laptop Is $300 Off Apr 16, 2025 am 03:01 AM

ASUS ROG Zephyrus G14 Esports Laptop Special Offer! Buy ASUS ROG Zephyrus G14 Esports Laptop now and enjoy a $300 offer! Original price is $1999, current price is only $1699! Enjoy immersive gaming experience anytime, anywhere, or use it as a reliable portable workstation. Best Buy currently offers offers on this 2024 14-inch ASUS ROG Zephyrus G14 e-sports laptop. Its powerful configuration and performance are impressive. This ASUS ROG Zephyrus G14 e-sports laptop costs 16 on Best Buy

5 Hidden Windows Features You Should Be Using 5 Hidden Windows Features You Should Be Using Apr 16, 2025 am 12:57 AM

Unlock Hidden Windows Features for a Smoother Experience! Discover surprisingly useful Windows functionalities that can significantly enhance your computing experience. Even seasoned Windows users might find some new tricks here. Dynamic Lock: Auto

How (and Why) to Turn Off Mouse Acceleration on Windows 11 How (and Why) to Turn Off Mouse Acceleration on Windows 11 Apr 15, 2025 am 06:06 AM

Improve mouse accuracy: Disable Windows 11 mouse acceleration function The mouse cursor moves too fast on the screen, even if you only move the mouse a few centimeters? This is what the mouse acceleration function is. This article will guide you on how to disable this feature to better control mouse movement. Is it wise to disable mouse acceleration? There is no direct "Mouse Acceleration" option in Windows systems. Instead, it is the "Enhanced Pointer Precision" setting, which Microsoft sees as a mouse acceleration feature. When this feature is enabled, the mouse's DPI (dots per inch) setting takes effect. It controls the relationship between the physical movement speed of the mouse and the distance the cursor moves on the screen. Move the mouse slowly, Windows will reduce the effective DPI and the cursor moves shorter

Your Keyboard Needs a Big Ol' Volume Knob Your Keyboard Needs a Big Ol' Volume Knob Apr 18, 2025 am 03:04 AM

In today's touchscreen world, the satisfying tactile feedback of physical controls is a welcome change. That's why a keyboard with a large volume knob is surprisingly appealing. I recently experienced this firsthand, and it's been a revelation. For

How to Right-Click With No Mouse How to Right-Click With No Mouse Apr 18, 2025 pm 12:03 PM

The mouse is a vital component to getting work done on your PC. But when you’re stuck with a faulty mouse, you can run into a few problems including the inability to right-click. But the good news is that there are definitely ways t

See all articles