Hi,
Please try to configure policy "Computer Configuration\Administrative Templates\Windows
Components\Windows Update\Always automatically restart at the scheduled time" for 2012R2 servers .
If it still doesn't restart please check the following article:
"
This update fixes the following issue with previous versions of the Windows Update Agent for Windows 8.1, Windows
RT 8.1, and Windows Server 2012 R2:
- Windows Update would sometimes not restart the computer as expected when the “Always automatically restart at the scheduled time” policy was set.
"
https://support.microsoft.com/en-us/help/3138615/windows-update-client-for-windows-8-1-and-windows-server-2012-r2-march
Best Regards,
Elton
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.