The other day, I was asked how to change the NTP Server on a Windows Server 2008 R2 VM. I responded with a dumbfounded look, and replied with, “You don’t, the Server talks back with an AD server that with PDC Emulator role and syncs with that server…” Of course, my storage guy only asked me because his Unisphere VM was almost 2 minutes off. So naturally I took a look and discovered, that it was not syncing at all.
Query the current time settings always pointed back to
Local CMOS Clock
which is not a good thing.
Further investigation showed that the registry settings for W32time was incorrectly modified.
So after much Googling, I ended up resetting the Windows Time:
net stop w32time
net start w32time
Then for good measure, I configured Windows Time is use the forest time hierarchy:
w32tm /config /syncfromflags:domhier /update /reliable:no
w32tm /resync /rediscover
net stop w32time && net start w32time
After a few minutes, the Windows Time was now sync’d up with the AD Server.