ms w32tm w32time bug?

two pc(A,B)

SET A as time server
(http://support.microsoft.com/?scid=kb%3Ben-us%3B314054&x=7&y=8
How to configure an authoritative time server in Windows XP)

A-PC SET DATE:2009-3-25,restart w32time

B-PC
www.yippeesoft.com >date
当前日期: 2009-03-18 星期三
输入新日期: (年月日)

www.yippeesoft.com >net time /setsntp:192.168.0.222
命令成功完成。

www.yippeesoft.com >net stop w32time && net start w32time
Windows Time 服务正在停止.
Windows Time 服务已成功停止。

Windows Time 服务正在启动 .
Windows Time 服务已经启动成功。

www.yippeesoft.com >w32tm /resync /rediscover
发送 resync 命令到 local computer…
成功地执行了命令。

www.yippeesoft.com >date
当前日期: 2009-03-25 星期三
输入新日期: (年月日)

it is ok

but set A-PC:2099,restart w32time service.

B-PC:
www.yippeesoft.com >date
当前日期: 2009-03-25 星期三
输入新日期: (年月日)

www.yippeesoft.com >w32tm /resync /rediscover
发送 resync 命令到 local computer…
成功地执行了命令。

www.yippeesoft.com >date
当前日期: 1963-02-17 星期日
输入新日期: (年月日)

maybe it more than

Windows Time service registry entries
The following registry entries are located under HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\

Collapse this tableExpand this table
Registry Entry MaxPosPhaseCorrection
Path HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Config
Notes This entry specifies the largest positive time correction in seconds that the service makes. If the service determines that a change larger than this is required, it logs an event. Special case: 0xFFFFFFFF means always make time correction. The default value for domain members is 0xFFFFFFFF. The default value for stand-alone clients and servers is 54,000 (15 hours).
Collapse this tableExpand this table
Registry Entry MaxNegPhaseCorrection
Path HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Config
Notes This entry specifies the largest negative time correction in seconds that the service makes. If the service determines that a change larger than this is required, it logs an event instead. Special case: -1 means always make time correction, The default value for domain members is 0xFFFFFFFF. The default value for stand-alone clients and servers is 54,000 (15 hours).

历史博文

标签:, ,
八月 18, 2009 at 12:00 上午 by yippee 1,051 次
Category: Dev
Tags: , ,