When automatic updates have been installed typically a prompt will appear that states the system will automatically reboot. This tweak can be used to disable automatic reboots after update.
Open the Windows Registry Editor (regedit.exe) by clicking Start, then Run, then in the open box type regedit and click OK.
Browse your registry and find the key:
To enable this setting:
Create a new (or modify the existing) Dword value called NoAutoRebootWithLoggedOnUsers, and set the value to 1.
To reset this setting to the default value:
Highlight the value NoAutoRebootWithLoggedOnUsers and click Edit > Delete in the menu bar.
Close the Registry Editor by clicking File > Exit in the menu bar.
To activate this tweak please reboot the system.
Disclaimer: Making any changes to your system can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from these modifications can be resolved. Please follow the instructions carefully and use the information provided at your own risk.