How to prevent Windows Update from automatically restarting my comp?

2

1

Because I program a lot on my personal machine, sometimes I have a lot of windows open with articles on blogs etc that I would like to keep open as I'm working in addition to VS etc. Rather than turn my comp off at night or put it into hibernation (shudder), I simply leave it in standby or just plain on.

The problem is, every once in a while, Windows Update performs an update and automatically restarts my comp, which makes me lose everything. Where is the setting to prevent this from happening?

Jason

Posted 2009-07-30T21:51:06.383

Reputation: 759

Question was closed 2014-07-03T01:35:20.060

not a dupe... that's how to prevent the prompt... i want it to stop altogether – Jason – 2009-07-30T22:34:27.077

1also, that is XP... that solution isn't available on Vista – Jason – 2009-07-30T23:00:07.840

Answers

4

This registry hack, mentioned in the previous answer, is the permanent solution to preventing the reboot in the Home (or any) edition of Windows.

To apply it, do the following:

  • go to start->Run->regedit
  • go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
    (if necessary create the keys WindowsUpdate and AU)
  • then create a DWORD(32-bit) called NoAutoRebootWithLoggedOnUsers
  • Modify the value of this DWORD to 1.

Now your computer will not restart automatically anymore due to Windows Update. You will still get familiar pop-up saying you should reboot, but it won't count down and will not restart your computer.

Prevent Windows Update from Forcibly Rebooting Your Computer

alt text

The How-To Geek

Posted 2009-07-30T21:51:06.383

Reputation: 5 482

i don't get the "WindowsUpdate" folder as an option... – Jason – 2009-07-30T23:58:55.860

1Then create it. – EvilChookie – 2009-07-31T00:22:42.380

Or just go to the link and download the registry patch. – The How-To Geek – 2009-07-31T00:36:26.333

1

Possible Fix 1: This shows you the temp fix and a permanent registry fix.

http://www.howtogeek.com/howto/windows-vista/prevent-windows-update-from-forcibly-rebooting-your-computer/

Possible Fix 2: If you follow the link after it mention vista home users, you can do this:

http://www.howtogeek.com/howto/uncategorized/temporarily-disable-windows-updates-automatic-reboot-in-vista/

The second part mentions shutting down the windows update service so it cannot run while the machine is on. The only catch is it will start back up once you restart. When you run cmd.exe, make sure to right-click the icon for cmd.exe and "Run As..." an Administrator.

Possible fix 3: http://blogs.technet.com/mu/archive/2008/10/02/windows-update-and-automatic-reboots.aspx

Can you access the group policy editor? Go to the "Policies to Change Automatic Rebooting Behavior" part of this article to find out how.

Troggy

Posted 2009-07-30T21:51:06.383

Reputation: 10 191

sorry, i am using Vista Home, which this article says it doesn't work for... – Jason – 2009-07-30T21:57:02.640

"System error 5 has occurred. Access is denied." This is my personal machine... I should have access to everything... :\ – Jason – 2009-07-30T22:02:38.417

ok this is sort of what i want... i don't necessarily want windows update to stop running, but i just don't want it to restart my comp when it does an update... – Jason – 2009-07-30T22:11:48.330

posted some more info for you – Troggy – 2009-07-30T22:20:01.697

vista home doesn't have the "group policy" editor... – Jason – 2009-07-30T22:36:36.477

hmm, I guess vista home edition limits a lot of customization features of windows. My possible fix 2 might be your only solution for now. It will at least will keep it from restarting temporarily. I will keep looking a little for another solution. – Troggy – 2009-07-30T23:00:05.220

-1

Run net stop wuauserv in cmd.

tsilb

Posted 2009-07-30T21:51:06.383

Reputation: 2 492

1That completely disables automatic updates. Not a good idea. – Tgr – 2012-12-25T11:34:28.020