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 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.
5I 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 – 2010-04-22T09:31:54.097
You can do it manually from cmd.exe by running this command:
sc stop wuauserv. – Mehper C. Palavuzlar – 2010-04-22T09:33:08.227@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 – 2010-04-22T09:34:27.273
You could strip yourself of the permissions to shut the computer down through group policies I think. It's still a bad idea, though. – Joey – 2010-04-22T09:52:53.237
1Just 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 – 2010-04-22T10:11:01.600
@quack: Yes it is. – Mehper C. Palavuzlar – 2010-04-22T10:34:08.300
1Sure, 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 – 2011-01-07T14:27:13.713
> How do I prevent Windows from rebooting ever? You may as well ask how to prevent your car from ever turning off. Even ignoring the excessive wear-and-tear on the engine and such (ie, “updates, resource leaks, etc.”), eventually it will reach a point where it has to turn off by running out of gas or overheating (ie, “crash, BSOD, out of memory, etc.”). – Synetech – 2012-02-15T02:07:09.997