Disable auto reboot after update (win7)

2011-04-19

Windows updates are a necessary evil when using Windows. But no problem there, the installation shouldn't even bother me. It should follow Chrome's underwater update scheme and be done with it. The problem, of course, is that after you update Windows will nag you to reboot your computer. If you don't respond to that popup (under XP you could just drag it out of view), it will automatically force a reboot on you. What the hell was that silly Microsoft engineer thinking when he cooked that up.

Anyways, there is an easy way and a somewhat elaborate way to fix this. The easy way involves gpedit.msc, but that doesn't exist on Windows Home Premium, which seems to be installed on basically any new machine these days. So here are the steps to disable the auto reboot crap on Windows Home Premium using the registry. I found them here.

Open the Registry Edit (WindowsKey + R, "regedit.exe")

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU.

There's a chance the last two keys don't exist, especially with gpedit.msc missing. So in that case we create them first.

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows. Right mouse click, new key. Name the key WindowsUpdate. Do the same in the new key, name the key AU.

Now move to the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU key. Create a new 32bit DWORD and name it: NoAutoRebootWithLoggedOnUsers.

Double click it and change the value to 1.

That's it.

Hope it helps ya :)