3

I have managed many Windows servers for several years, but I have never experienced anything like this:

We have a Windows Server 2012 R2 running as virtual machine on an Ubuntu Server with KVM.

In the Windows "Date and Time" settings, I have the correct time zone and set the correct time. But after some hours when I connect back to the server, the time is wrong by 2 hours (-2 hours). Even deactivating "Internet Time" (auto-sync with the time server) does not help.

When I go to the "Internet Time" tab and click the button to manually update the time with the time server, it shows the correct time as well. But after some hours, it is all wrong again.

What can I do to fix the server's time?

10
  • 1
    Please clarify, does the time zone change or the time itself? time zone has nothing to do with NTP. maybe theres some VM guest agent at play? what settings do you have on the host?
    – EliadTech
    Commented Oct 7, 2016 at 0:06
  • 1
    Have you checked both the time and the time zone on the host? Commented Oct 7, 2016 at 1:29
  • 1
    Is the server part of a domain or a workgroup? Commented Oct 7, 2016 at 19:22
  • @EliadTech it's only the the time that changes, the time zone remains correct.
    – andreas
    Commented Oct 7, 2016 at 22:36
  • @MichaelHampton just did, it says the correct time and CEST (which is correct)
    – andreas
    Commented Oct 7, 2016 at 22:36

1 Answer 1

2

You first can check if your ntp serv is good in registery

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\

If good check ntp service

w32tm /query /status

If look good too, enable debug mode to get log

w32tm /debug /enable /file:C:\w32time.log /entries:0-300 /size:20971220

Entries value is to get all type of info And size for the max size in octet of log

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .