Synchronize Windows Server 2008 R2 System Time with time servers

I need to synchronize my server time with three internet time servers.

Time Servers:

I also need to synchronize the time every hour.

I am operating windows server 2008 R2. It is a VPS.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Just add the IP addresses to this registry key and reboot:


Personally, we synch ours with

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kyle972Author Commented:
Thanks. How often will Windows check and resync them?
Adam BrownSenior Systems AdminCommented:
The time period is set in seconds in the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ TimeProviders \ NtpClient \SpecialPollInterval key and is 7 days by default. Not that the time syncs automatically every time the W32Time service starts, so it will sync at reboot automatically.
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

The key point is the PDC emulator syncronizes time for the entire forrest. So make sure your pdc is pointed to a valid ntp server. Check the link for the closest location.
Daryl SirotaDirector of Technical ServicesCommented:
Multiple NTP servers are surrounded by quotes, space delimited... therefore, the following command

NET TIME /SETSNTP:""  Is what you likely want.
Make sure you do this ONLY on the PDC emulator, other domain members will follow the PDC emulator.

Also, you noted that this is a "VPS" - if you mean virtual, make sure the host isn't overriding timesync (as most of the hypervisors do).  As far as syncing every hour, that's overkill unless your PC clock is WAY off.  Microsoft's NTP is a gradual adjustment tool.

Check your Event Viewer logs for W32Time happiness factors.
kyle972Author Commented:
It appears the VPS host is overriding the timesync. The VPS is Windows Server 2008 R2 Hyper-V. How do I disable the automatic timesync to the host?
Adam BrownSenior Systems AdminCommented:
VMs will automatically sync with the host they are on and there isn't a way to disable that functionality. You can disable the automatic VM time sync function, but it will still sync with the host on reboot. This is because Hyper-V syncs time through the Virtual BIOS of each system rather than through the Windows Time Service. Your best bet is to ensure that your VM Host is syncing with the PDC. Running the second attached command in the command prompt will configure this for you. It should already be set that way, though. If your PDC is a VM, run the first command on the VM host and it will configure that system to sync with an external time source (Change the value after /manualpeerlist: to use a different time server if you like). With the VMs syncing to the VM Host and the VM Host syncing to a reliable time server, the time of your VMs should then be accurate.
w32tm /config / /syncfromflags:manual

Open in new window

w32tm /config /syncfromflags:domhier

Open in new window

VMs do not automatically sync time with the host in Hyper-V. This is a configurable setting. Time synch with the host os is done through the Time Synchronization integration component (IC) and this can be disabled. To disable this, go to the settings of the VM and then go to the Management section > Integration services. Uncheck Time synchronization.

However... what I usually prefer doing if the PDC is a VM is setting the authoritative time source on the Hyper-V Host OS and then keep the VM Time Synch IC. The PDC will still be getting the updated time - just through one more step in the Hyper-V server.

Keeping the time synchronization IC enabled is the preferred method. It enables the Guest OS to have time synch during startup of the VM and for snapshots (which you should not use for DCs)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.