Windows Server Time Issue Print

  • 1

Copy the below to a text file called time.bat 
 
Run it as an Administrator
 
@echo off
w32tm /query /peers
sc config w32time start= auto
w32tm /config /syncfromflags:manual /manualpeerlist:"0.us.pool.ntp.org,1.us.pool.ntp.org,2.us.pool.ntp.org,3.us.pool.ntp.org"
w32tm /config /reliable:yes
net stop w32time
net start w32time
w32tm /resync /nowait
pause
 
 
 
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync /nowait
w32tm /query /peers
pause

 


Was this answer helpful?

« Back