[tip] Prevent Windows Automatic Updates from rebooting your computer

I recently wrote about how much I dislike the way Windows OneCare requires you to enable Windows Automatic Update to download and install updates automatically, since Automatic Update installations often automatically reboot my computer when complete. Jason Stangroome left a comment informing me that there are registry and group policy settings to prevent automatic reboots. I looked into both approaches (registry and group policy) and decided to go with group policy, since the registry settings require manually killing the Windows Update process .

Here's how to prevent Automatic Update from rebooting your machine:

  1. Start -> Run
  2. Type: gpedit.msc
  3. Expand Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Windows Update
  4. Double-click "No auto-restart for scheduled Automatic Updates installations"
  5. Select "Enabled", then OK. Close the Group Policy configuration program.

Fine print: 

  1. You need Administrator priveleges to make this setting.
  2. Some people complained that Windows ignored the "no auto-restart" setting for the WMF patch. Potentially a ID 10T error, though. 

Group Policy settings to disable Automatic Updates from rebooting computer

Published Saturday, February 11, 2006 10:19 PM by Jon Galloway
Filed under:

Comments

# Shutdown Win2003 Server without being asked why...

Cool. Another one : On the above screen, under Administrative Templates / System right-click on "Display Shutdown Event Tracker" and select properties. Select Disabled to prevent Windows from asking for a reason why you are shuting down Win2003 Server.

Sunday, February 12, 2006 4:43 PM by Don Good

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Thanks - This tip saves a lot of us from those irritating countdowns...Cheers

Sunday, February 12, 2006 5:41 PM by Elikem Adadevoh

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Thanks for that - I'm going to find it very handy.

Monday, February 20, 2006 4:24 AM by Simon

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Holy cow! Great tip. I was, until recently, blissfully ignorant of the fact that Windows would automatically reboot your machine after an update. I normally manually update since I am adverse to things auto-magically happening with my stuff, but *#$ happens and I lost some work a while back because of this. thx

Thursday, March 09, 2006 12:56 PM by D. Howell

# [tool] TimeSnapper - Never lose work again

TimeSnapper is one of my favorite applications. It does one thing and it does it well - it takes a screenshot

Monday, September 11, 2006 5:50 AM by JonGalloway.ToString()

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

I'm happy with this information and that I found it. I have a gameserver running at home and the automatic reboot would be a big problem, because the server will shutdown and all players in it :-D

Thnx.

Friday, February 16, 2007 2:36 PM by Janeway

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

the setting name is "No auto-restart for scheduled Automatic Updates installations". Will this setting work for manual windows updates?? I.e. if I go to the windows update site and manually choose updates to install.

Monday, May 14, 2007 10:27 AM by adam

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

and if I do not have automatic updates configured, will this work. My computer is configured to tell me when there are updates available for download, and then I choose to download and install them or not. Will this setting work in this case, or not?

Monday, May 14, 2007 10:32 AM by adam

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

It doesn't work in XP. Only in XP pro

Friday, June 15, 2007 3:28 PM by carnivalist

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

It's not as straight-forward as you think: To quote the EXPLAIN tab in group policy, "will not restart a computer automatically during a scheduled installation if a user is logged in to the computer."  IF A USER IS LOGGED IN is a big deal if you don't want the machine bouncing when no one is around (hosting virtual machines, etc.).

Saturday, June 16, 2007 9:59 AM by Jeffrey Schenk

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

SO I HERD U LIEK MUDKIPZ?

Thursday, July 05, 2007 9:45 PM by Doc

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

I have a windows server 2003 that kept restarting in the middle of a working day, this sorted it out nicely

Monday, July 16, 2007 5:37 AM by DoghouseDean

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

This tip made my day!!! - I can't wait for my new iMac

Friday, November 23, 2007 9:46 AM by Ed

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Thanks it helped me a lot....

Thursday, January 17, 2008 7:22 AM by Rakesh Srivastava

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Hi,

My laptop runs on XP Pro.  Normally, when I start my laptop, I reach the logon screen where I input my password and then get to my desktop.  

I left my computer on one night downloading stuff and apparently there a system restart was initiated (according to event viewer) after a security update was downloaded.  

My question is when windows automatically reboots after and update (it does, doesnt it?), does it automatically log me back in without asking for my logon password, or does it take me to the screen where my password is required to log on?

The reason I'm asking is I want to be sure nobody else was fiddling around with my laptop while it was lying on my desk.

Thanks!

Monday, March 24, 2008 3:27 AM by Vern

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Thank you so much, this will stop windows rebooting my computer while I'm asleep and letting AVG do it's thing, as well as those incredibly frustrating 10 min interval messages.

I'm amazed that windows won't allow a simple disable or even a wait xx mins/hours before restarting.

Wednesday, April 09, 2008 3:41 PM by Kathy

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

how do I reboot my computer

Friday, May 09, 2008 4:28 PM by james

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

I have regular XP and Qwest (who installed liveone on my computer).  How do I stop it from automatically updating.  I went to bed at 3AM with a bunch of work on my computer and it automatically updated me and lost the work.  I HATE AUTOMATIC UPDATES AND HATE BILL GATES FOR DECIDING WE ALL TOO STUPID TO UPDATE OUR OWN COMPUTERS.

Wednesday, May 28, 2008 2:53 PM by Charli

# re: [tip] Prevent Windows Automatic Updates from rebooting your computer

Thanks alot, It was making me mad after several times of restarting without asking for my permition, I usually don't shutdown my computer.

What really did microsoft think when it restarts the computer when there are unsaved documents open?

Thursday, June 12, 2008 12:32 AM by Alireza

Leave a Comment

(required) 
(required) 
(optional)
(required)