Normally Windows Update will automatically reboot the system when you have your system configured to "Automatically download recommended updates for my computer and install them" and one or more of those updates requires a reboot. This settings changes the behavior so when users are logged in the system will not automatically reboot.
Open your registry and find or create the key below.
Create a new DWORD value, or modify the existing value, called "NoAutoRebootWithLoggedOnUsers" and set it according to the value data below.
Exit your registry; you may need to restart or log out of Windows for the change to take effect.
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] Value Name: NoAutoRebootWithLoggedOnUsers Data Type: REG_DWORD (DWORD Value) Value Data: (0 = no effect, 1 = do not automatically reboot)
>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<