脚本更新Windows系统时间

大概是主板上某个电池没电了,每次重启windows时间都会不对。(关闭了windows快速启动,拔出了笔记本电池)

解决方法:启动的时候运行脚本更新系统时间:
创建 update_time.bat(需要用管理员模式运行)

net start w32time
w32tm /resync
pause;
posted @ 2023-09-04 11:09  BuckyI  阅读(450)  评论(0编辑  收藏  举报