Skip to content

Instantly share code, notes, and snippets.

@rpunt
Created January 21, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpunt/c65e0943e72a81ce1346bca76d4eac6a to your computer and use it in GitHub Desktop.
Save rpunt/c65e0943e72a81ce1346bca76d4eac6a to your computer and use it in GitHub Desktop.
Configure NTP on windows server
# from an elevated prompt
Stop-service w32time
w32tm /config /syncfromflags:manual /manualpeerlist:"server1.domain.tld,server2.domain.tld"
w32tm /config /reliable:yes
start-service w32time
# get sync status
W32tm /query /status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment