Thursday, February 16, 2006
Windows as an NTP client
With the integrated service "w32time.exe" Windows 2000 makes it possible to function as NTP server or client. To activate this service, the missing parameters have to be entered into the registry and the "time service" has to be started. The "time service" can be found in "administrativ tools - services - windows time". It should be started by choosing startup time "automatic". (One can start and stop the time service with the command line "net start w32time" and "net stop w32time".) The necessary parameters for this service can be found in the registry at the following location:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters".
A documentation of the parameters can be found at Microsoft.
To run Windows 2000 as NTP client, the IP address of the time server is necessary (parameter: "ntpserver" or command line "net time /setsntp[:NTP-Serverliste]"). The synchronisation period standard is every 8 hours (parameter: "Period" = "SpecialSkew"). This period can also be changed: For example to synchronise 24 times a day, the parameter "Period" must have "REG_DWORD" with the decimal entry 24.
Windows 2000 also can be run as NTP server: The registry parameter "LocalNTP" needs to be changed from "0" to "1". After restarting the service, any NTP/SNTP client can ask the Windows 2000 server for time. To check the "time service" the tool "w32tm.exe" can be used while the time service is disabled. Help can be found by using "w32tm /?".
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment