[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Windows 10 and 2016 time keeps rapidly changing when running as Hyper-V VM

Posted on 2017-06-08
Medium Priority
Last Modified: 2017-08-19
We have a 2012 Server running Hyper-V. I have 3 VMs running under it. Win 2016, Win 8.1, and Win 10. The W2016 and W10 VMs are both experiencing an issue whereby the date/time are rapidly switching back and forth between the host time and some date/time back in 2015.

Some facts.
The problem goes away if the W32time service is disabled on the affected VMs.
We do not see this issue on VMs with earlier versions of Windows.
The host and VMs are only in workgroups.
None of the machines (host or VMs) are a DC.
I've reproduced this exact behavior on another host.

Any input on this time sync issues would be very welcomed
Question by:kemberd
LVL 18

Expert Comment

by:Sarang Tinguria
ID: 42167689
Can you run w32tm /query /source on culprit machines keeping windows time service running?
LVL 57

Accepted Solution

McKnife earned 1000 total points
ID: 42167701
This is a known problem of win10/server 2016 and I have seen it discussed in a lot of forums. There does not seem to be a solution, yet. As a workaround, we have disabled that service, too and use scheduled tasks to sync the time.
LVL 14

Assisted Solution

frankhelk earned 1000 total points
ID: 42169349
Just a guess - with VMWare it's a common VM configuration problem to have some time keeping service like W32time or native NTP active and concurrently sync the time with the VM host machine. Such a configuration is the most reiable way to wreak havoc to the time syncof the VMs.

Have you disabled the time sync to the VM host ?

I usually disable it and use a lassic NTP client (see my article on NTP ...) for timekeeping. That usually works flawless.

(BTW: I've experienced enough trouble with that crappy W32time in NTP mode to evade that scenario whenever I have a chance to ...)
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 42189200
Update (sorry for the delay). I daren't run w32tm to work out the source. I've left Hyper-V time sync on as this sets the correct time. I have to leave Windows Time Service disabled otherwise the time flip flops between the correct time (as set by Hyper-V) and the rogue time (that looks like the date/time that the VM was built) as set by w32tm.
LVL 57

Expert Comment

ID: 42189368
This is a bug ni the time service on win10/server 2016 - inform Microsoft if you have the time.
LVL 14

Expert Comment

ID: 42192522
The flip-flop-behaviour is expectend - it's always a bad idea to concurently run multiple timekeeping services. I'd recommend to try droping Hyper-V's time sync and use a native NTP client for that. See my article on NTP basics for more details.
LVL 57

Expert Comment

ID: 42192534
Frank, using multiple time sources will not let it flip flop like that. He writes, it flip-flops between the "correct time (as set by Hyper-V) and the rogue time (that looks like the date/time that the VM was built)". That phenomenon is known but is has nothing to do with multiple time services but it is a bug in the win10 time service and vanishes if that one is deactivated.
LVL 14

Expert Comment

ID: 42192604
OK - that may be. Anyhow I've observed very erratic system time behaviour even on real machines if there were two timekeeping services active (native NTP client and W32time in that case).

To be more basic:
  • I'd definitvely expect havoc whenever that case of two timekeepers comes to life.
  • The actual emerging symptoms of temporal disorder madness depend on the actual circumstances.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question