Prevent automatic restarts after updates while signed in

Windows UpdateAll Windows 10/11 versionsRevertible

This will prevent your PC from automatically restarting after updates while any user is signed in.

Code to Apply

Prevent automatic restarts after updates while signed inRegistry
Windows Registry Editor Version 5.00


; Prevent automatic restarts after updates while signed in

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]

"NoAutoRebootWithLoggedOnUsers"=dword:00000001

Code to Revert

Allow automatic restarts after updates while signed inRegistry
Windows Registry Editor Version 5.00


; Allow automatic restarts after updates while signed in

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]

"NoAutoRebootWithLoggedOnUsers"=-

Want to combine this with other tweaks?

Open Configurator