Configuring NTP on Windows Server 2012

Original: http://www.sysadminlab.net/windows/configuring-ntp-on-windows-server-2012

Run using PowerShell as Administrator:

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

Check status:

w32tm /query /status

Force a resnyc

w32tm /resync

Start from scratch:

Stop-Service w32time
w32tm /unregister
w32tm /register