Skip to content

Instantly share code, notes, and snippets.

@rpunt
Created January 21, 2019 15:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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