One of the recent issues in managing Windows Server 2012 is the way Automatic Updates works by default. If automatic updates are installed on a server, it may or may not automatically reboot the server or PC.
At the log in screen, you may see this message.
Upon logging in, you may be faced with the prospect of the server rebooting in 15 minutes. The countdown timer has started and there is no apparent way to click on a “Postpone” button.
In many cases, this will cause some distress. Particularly if this is a Hyper-V host server, and you have an entire network of 120 users accessing the virtual machines!
Fortunately, there is a fix to prevent the server from counting down and restarting.
- Open an administrative command prompt.
- Type NET STOP WUAUSERV
to stop the Windows Update service.
This will stop the Windows Update service, and stop the countdown timer until the server is restarted manually. Don’t forget to restart the server at the next possible opportunity.
Actually Microsoft did fix this in April with an update and a registry key to have the server reboot itself during the update window. http://support.microsoft.com/kb/2835627
Thanks Michael,
That will be useful in getting the server to automatically restart after updates. However, there may be a time, when you may not wish a server to restart automatically or to count down when you log in to work on a server. This will be useful in delayng that countdown until a reasonable restart time is scheduled.
What sort of halfwit thought that allowing a server to reboot automatically when a user logs in was a good idea? probably the same moron who removed a useful message tracking interface from Exchange 2013.
Same person who decided to keep the crazy tile theme on a server OS?
I’m still searching for the message tracking interface. It was invaluable in Exchange 2007 and 2010 and the powershell just isn’t as useful.
Couldn’t agree more. That same moron seems to be messing around with a lot of other things on SERVER..
Nice article, but doesn’t work for me. I get an error “The Windows Update service is not started”… followed by the annoying countdown and an automatic restart.
I kid you not 🙁
I had that same issue when logging into a server as the administrator and running CMD as administrator. The user that logged in to trigger the automatic restart however was a different domain admin. When I logged on as that user, ran the CMD as administrator, and typed in the command it successfully stopped the service.
… now to see if this actually works….