Solved

Point Windows 2012 to a NTP server

Posted on 2014-09-20
3
109 Views
Last Modified: 2015-07-24
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
0
Comment
Question by:Sooraj Ravindran
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
becraig earned 500 total points
ID: 40334983
This is easy enough (run a cmd or powershell window as admin)

Then run:
Powershell:
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
Stop-Service w32time
Start-Service w32time

Cmd:
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
sc stop w32time
sc start w32time
0
 
LVL 10

Expert Comment

by:Ganesh Kumar A
ID: 40335162
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.
0
 
LVL 28

Expert Comment

by:becraig
ID: 40347707
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now