Disable Auto Restart After Windows Update with Regedit
This article explains how to prevent Windows from automatically restarting your computer after installing Windows Updates by modifying the Windows Registry (Regedit). Following these straightforward steps will configure your system to require manual approval for reboots whenever a user is logged in, preventing sudden interruptions and unsaved data loss.
Step 1: Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditinto the field and pressEnteror click OK. - Select Yes if prompted by User Account Control (UAC).
Step 2: Navigate to the Windows Update Key
In the address bar at the top of the Registry Editor, paste the
following path and press Enter:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
Step 3: Create the WindowsUpdate and AU Keys (If Missing)
- Look under the Windows folder in the left sidebar for a folder named WindowsUpdate.
- If it does not exist:
- Right-click the Windows key.
- Select New > Key.
- Name it
WindowsUpdate.
- Right-click the WindowsUpdate key.
- Select New > Key.
- Name it
AU(which stands for Automatic Updates).
Your complete path should now be:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Step 4: Create the NoAutoRebootWithLoggedOnUsers Value
- Click to select the AU key in the left pane.
- Right-click anywhere in the empty space on the right pane.
- Hover over New and select DWORD (32-bit) Value.
- Name the new value
NoAutoRebootWithLoggedOnUsersand pressEnter.
Step 5: Modify the Value Data
- Double-click the newly created
NoAutoRebootWithLoggedOnUsersentry. - Set the Value data field to
1. - Ensure the Base is set to Hexadecimal.
- Click OK.
Step 6: Apply the Changes
Close the Registry Editor. Restart your computer once to ensure the new registry configuration takes effect. Moving forward, Windows Update will notify you of required restarts but will not force a reboot while your account remains logged in.