此方法仅用于windows系统
首先启动window time 服务,再同步时间
net start w32time
w32tm /resync
将以上保存成bat文件,放在开机启动目录里就可以
使用计划任务可以实现同样效果,只是需要确保windows time 服务正常启动了