//注意需要自己先设置好电脑同步服务器时间 @echo off %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit net stop w32time net start w32time w32tm /resync
此批处理相关于点击调用下面图片中的立即同步