Onur

Özten

Bilgisayar Mühendisi & Yazılım Uzmanı


Time on my server not correct. Why?

All CX virtual server hosts use UTC as the system time, which is why Windows often has a problem with the system time within the vServers. To fix this problem permanently

Why is the time on my server not correct?

All CX virtual server hosts use UTC as the system time, which is why Windows often has a problem with the system time within the vServers.

To fix this problem permanently, it is necessary to create an entry in the Windows registry, which tells Windows that the hardware clock (RTC - emulated by the host system) is not the local time zone, but UTC.

The following command must be entered in the command prompt (cmd.exe):

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

It is then necessary to restart Windows.

After the restart the following command can be used to check if the setting was successfully applied:

reg query "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /s

If the changes were successfully applied, a line with the wording RealTimeIsUniversal and the value 0x1 should be shown.

For Windows Server 2008 and Windows Server 2008 R2 it is necessary that the following Windows Updates have been installed: