Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am tired of programs that constantly prompt me to reboot (including Windows' Automatic Updates), so I wonder if anybody knows how to disable the API reboot call on Windows?

Basically I want Windows to do absolutely nothing when a program attempts to reboot it.

share|improve this question
5  
I think you're asking for trouble...Eventually, one day you will reboot for some reason... and you'll have so many programs with so much to do on reboot that the potential for a foul up will be very high. –  Mick Apr 22 '10 at 9:31
    
You can do it manually from cmd.exe by running this command: sc stop wuauserv. –  Mehper C. Palavuzlar Apr 22 '10 at 9:33
    
@mehper: that looks like it only stops automatic updates. is that correct? so it would have no effect on some other application's install prompting to reboot. –  quack quixote Apr 22 '10 at 9:34
1  
Just disable automatic updates. Most corporate LANs are not set up to automatically install updates from Microsoft, so why should you? Then you can run it once a month say. –  adolf garlic Apr 22 '10 at 10:11
1  
Sure, he would be asking for trouble if he'd never ever want to reboot his computer. But the way I read it, he probably just wants the rebooting to happen at his natural cycle, for example when shutting down the computer for the night. That's really not an unreasonable thing to ask for - that reboot can easily wait for a few hours of browsing around the net. Of course there are risks, but I can easily think of cases where a reboot-nagging box would be completely useless for me. –  Ilari Kajaste Jan 7 '11 at 14:27
show 4 more comments

3 Answers

I don't think this is possible and in other terms it's most likely not the best idea. You get prompted for a reboot because of the system architecture...it needs that reboot to replace files and system parts which otherwise wouldn't get changed (or are loaded in memory and won't be reloaded until restart).

With other words: Security updates won't fix a thing without a reboot, installations won't complete and programs may run faulty or not at all.

share|improve this answer
6  
Not to mention memory leaks eating up all your resources, when you see BSOD and hard hangs you wish you rebooted. –  invert Apr 22 '10 at 10:47
    
Uhm I guess he meant every application. Like drivers, different applications. Be in control of any reboot, or something like that. As for an answer: I don't know. :-/ –  Shiki Feb 14 '12 at 23:47
    
> Not to mention memory leaks eating up all your resources, when you see BSOD and hard hangs you wish you rebooted. I agree that a fresh boot is, well, refreshing, but that is not an excuse to avoid fixing memory leaks and bugs. It reminds me of a response about Chrome not prompting users when accidentally closing the browser. Someone had the audacity to say that the devs won’t fix it because they want/need Chrome to close now and then to clear memory leaks and for updates. Another user and I kind of freaked out on him for that. –  Synetech Feb 15 '12 at 2:04
add comment

This article was written with preventing the Windows automatic update, but it seems to do what you want:

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

The caveat is that I agree with most people - your computer often needs to be restarted for a reason. Unless you're busy decoding the human genome 24 hours a day, taking the time to reboot is an necessary, if not always convenient, task.

share|improve this answer
    
Still seems to work for Win7 :-) –  Jonas Heidelberg Sep 20 '11 at 11:01
add comment

When you install a software or update and it asks you to reboot, it does this because the installation can't be completed until next reboot. If you installed a program, and don't want to use it immediately (for example because you want to install several other programs first), just say "do not reboot". I don't think there are many programs that reboot the computer without asking you first.

It is really a pain in the ass though that automatic updates agressively ask you to reboot (while most of the security updates they fix aren't of immediate danger). Just do as Mepher said.

share|improve this answer
    
Windows Update gives you 10 minutes to dismiss the reboot dialog. If you don't react, e.g. because you are actually doing work, it does a force restart. –  oberlies Aug 22 '13 at 12:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.