2013年8月7日 星期三

設定 NTP Server

Windows 2003 Server

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"localNTP"=dword:00000001


Windows 7 & XP

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config]
"AnnounceFlags"=dword:00000005
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer]
"Enabled"=dword:00000001

停止 Windows Time 服務:
net stop w32time

啟動 Windows Time 服務:
net start w32time

重新啟動 Windows Time 服務:
net stop w32time && net start w32time