Configure NTP on Windows 2012 server

From Peter Pap's Technowiki
Revision as of 03:27, 11 November 2016 by Ppapa (talk | contribs) (Created page with "So you want your Windows server to get it's time from you local NTP server. Here's how to configure it: 1. Fire up Windows PowerShell as Administrator 2. Set the NTP servers: ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

So you want your Windows server to get it's time from you local NTP server. Here's how to configure it:

1. Fire up Windows PowerShell as Administrator

2. Set the NTP servers:

w32tm /config /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org" /syncfromflags:MANUAL

Obviously, replace the pool servers above with your internal NTP server hostnames or IP's.

3. Restart the Windows time service:

Stop-Service w32time
Start-Service w32time