对于指定 Windows Time Server,你可能打以下的语句
w32tm /config /manualpeerlist:NTP_server_IP_Address,0x8 /syncfromflags:MANUAL
0x8是什么意思呢,以下是英文解释
The mode that Windows Time uses to send requests is set by the following registry subkey:
If the value of the Enabled entry in this subkey is 1, Windows Time uses symmetric active mode. Otherwise, Windows Time uses client mode.
The 0x8 setting that is referenced in the command in the "Resolution" section sets Windows Time to use client mode.
The valid settings for the mode used with the /manualpeerlist switch include the following:
- 0x01 - use special poll interval SpecialInterval
- 0x02 - UseAsFallbackOnly
- 0x04 - send request as SymmetricActive mode
- 0x08 - send request as Client mode
假如需要深究什么是SymmetricActive mode 什么是Client mode, 那就需要看原理了,以下是一个参考
http://www.bytefusion.com/products/ntm/pts/3_3modesofoperation.htm
本文转自 VirtualTom 51CTO博客,原文链接:http://blog.51cto.com/virtualtom/755444,如需转载请自行联系原作者