I need some help getting NTP set up correctly on our Windows domain.
We have 2 physical servers:
Physical Server 1 Domain Controller (DC1)
Physical Server 2 (Hyper-V Host) Data 1 (also a Domain Controller), Exchange1
I have connected to each server and run the w32tm /query /source
command and below is the output. The reason for doing this is that some servers are the correct time (according to Google), some servers are behind by around 40 seconds, and some computers are behind by around 40 seconds.
Here are the findings:
Physical Server 1 (DC1) Local CMOS clock
Physical Server 2 (Hyper-V Host) Data1.corp.local
Data1 VM IC Time Synchronisation Provider
Exchange1 VM IC Time Synchronisation Provider
So the physical server DC1 is using Local CMOS clock, the 2 virtual machines are using VM IC Time Synchronisation Provider, but the Hyper-V host is using a virtual machine.
I'm guessing this isn't correct. What is the best course of action here to solve the time differences?
Update
Thanks for the answers. So I ran
w32tm /config /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
on the Domain Controller holding that role according to
dsquery server -hasfsmo pdc
.
How do I now tell the other physical server (and thus virtual machines) and computers to use that server? I checked the other servers and a computer and the time is still wrong.