==================
最简单的方法域服务器进行时间同步
net time /domain:fareast /set /y
查看本地时钟偏差
w32tm /stripchart /computer:time.windows.com /samples:5
==================
1. setup a windows server as ntp server (配置 Windows 时间服务以使用内部硬件时钟)
a. under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\
b. set AnnounceFlags to 0x5
c. run ntpserver
under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\
set Enabled to 1
d. net stop w32time && net start w32time
2. sync clients to server's clock.
a. net time /setsntp:server_IP
b. Internet time -> update now.
reference:
http://support.microsoft.com/kb/314054