I'm trying to make a Windows Server 2012 r2 test box automatically update and reboot in the same way 2008 servers do. I cannot use the 'Always automatically restart at the scheduled time' GPO (detailed here ) at the present time, so instead I want to manually add the relevant registry key. All the online information I can find (e.g.) suggest the following key is required:
Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Value: AlwaysAutoRebootAtScheduledTime
Type: REG_DWORD
Value data: 0 (default value) or 1 (force a restart
)
The problem I have is that even after adding this key it still does not force an immediate restart, instead a timer of 1 day is started.