Tuesday 16 August 2011

Tip to Stop the System Automatically rebooting after windows updates

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.

a new DWORD value, or modify the existing value, called
"NoAutoRebootWithLoggedOnUsers" and set it according to the value data

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Registry Editor Example

|(Default)REG_SZ(value not set)|
|NoAutoRebootWithLoggedOnUsersREG_DWORD0x00000001 (1)|


Registry Settings

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)