Prevent Windows Server 2012 from forcing a reboot after updates
I have a Windows Server 2012 domain controller. After updates, the server does not reboot immediately. However if I remote into the server using Microsoft Remote Desktop, 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.
There are a couple 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.
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 Components,
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.
6.That is all.