@echo off ::netsh ipsec static set policy name=7road assign=n net time /setsntp:pool.ntp.org net stop w32time net start w32time w32tm /resync w32tm /resync w32tm /resync ::netsh ipsec static set policy name=7road assign=y exit
原文:http://www.cnblogs.com/Mrhuangrui/p/6418844.html