| The Microsoft Windows operating systems
| |
| | Windows 2000 has an integrated time
|
| from Windows 2000 onwards has a built-in
| |
| | synchronisation service, installed by
|
| time synchronization service - 'Windows
| |
| | default, which can synchronise to a NTP
|
| Time'. This article describes how to
| |
| | Server. Indeed, by manipulating registry
|
| configure the Microsoft Windows 2003 and
| |
| | settings, the service can act as both an
|
| Windows 2000 time service as a NTP time
| |
| | SNTP client and SNTP server to
|
| server. It shows how to modify registry
| |
| | synchronise other network clients.
|
| entries to configure the Microsoft
| |
| | Before modifying registry entries it is
|
| Windows Time Service. The Windows Time
| |
| | good a dood idea to backup the registry
|
| service allows a Windows network to
| |
| | settings. The registry can then be
|
| provide synchronisation of all machines
| |
| | restored in the event of problems being
|
| within a domain.
| |
| | encountered.
|
| Windows 2003 Server Configuration
| |
| | The 'Windows Time' service should be
|
| Windows 2003 has expanded on the original
| |
| | present in the systems service list. The
|
| Windows 2000 time service by providing a
| |
| | application executable is 'w32time.exe'.
|
| true NTP implementation. The time
| |
| | The parameter list for w32time can be
|
| service, installed by default, can
| |
| | found in the registry at:
|
| synchronise to a NTP Server. Indeed, by
| |
| | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
|
| manipulating registry settings for the
| |
| | et\Services\W32Time\Parameters
|
| service it can act as both an NTP server
| |
| | Windows 2000 can operate as an NTP client
|
| and client to synchronise other network
| |
| | and synchronise to an NTP server by
|
| clients in the domain.
| |
| | setting parameter 'NTP Server' to the IP
|
| The 'Windows Time' service should be
| |
| | address of a NTP Server.
|
| present in the systems service list. The
| |
| | By default, the Microsoft Windows 2000
|
| application executable is 'w32time.exe'.
| |
| | machine will synchronise to the specified
|
| The parameter list for w32time can be
| |
| | NTP time server every 8 hours (or 3 times
|
| found in the registry at:
| |
| | a day), which may not be enough to
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
| |
| | maintain accurate synchronisation. The
|
| et\Services\W32Time
| |
| | period can be reduced by setting the
|
| Before modifying registry entries it is
| |
| | 'Period' parameter to how many times a
|
| good a dood idea to backup the registry
| |
| | day synchronisation is required. Setting
|
| settings. The registry can then be
| |
| | the period to 48 will activate
|
| restored in the event of problems being
| |
| | synchronisation with the NTP server once
|
| encountered.
| |
| | every half hour.
|
| To configure a Windows 2003 machine to
| |
| | Windows 2000 can also be configured to
|
| synchronise to an external NTP server,
| |
| | act as an NTP server by setting the
|
| edit the following registry entries:
| |
| | 'Local NTP' parameter to '1'.
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
| |
| | After editing any of the registry entries
|
| et\Services\W32Time\Config\AnnounceFlags
| |
| | for the windows time service, the service
|
| Set the 'Announce Flags' registry entry
| |
| | must be restarted for the settings to
|
| to 5, to indicate a reliable time source.
| |
| | take effect. The services can be started
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
| |
| | or stopped from the service control
|
| et\Services\W32Time\TimeProviders\NTPClie
| |
| | applet in 'administrative tools'.
|
| nt\SpecialPollInterval
| |
| | Alternatively the service can be
|
| The 'Special Poll Interval' registry
| |
| | controlled via the DOS net command
|
| entry defines the period in seconds that
| |
| | thus:net start w32timenet stop w32time
|
| the Windows 2003 machine should poll the
| |
| | NTP Troubleshooting
|
| NTP server. A recommended value is 900
| |
| | A number of problems can be encountered
|
| seconds, which equates to every 15
| |
| | when configuring the Windows Time
|
| minutes.
| |
| | Service. NTP operates using the UDP
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
| |
| | protocol over TCP/IP. Therefore the TCP
|
| et\Services\W32Time\Parameters\NtpServer
| |
| | IP network infrastructure must be
|
| The 'NTP Server' parameter is used to
| |
| | operational for NTP to be effective.
|
| provide a list of IP addresses or DNS
| |
| | Synchronisation issues may arise when NTP
|
| names, separated by a space, of NTP
| |
| | attempts to synchronise to an inaccurate
|
| servers that the Windows 2003 machine can
| |
| | time reference or if network delays are
|
| synchronise to.
| |
| | excessive.
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
| |
| | Synchronising Time on Network Devices
|
| et\Services\W32Time\TimeProviders\NTPServ
| |
| | As well as synchronising Microsoft
|
| er\Enabled
| |
| | Windows servers and workstations, NTP can
|
| Changing the 'Enabled' flag to the value
| |
| | also be used to synchronise network
|
| 1 enables the NTP Server.
| |
| | devices, such as hubs, switches and
|
| HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl
| |
| | routers. Any network device that can
|
| et\Services\W32Time\Parameters\Type
| |
| | synchronise to a NTP server can be
|
| Change the server type to NTP by
| |
| | pointed to the Windows server to achieve
|
| specifying 'NTP' in the 'Type' registry
| |
| | time synchronisation. In this way the
|
| entry.
| |
| | whole network and accompanying
|
| Windows 2000 Time Service Configuration
| |
| | infrastructure can be synchronised.
|