Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a domain controller with Windows Server 2012 on it. After updates, the server does not reboot immediately. However if I remote into the server I will be presented with a countdown for a reboot. The only options are to restart now or to close the notification. However the countdown still continues and the server eventually reboots without my permission. How can I stop this from occurring?

share|improve this question
Are you installing the updates or is automatic updates on? – Patrick Jan 9 '13 at 17:16
Its complicated. Updates are installed automatically but which updates get pushed is managed by an RMM tool called N-Able. – Bryansix Jan 9 '13 at 18:08
I'll add that updates are scheduled for 3AM but this message showed up at 9AM when I logged in. – Bryansix Jan 9 '13 at 18:46
Same here. Group policy is for overnight reboots, but Server 2012 decided to do it right in the middle of our production time! Argh! – Brian Knoblauch Jun 20 '14 at 15:02
This is the stupidest behavior I've ever seen in regards to automatic updates. It will actually wait for you to log in, then start a countdown timer that will force a reboot. So if you log in to do something, it basically sets a time bomb on your work window. This is almost at stupid as how the "shut down" command does the opposite and prevents a shut down by telling you to not turn off your machine because it installs updates; meanwhile the "shutdown without installing updates" command is hidden in the ctrl-alt-delete menu. It makes no sense. – Triynko May 11 at 17:45

5 Answers 5

Finally Microsoft has produced a FIX for this behavior in an update rollup!

An update is available that lets you control how the Automatic Updates client applies updates in Windows 8 and Windows Server 2012. After you install this update, the "Configure Automatic Updates" policy setting will work again as it used to in previous Windows operating systems. Instead of installing updates during the daily maintenance cycle, Windows updates will be installed at the time and day that are scheduled in the "Configure automatic updates" policy setting.

share|improve this answer
Good find, nice answer. – mfinni Oct 9 '13 at 16:08
Can it be used to disable automatic reboots too? We've got a Windows Server that presents iSCSI shares to our VMs and it's "a bad thing" every time it automatically reboots out from underneath those dependent VMs. – Brian Knoblauch Aug 28 '14 at 18:47
It's 2015, my system is up to date, I still see no option under windows update settings titled "Don't start a countdown when I log in". This is an epic fail. – Triynko May 11 at 17:47

Disable the Windows Update service. Not in service manager - jus tstop it. The countdown is from the service, not windows itself.

If you stop it - no more updates UNTIL The machine is manually restarted.

same works with server 2012. "net stop" and then stop the service.

share|improve this answer
That is a good way to prevent the reboot when it prompts me. I guess I stil have an underlying issue in that the reboot doesn't happen at 3AM when the updates happen but instead waits until I log in. I just don't understand why me logging in starts the countdown. – Bryansix Jan 9 '13 at 19:08
Change it seems. I dont like it either. The 3am is a config Thing ;) My reboots happen on the Weekend. – TomTom Jan 9 '13 at 19:13
this answer actually didn't work for me. stopped Windows Update service, and kept getting the countdown banners on the Server 2012. – Bret Fisher Jan 15 '13 at 0:34
Did you stop it using "Net Stop wuauserv" or did you kill the process? When I stopped the service, the banner stopped showing up and the server did not reboot. – Bryansix Jan 15 '13 at 15:54
If you stop the service, it may not be enough. Its possible the service automatically starts itself after 1 minute. It will do this a total of 2 times, depending on which version of windows you're using. In addition, there may be one or more processes running called Windows Update. In a recent case I had to kill these processes and stop the service to stop the problem. – LPChip Mar 6 at 12:41

Stopping the service isn't enough, as it'll just start itself again. You have to disable the service until you are ready to restart the server.

Then to fix the issue, you'll need to add this registry value to ensure Windows restarts at the scheduled time, even if it is locked.

reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v AlwaysAutoRebootAtScheduledTime /t REG_DWORD /d 1 /f

MS KB documenting issue

share|improve this answer

There is a Local Group Policies you can set to disable the automatic restarts. This should only be done on Windows Servers assuming a sysadmin is going to RDP into the server on a regular schedule and install updates and restart the server (see Patch Tuesday).

  1. Press Windows Key+R to open the run prompt.
  2. Type "gpedit.msc" and press enter.
  3. In the "Local Group Policy Editor", navigate to Computer Configuration > Administrative Templates > Windows Componentes > Windows Update.
  4. Enable the "Configure Automatic Updates" policy and set it to "2".
  5. Enable the "No auto-restart with logged on users for scheduled automatic updates installations" policy.
share|improve this answer
Best solution so far! – digz6666 Nov 6 at 3:23
@digz6666 Glad it helped! – Chaoix Nov 9 at 19:49

If your updates come through WSUS, you can determine which updates require a mandatory reboot of the machine and plan them during a maintenance window. Otherwise disable Windows Update service as suggested above.

share|improve this answer

Your Answer


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.