Stop Windows Server 2012 from automatically restarting after login

Let’s imagine… you’ve just logged in to your server and you are presented with “Your PC will restart in 15 minutes”. In some cases, this may cause you to panic, especially if you know the server is being used by lots of “important” users.

Fortunately there is a quick fix for this to stop the countdown and avoid a reboot.

  1. Open an Administrative command prompt.
  2. 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 rebooted manually at a more convenient time.

P.S. If you are reading this article you may already have found people suggesting you type “shutdown -a” from a command prompt. This does not work!

Leave a Reply