System clock on Windows Server is reset and changed to Coordinated Universal Time (UTC)when shutdown&launch or reboot instances.
After Windows OS is booted, System clock is synchronized to NTP server and recovered to time which is set before shutdown&launch or reboot.
We recommend that you set UTC for your Windows instances, however, you can conduct the following workaround if you would like to avoid it.
# When Windows does not synchronize with a NTP server, the system clock may show an irregular date after Windows restarts.
In this case, this system clock will return to a regular date by stopping and starting the instance once.
After that, the regular date will be kept even if you restart Windows.
Workaround
1. Open Command Prompt Window
2. Execute the following command for setting RealTimeIsUniversal registry key
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
3. Execute the following command for confirmation of the above setting
reg query "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /s
, and confirm whether the following message is outputted as execution result.
RealTimeIsUniversal REG_DWORD 0x1