Created
March 15, 2017 02:04
-
-
Save jhochwald/69e5054c9f3e2a8b799f5495a5e93d07 to your computer and use it in GitHub Desktop.
Synchronize time with external NTP server
This file contains hidden or 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
rem Stop the Time Service | |
net stop w32time | |
rem This is the German List | |
w32tm /config /syncfromflags:manual /manualpeerlist:"0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org" | |
# Make your PDC a reliable time source for others | |
w32tm /config /reliable:yes | |
rem Start the Time Service | |
net start w32time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment