Subscribe to How-To Geek

Prevent Windows Update from Forcibly Rebooting Your Computer

We’ve all been at our computer when the Windows Update dialog pops up and tells us to reboot our computer. I’ve become convinced that this dialog has been designed to detect when we are most busy and only prompt us at that moment.

The real problem comes into play when Windows gets tired of reminding us and says that the computer is going to reboot in 5 minutes, and the only way you can prevent the inevitable is to temporarily disable Windows Update.

There’s a couple of ways that we can disable this behavior, however. You’ll still get the prompt, but it won’t force you to shut down.

image

I don’t believe this trick will work for XP Home or Vista Home users, according to the documentation that I’ve read. You’ll have to resort to the temporary disabling measures instead.

Manual Registry Hack

Open up regedit.exe through the start menu search box or run dialog, and navigate down to the following key, creating new keys if they don’t exist.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

image

Create a new 32-bit DWORD value named NoAutoRebootWithLoggedOnUsers and give it a value of 1 to prevent automatic reboot while users are logged on. Delete the value to put things back to the way they were.

Downloadable Registry Hack

Just download and extract the registry hack files and double-click on WUNoAutoReboot.reg to disable automatic reboots. The other script will remove the hack.

Download WUNoAutoReboot Registry Hack

Using Auto Reboot Remover Utility

If you’d rather not mess with the registry, you can use a small utility created by the guys at Intelliadmin which will make the changes for you. Just make sure you right-click and run as administrator if you are using Vista.

image

Download Auto Reboot Remover from Intelliadmin

This hack should work for the professional or business editions of XP, Vista, or even Windows Server. I’d be interested to hear your feedback in the comments.

| More
This article was originally written on 10/14/07 Tagged with: Desktop Customization, Windows Vista

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (27)

  1. MrLinux

    You know, I wonder if this is something some manufacturers are applying this by default. I’m using Vista Home Premium and it never *forces* me to reboot. All I get is that annoying prompt, which as you said, can’t be disabled.

  2. Kyle

    I have mine set to notify me of new updates but not install them automatically, so I never get autorebooted. I get the annoying prompt after I install the updates, but I usually set it on 4 hours or whatever the maximum time is and don’t worry about it that much.

  3. Jorell

    But how do you configure a server not to reboot when noone is logged in? This key only prevents reboots when users are logged in. There are only 4 options, don’t update, notify of updates but don’t update, update but don’t reboot if someone is logged in, and install updates and reboot. There is no way to install updates and reboot at a later time.

  4. Kamahl

    I’m not sure where, but there’s a registry setting that holds the temporary delay time. We’ve made ours to 999999999 seconds. it’s enough to let you hit ‘reboot now’ when you’re done.

  5. Opoku

    Interested in getting a solution to the scenario where server reboot should be prevented when no one is loggen in.

  6. Paul

    Thanks very much.

    I control Windows Update via a Group Policy which always worked fine until I deployed our first Vista machine. The machine was automatically rebooting without prompting while the user was logged on.

    This worked a treat

  7. Alex Toronto On Canada

    I have Vista home premium and it automatically reboots without giving me any warning. How can M$FT make this code? I’ll be installing your hack if I can’t figure out how to turn it off.

  8. Thomas

    Hi,

    there are a few more things you can change in this reg key:

    “RebootRelaunchTimeoutEnabled”=dword:00000001
    “RebootRelaunchTimeout”=dword:000005a0

    RebootRelaunchTimeout sets the delay of the “Remind me Later” window in minutes.

    Thomas

  9. cobaye

    Hi

    I experienced the reboot without warning after important updates were automatically installed, whereas I already had add these registry keys like NoAutoRebootWithLoggedOnUsers etc.

    In Vista Home premium, the Windows Update Policies in registry must be added cause they are not present by default. So I found were the Windows Updates settings were stored:
    HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update

    And guess what? A key named “ForcedReboot” was set to 1 …

    So I set it to 0 and I hope it will end this silly behaviour of rebooting without any warning at all.

  10. Ryan B

    Here’s a way to adjust both the auto-reboot AND delay of the annoying reboot popup in one spot:

    Start->Run->gpedit.msc

    Computer Configuration
    >Administrative Templates
    ->Windows Components
    –>Windows Update
    —>No auto-restart for scheduled Automatic Updates installations [Enabled]
    —>Re-prompt for restart with scheduled installations [300 minutes]

    Requires XP Pro, XP Media Center, Vista Business, or Vista Ultimate. I’m sure Win2k is in there too but I’ve never tried.

  11. Raj

    Ryan B, i clicked on run but then when i type in “gpedit.msc, it says windows cannot find….”

  12. Ryan B

    You didn’t mention what operating system you are running.

  13. Akshay

    gpedit is not available on Windows XP home.

    Ryan B thanks it worked like a charm.

  14. Lily

    I have a question how do I make my speakers work (sound) after I’ve rebooted my computer? Please answer this question!!!

  15. Jason Honingford

    I just disable automatic updates. It’s annoying anyway when you’re in the middle of something or perhaps you want to leave your computer on unattended?? Imagine that! I guess there are new uses for Windows that Microsoft hadn’t thought of — processes that take longer than 5 minutes and you don’t want to be there to wait for them.

  16. Nilre

    Re: Cobaye’s comment of May 31st

    So does it work to set ForcedReboot to 0 in Vista Home Premium? Have you had the forced reboot since changing that value?

    Btw. the ForcedReboot value was not present in my registry. I have added it now, but would like to hear from people who have a verdict on its effectiveness..

  17. cobaye

    I checked if forcedreboot was still there, and guess what it was set to “2″…. I think it is a battle against windows update we cannot win forever. Probably any update set back the value and this would explain why i thought this parameter didn’t work and why i was forced to turn off the automatic install to avoid the forced reboots.

    I set it back to 0 and turn on the automatic installation, and i’ll tell you here if it works.

  18. duncanSF

    There is also an AUOptions DWORD in HKLM\Software\MS\W\CV\WindowsUpdate\Auto Update\ which on my Vista Home Premium shows a value of 4 when “download and install” is selected.

  19. Nehi

    How do I prevent Windows from prompting me to reboot to install updates or closing forceably? I read the comments, but nothing directly on steps to do this for my WindowsXP Vista Home Premium. Will it corrupt my computer if it reboots and installs on its own? What will happen- the last time I was prompted- it did corrupt my computer- I was told never to accept these in the future…..help~~

  20. tokyogodfather

    Thanks for the post. The link to the Auto Reboot Remover has changed however. You can find it here:

    http://www.intelliadmin.com/downloadtrial.htm

  21. tokyogodfather

    I ran the Auto Reboot Remover but have no idea if it worked. It just kept telling me to make sure I am the admin of my computer. But I AM logged in as admin..

  22. LukeR

    i just lost a load of unsaved work on Word when windows restarted without even telling me. it overrided the ‘do you want to save your changes to…’ and closed it anyway. i’m more determined that ever to beat it now.

  23. GolDreadLocks

    I have been trying for 3 weeks to find out how to fix my windows vista updates.I have done all the microsoft steps, but it still won’t update. Everything was fine until last June 24. I can’t even use system restore as the dates won’t go back before June 24. Does anyone know how to help?I would really appreciate it. I need to update the securities etc.Thanks in advance,…

  24. Vincent

    Ryan B,

    Thanks for your advice. It seemed a bit easier then the method in the article; mostly because I was nervous to add a new entry to the registry. Hope it works though, I lost a lot of work to Window’s draconian policies. Very very frustrating. Am I not the owner of this computer? Why in the **** is it telling me to work around ITS schedule?

    Anyway, thanks for the help.

    Vinny

  25. Mich

    Sorry both links to this file Do Not work…

    Not working..
    The link to the Auto Reboot Remover has changed however. You can find it here:

    http://www.intelliadmin.com/downloadtrial.htm

  26. Thor

    If you have home versions of Windows XP, Vista, or 7, you can use Shutdown Guard:
    http://code.google.com/p/shutdownguard/

  27. Toothless

    Fix Infinate loop for Vista update install…

    1. Insert your Vista Media into your dirve and boot from it.
    2. Select “Repair your Computer” from the list.
    3. Select “Command Prompt” from the recovery choices.
    4. At the command prompt type C:
    5. Type cd Windows\WinSxS
    6. Type del pending.xml
    7. Exit and reboot

    Works w/o restore or reg fixes… simple quick, easy…. what else is there?


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.