Implications of disabling VMICTimeProvider (Windows7)?

I have a private network of two machines: one is Windows 7 and the other is not windows. I want the Windows7 machine to run an NTP server for the non-windows machine to synch to.

The instructions in list a number of registry settings to change. They all seem reasonable, but I wonder about the implication of disabling the "VMICTimeProvider". From googling I gather that is part of the "VM Integration Components" package. On a desktop windows system, I'm surprised to learn I even have VM Integration. What is this time provider for and what happens when I disable it?

2 Answers

Old question but I was just looking at this myself and thought I'd reply.

There's a good discussion here:

But basically the key answer to your question is that it's fine to do and the VM will still sync via Hyper-V during initial boot but Windows itself will use the NTP server you have configured.

... you can “partially disable” Hyper-V time synchronization. The reason why I say “partially disable” is that you do not want to turn off the aspects of Hyper-V time synchronization that fix the time after a virtual machine has booted for the first time, or after the virtual machine comes back from a saved state. No other time synchronization source can address these scenarios elegantly.

Luckily – there is a way to leave this functionality intact but still ensure that the day to day time synchronization is conducted by an external time source. The key thing trick here is that it is possible to disable the Hyper-V time synchronization provider in the Windows time synchronization infrastructure – while still leaving the service running and enabled under Hyper-V.

To do this you will need to log into the virtual machine, open an administrative command prompt and run the following commands:

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /v Enabled /t reg_dword /d 0

This command stops W32Time from using the Hyper-V time synchronization integration service for moment-to-moment synchronization. Remember from earlier in this post that we do not go through the Windows time synchronization infrastructure to correct the time in the event of virtual machine boot / restore from saved state or snapshot. So those operations are unaffected.

1

While the existing answer covers what effect it would have on Hyper-V. I doubt @Steve Robbins is/was running the Win 7 environment under HV. If that is the case, then it would be safe to disable the VM integration time provider.

I will say though that its a huge pile easier to set the Unix host to be the time server. It takes adding a server line for the source and a restrict line for the server if you only want it to serve one network, to the /etc/ntpd.conf. Then restarting the NTPD service. That's it.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like