Created
January 21, 2019 15:49
-
-
Save rpunt/c65e0943e72a81ce1346bca76d4eac6a to your computer and use it in GitHub Desktop.
Configure NTP on windows server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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