环境:Windows 电脑

症状:电脑安装 Windows+MAC 双系统后 系统切换后时间不对,或者双因素认证时间不对

解决办法:建立任务计划,设置开机立即更新时间

步骤

  1. 将 windows 时间服务设置为自动并启动

  2. 从阿里云同步时间

1
2
sc config W32Time start= auto
net start w32time
1
w32tm /config /manualpeerlist:"time.pool.aliyun.com" /syncfromflags:manual /reliable:yes /update

  1. 将上述步骤设置为任务计划,触发条件为开机启动