Disabling Windows Update Auto Reboot

Filed Under Geek | 2006-10-14, 14:30

If you’re like me, your computer is always on, always connected to the Internet and the monitor is the only thing that gets turned off from time to time. This is great because you can leave a copy of FireFox open with 5-10 tabs of pages/articles that you want to read but don’t have the time to check out now. It’s also great for leaving temporary notes in notepad without cluttering up your desktop with saved files.

All sorts of good reasons, but what happens when Windows Update installs a new update and forces your machine to restart without your permission? *poof* All of that is gone and you’re left staring at a login screen the next morning. Sure there are plugins available to save your session in FireFox, document recovery in Office, etc. but this is all a hassle and should be preventable, right? Luckily it is…

For Windows XP Professional SP2 / Windows 2000/2003

  • Click the Start button, select Run…
  • Type in “gpedit.msc” (without the quotes)
  • Browse into Local Computer Policy->Computer Configuration->Administrative Templates->Windows Components->Windows Update
  • Right click on “No auto-restart for scheduled Automatic Updates installations” and select Properties
  • Change the radio button to select “Enabled” and hit Ok
  • There are several settings in this view that can be changed in regards to Windows Update. Each is well documented so poke around if you want to modify the behavior of Windows Update in another way.
  • Reboot your computer one last time for the setting to take place.

For Windows XP Home Edition
Warning, modifying your registry is dangerous. If you don’t know what you’re doing, get the computer kid down the street to do it

  • Click the Start button, select Run…
  • Type in “regedit” (without the quotes)
  • Browse to HKEY_LOCAL_MACHINE \Software\Policies \Microsoft\Windows \WindowsUpdate\AU
  • Right click and create a new DWORD Value named “NoAutoRebootWithLoggedOnUsers” (without the quotes)
  • Double-click this new value and set the Value data to 1
  • Or if you’re lazy, download this file and double-click it to add that value for you and skip the steps above.
  • Reboot your computer one last time for the setting to take effect.

So now you can leave all the programs you want running overnight, knowing they won’t have disappeared into the ether sometime around 3:00am when Windows Update checks for new security patches. Just make sure someone is logged in on the computer or else it will ignore this setting and reboot. Now you just need to get an Uninterruptible Power Supply (UPS) and you’ll be covered in the event of power outages as well. Bear in mind though that the updates that are being applied can be quite important in protecting your computer. When you see the message indicating an update required a reboot, do so at your earliest convenience.

6 Comments