Without further ado, to stop Windows from destroying your life, use the local security policy editor to disable this most abhorrent feature.
- As an administrator, launch the policy editor (gpedit.msc)
- Expand User Configuration\Administrative Templates\Windows Components\Windows Update
- Enable "Do not display 'Install Updates and Shut Down' option in Shut Down Windows dialog box.
Alternatively, copy and past this as a registry ini file and import it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAUShutdownOption"=dword:00000001