Search This Blog

Tuesday, November 29, 2011

Batch file to set NTP server to pool.ntp.org


w32tm /config /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org pool.ntp.org",0×8 /syncfromflags:MANUAL /reliable:yes
w32tm /config /update
net stop w32time
net start w32time
w32tm /resync /rediscover
pause

No comments:

Post a Comment