widows 2008 同步时间命令

由于windows2008没有提供类似XP的自动同步功能,因此需要使用windows 2008计划任务来运行一行命令进行同步。

 
首先查看与想要同步时间的internet时间服务器的时差:
w32tm /stripchart /computer:time.windows.com /samples:5 /dataonly
 
创建一个计划任务每天00:00:00运行,命令如下:
w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:yes /update

 

你可能感兴趣的:(2008)