Link to home
Start Free TrialLog in
Avatar of Sooraj Ravindran
Sooraj Ravindran

asked on

Point Windows 2012 to a NTP server

Hi,

I have two Windows 2012 R2 Hosting 6 HyperV Server(3 each).Including my Primary Domain Controller(win2k8 R2)

Frequently what happens is my 2012 Host server Clock runs 5 Mins slow and that changes the time of Domain controllers as well.
And this effects the entire Forest.

Is there a way we can point the 2012 server to a NTP server so that it can maintain the correct time.
Any help is highly appreciated
ASKER CERTIFIED SOLUTION
Avatar of becraig
becraig
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
First check the host clock time configuration, though its Hyper-v it takes the clock time from host. You cannot use internet time for the host as it doesn't takes the same VM's configuration. You can achieve it in someways but below is recommended.

Recommend to keep internal time server configured on separate box (Dual core 2GB with 100GB system) would be sufficient,  Use Windows / Linux (linux always better).

Configure NTP server on the box and ensure it syncs with external public time server for sync periodically.

Configure all Hyper-V host to sync with the newly configured NTP server and use your AD to sync with that box.
=================================================================

Use this command to point your NTP server or public NTP server

Net time \\<ntpserver> /set /yes

http://www.timetoolsglobal.com/2013/06/21/how-to-synchronize-microsoft-windows-to-a-ntp-server-1/

You need to force the NTP time through following.

w32tm /config /syncfromflags:domhier /update

You need to force w32tm to reload its configuration from the registry:

w32tm /config /update

Check the config with:

w32tm /query /source

The result should be like this:
0.north-america.pool.ntp.org,0x1

w32tm /resync will sync with the ntp server.