Category: Top » Computers » Networks »


Author: Dave Evans | Total views: 260 Comments: 0
Word Count: 723 Date: Wed, 25 Mar 2009 1:56 PM

How To Setup A Windows Time Server

The latest Microsoft Windows operating systems have a built-in time synchronisations services. Windows 2000 and later operating systems have, by default, the windows time service installed, called w32time. The time service allows a Windows network to provide synchronisation of all machines within a domain. This article describes how to configure the Windows Server 2000 and 2003 time service as a SNTP server. It also shows how to modify registry entries to configure the service to provide SNTP for synchronisation of network infrastructure.

It is important to backup the registry before modifying any entries. This allows the registry to be restored to a known good state if any problems occur.

Windows 2000 has an integrated time synchronisation service, installed by default, which can synchronise to a NTP Server. Indeed, by manipulating registry settings, the service can act as both an SNTP client and server to synchronise network infrastructure such as routers, servers and other time clients.

The time service is installed by default and should be present in the systems service list. The application executable is named w32time and resides in the windows system32 directory. The applications registry settings are located at:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

Windows 2000 can operate as an NTP client and synchronise to an NTP server by setting parameter 'NTP Server' to the IP address of a NTP Server.

The service will synchronise to the specified time server every 8 hours, or 3 times a day. This may not be enough to maintain accurate synchronisation. This time period can be adjusted by setting the 'Period' parameter to how many times a day synchronisation is required. Setting the period to 24 will activate synchronisation with once every hour. The service can also be configured to act as a SNTP server by setting the 'Local NTP' parameter to '1'.

After editing any of the registry entries for the windows time service, the service must be restarted for the settings to take effect. The time service can be started or stopped from the service control applet in administrative tools. The service can also be controlled from the DOS net command:

net start w32time
net stop w32time

Windows Server 2003 has extended the original service by providing a complete implementation of the network time protocol. The service, installed by default, can synchronise to a NTP time server. Indeed, by manipulating registry settings for the service it can act as both an server and client to synchronise other network clients in the domain.

The service should be present in the systems service list. The application executable is called 'w32time.exe'. The parameter list for w32time can be found in the registry at:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Time

To configure a Windows 2003 machine to synchronise to an external server, edit the following registry entries:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersType
Change the server type by specifying 'NTP' in the 'Type' registry entry.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigAnnounceFlags
Set this registry entry to 5, to indicate a reliable time source.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNTPClientSpecialPollInterval
This registry entry defines the period in seconds that the Windows 2003 machine should poll the NTP server. A recommended value is 900 seconds, which equates to every 15 minutes.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNTPServerEnabled
Changing the 'Enabled' flag to the value 1 enables the time server.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersNtpServer
This parameter is used to provide a list of IP addresses or DNS names, separated by a space, of servers that the Windows 2003 machine can synchronise to.

A number of problems can be encountered when configuring the service. The network time protocol utilises UDP over TCP/IP. Therefore the TCP/IP network infrastructure must be operational for the service to be utilised. Also, issues may arise when attempts to synchronise to an inaccurate time reference are made, or if network delays are excessive.

As well as synchronising Windows servers and workstations, the application can also be used to synchronise network hardware, such as routers, switches and hubs. Any network hardware that can synchronise using NTP can be pointed to the Windows server to achieve time synchronisation. In this way the whole network and accompanying infrastructure can be synchronised.

About the Author

Dave Evans is a technical author in the field of synchronisation systems to ensure accurate time on PC's and computer networks. Click here, to find out more about time server solutions.




Rate, comment or bookmark this article

Seed Newsvine

Rating: Not yet rated

Bookmark this article in your preferred program
AddThis Social Bookmark Button

Comments RSS

No comments posted.

Add Comment

Your Name:


Your Email:


Comment

Enter the code shown

Visual CAPTCHA



Popular Articles in this cathegory

1: Configuring NTP Server Software on LINUX
This article provides straightforward installation and configuration information for the Linux version of the NTP distribution. It attempts to describe a simple NTP installation and goes through the configuration procedure required to provide a network time resource on a Linux machine.

2: What can WiMAX technology offer?
WiMAX technology offers wireless data in a related form as compare to WiFi but its level and speed allow to build hybrid and wireless networks, of any size, anywhere. It is formed to encourage conformance and interoperability of Wireless Metropolitan Area Network.

3: 5 Points To Consider Before Purchasing Wireless Equipment
When you buy wireless equipment, you want to make sure that everything you buy will work in your house with the computer(s) you already have and over the distances required

4: Using the GPS System For NTP Server Synchronisation
This article describes how time servers obtain accurate timing information to provide a highly precise timing reference for computer network time synchronisation. It discusses how NTP servers can utilise the precise atomic time generated by GPS to provide an accurate timing reference for computer systems.

5: Moving To An NGN Platform
With Next Generation Networks (NGNs), the end user is delivered with applications that are advanced and comprehensive. The NGN architecture has undergone significant amounts of upgradation and this has standardized the architecture more and more. The protocol has been installed in a variety of networks and as a result, the business network security has undergone substantial improvement.


Creative Commons License
This article is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
Spanish taslation