Home > Windows Server Tips > > Prevent Automatic Updates from rebooting Windows by accident
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Prevent Automatic Updates from rebooting Windows by accident


Serdar Yegulalp, Contributor
03.14.2006
Rating: -4.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Automatic Updates is a great feature in Windows. . .at least in theory. It silently downloads all of the most recent fixes for Windows and then applies them as needed.

Unfortunately, one of its features is a massive annoyance that drives people crazy. It forces reboots when people aren't looking, and sometimes the prompts it pops up to authorize a reboot get tripped by mistake.

This can have some truly wrenching side effects, which I've had the misfortune to experience first-hand. I was working on a computer that had Automatic Updates set to download and apply patches automatically. At one point I got up to fix a sandwich. In the ten minutes I was gone, Automatic Updates' reboot timer popped up and expired, and I lost the work I had open. I had been typing something into a Web browser window (admittedly, probably not a good idea), and the browser was shut down without a chance for me to save anything.

The good news is that Microsoft does provide a degree of configurability for the automatic-reboot functionality in Automatic Updates. You can staunch all the prompts and the reboot timer, so that the only reboot that takes place is at the user's explicit discretion.

  • Open the Registry on the target computer and navigate to HKEY_LOCAL_MACHINE\Software\:Policies\Microsoft\Windows\WindowsUpdate\AU.
  • Add a REG_DWORD key named NoAutoRebootWithLoggedOnUsers and set it to 1. This forces the computer to let the logged-on user choose whether or not to reboot, rather than activate the 5-minute reboot timer.
  • Add a REG_DWORD key named RebootRelaunchTimeout and set it to 720 (decimal). This value indicates how long the computer will wait, in minutes, between reboot prompts after installing updates. This can be set to a maximum of 1440, but 720 minutes is 12 hours. That should be long enough for most anyone.
  • Add a REG_DWORD key named RebootRelaunchTimeoutEnabled and set it to 1. This enables the previous value.
  • Add a REG_DWORD key named RebootWarningTimeout and set it to 30 (decimal). This value indicates how long the computer will count down before rebooting, once it pops up a reboot warning. This entry is also calibrated in minutes.
  • Add a REG_DWORD key named RebootWarningTimeoutEnabled and set it to 1. This enables the previous value you set.

These changes should take effect after a reboot, and you can also integrate them into a Group Policy or add them through a startup script.


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

More information from SearchWinSystems.com


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts