运行Regedit,打开注册表编辑器。
找到注册表项HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfig,将AnnounceFlags的值修改为5。
找到注册表项HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer,将Enabled的值修改为1。
services.msc,设置windows time服务为延时自动。
在命令行中输入”net stop w32time && net start w32time“重启W32Time服务。