Remember Me
forgot your password?

How to Configure an Ntp Network Time Server in Windows 2003

Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told at the airport that the ticket was sold twice because it was purchased afterwards on a computer that had a slower clock!

Modern computers do have internal clocks called Real Time Clock chips (RTC) that provide time and date information. These chips are battery backed so that even during power outages, they can maintain time but personal computers are not designed to be perfect clocks. Their design has been optimized for mass production and low-cost rather than maintaining accurate time.

For many applications, this is can be quite adequate, although, quite often machines need time to be synchronised with other PC's on a network and when computers are out of sync with each other problems can arise such as sharing network files, failed transactions or in some environments even fraud!

Microsoft Windows 2003 has a time synchronisation utility built into the operating system called Windows Time (w32time.exe) which can be configured to operate as a network time server. It can be configured to both synchronise a network using the internal clock or an external time source.

Note: Microsoft strongly recommends that you configure a time server with a hardware source rather than from the internet where there is no authentication.

To configure Windows Time service to use the internal hardware clock, first check that w32time is located in the system services list in the registry, to check:

Click Start, Run then type regedit then click ok.

Locate and then click the following registry entry:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Time

It is highly recommended that you back up the registry as serious problems may occur if you modify the registry incorrectly, modifications to the registry are done at your own risk.

To begin configuration for an internal clock, click on the following subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigAnnounceFlags

In the right pane, right-click AnnounceFlags, then click modify.

In Edit DWORD Value, type A in the Value Data box, then click OK

Exit Registry Editor

To restart the Windows Time Service click Start, Run (or alternatively use the Command Prompt facility).

Type: net stop w32time && net start w32time

Then press enter.

To configure the Windows Time service to use an external time source, click Start, Run and type regedit then click OK.

Locate the following subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersType

In the right pane, right-click Type then click Modify, in edit Value type NTP in the Value data box then click OK.



Locate the following subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigAnnounceFlags.

In the right pane, right-click AnnounceFlags and click Modify. The ‘AnnounceFlags' registry entry indicates whether the server is a trusted time reference, 5 indicates a trusted source so in the Edit DWORD Value box, under Value Data, type 5, then click OK.

Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information along so that a precise time can be obtained

To enable the Network Time Protocol; NTPserver, locate and click:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer

In the right pane, right-click Enabled, then click Modify.

In the Edit DWord Value box, type 1 under Value data, then click OK.

Now go back and click on

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersNtpServer

In the right pane, right-click NtpServer, then Modify, in the Edit DWORD Value under Value Data type In the right pane, right-click NtpServer, then Modify, in the Edit DWORD Value under Value Data type the Domain Name System (DNS), each DNS must be unique and you must append 0x1 to the end of each DNS name otherwise changes will not take effect.

Now click Ok.

Locate and click the following

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpClientSpecialPollInterval

In the right pane, right-click SpecialPollInterval, then click Modify.

In the Edit DWORD Value box, under Value Data, type the number of seconds you want for each poll, ie 900 will poll every 15 minutes, then click OK.

To configure the time correction settings, locate:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig

In the right pane, right-click MaxPosPhaseCorrection, then Modify, in the Edit DWORD Value box, under Base, click Decimal, under Value Data, type a time in seconds such as 3600 (an hour) then click OK.

Now go back and click:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig

In the right pane, right-click MaxNegPhaseCorrection, then Modify.

In the Edit DWORD box under base, click Decimal, under value data type the time in seconds you want to poll such as 3600 (polls in one hour)

Exit Registry Editor

Now, to restart windows time service, click Start, Run (or alternatively use the command prompt facility) and type:

net stop w32time && net start w32time

And that’s it your time server should be now up and running.

Richard n Williams

Copyright 2008 © Richard N Williams
Richard N Williams is a technical author and a specialist in the telecommunications and network time synchronisation industry helping to develop dedicated time server products; ethernet clocks, GPS time servers, NTP servers, digital wall clocks, atomic clock servers and SNTP time servers. For more information about NTP products please Click here This article may be republished and reprinted in its complete form or in part without seeking permission providing a relevant link to this site is maintained. It is a violation of copyright law to reprint or publish this content without following these terms.

Rate this Article: 5 / 5 stars - 2 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Networks Articles
  • More from Richard n Williams

Gaiacom Wireless Networks

By: Gaiacom Wireless Networks | 26/12/2009
Gaiacom Ltd designs, sells and hires energy efficient information technology communications installations equipment. The mission is to facilitate always on everywhere information flows to foster business efficiency and interpersonal communications.

Free 70-622

By: andy | 26/12/2009
Certinside offers free demo for Microsoft Licensing 70-622 exam (Pro:Microsoft Desktop Support-Enterprise). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

Exam 70-620

By: andy | 26/12/2009
Candidates for this exam should have at least one year of experience in the IT field. They typically provide phone support at the Tier 1 or Tier 2 level in a wide range of environments, including retail stores and the upper midsize organization or enterprise environment.

70-505 Exam

By: andy | 26/12/2009
Our challenging questions with Correct Answers built to simulate the actual exam. Unlimited, FREE auto-updates so you’re never behind on any topic. The whole package comes as an automatic download so there’s no waiting or shipping. Our most questions and answers along with explanations. Our practice test will determine you to take your 70-505 certification exam and pass the official exam on your first try, guaranteed.

70-455 exam

By: andy | 26/12/2009
The Microsoft 70-455 certificates give you possibility to work in any country of the world because they are acknowledged in all countries equally. This Microsoft 70-455 torrent certificate helps not only to improve your knowledge and skills, but it also helps your career, gives a possibility for qualified usage of Microsoft 70-455 exam products under different conditions. The majority of companies in the sphere of information technologies require the presence of Microsoft 70-455 exams for the wo

Microsoft 70-453

By: andy | 26/12/2009
You are the administrator of your company network. There's a SQL Server 2008 database solution which is log-shipped for high-availability purposes. The transaction log files of the database are located on drive E. The data files of the database are located on drive D. You are developing a recovery test plan for the log-shipping solution which has to satisfy the requirements bellow.

70-646 Exam

By: andy | 26/12/2009
You can quickly and easily pass the Microsoft 70-646 Certinside exam while retaining the how-to and know-how involved in learning the skills covered in the 70-646 exam. PRO: Windows Server 2008, Server Administrator (or 70-646), a Microsoft exam is part of the MCITP certification(s) and is a key element in upgrading your skill set. Passing the PRO: Windows Server 2008, Server Administrator exam will clear the path to future Microsoft exam success and instantly enhance your career.

Free 70-564 Demo Download

By: andy | 26/12/2009
Certinside offers free demo for MCSD.NET 70-564 exam (PRO: Designing and Developing ASP.NET Applications using Microsoft .NET Framework 3.5). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

The Fascinating World of Ladders

By: Richard n Williams | 23/12/2009 | Home Improvement
There is more to the humble ladder than you may think. Most households have them, under all that junk in the garage, or propped up in a cupboard, and yet little thought goes into what are quite fascinating tools.

The Funny side of Ladders

By: Richard n Williams | 23/12/2009 | Home Improvement
When the word ladder is ever uttered. Our minds always turn to think that aluminium ladder in the garage or the step ladders under the stairs. But the word ladder has had many uses over the years and not ladders can be climbed.

Choosing the Right Ladder for the Job

By: Richard n Williams | 23/12/2009 | Tools & Equipment
There are a vast array of different types of ladders on the market and it can be often confusing when it comes to buying a ladder to find the exact one that suits your requirements. Despite the myriad of names and terms given to some ladders, they pretty much fall into three categories:

How to Start Recycling

By: Richard n Williams | 23/12/2009 | Home & Family
It is estimated that four out of ten households are still not recycling their waste and the most common reason given is that people say they find recycling confusing.

Saving Money in the Winter Months – Money Saving Tips for Home and Office

By: Richard n Williams | 23/12/2009 | Home & Family
The winter brings with it more than just the cold and dark nights. Quite often winter is a time of high bills and large running costs especially if you have a home to run and a business. And with many of us now working at home and trying to run an office in the house, th e extra costs can be crippling this time of year.

Recycle your Christmas Tree

By: Richard n Williams | 23/12/2009 | Gardening
Christmas is a busy time, not just with all that eating, drinking and being merry. At Christmas time there is a huge deluge of recycling to be done; all that wrapping paper, empty boxes and left over turkey – not to mention the Christmas Tree.

Choosing an Eco Christmas gift

By: Richard n Williams | 17/12/2009 | Home & Family
We all know that Christmas is a time for giving but attempting to get that perfect gift for every member of the familiy can not only be difficult at the best of times but trying to buy an eco friendly Christmas gift can make it nearly impossible.

Stand-by Savers and Energy Monitors

By: Richard n Williams | 17/12/2009 | Home & Family
One of the biggest struggle throughout the cold winter months is trying to keep those large heating and lighting bills down. This time of year is an expensive one; with Christmas around the corner the last thing most of us need is huge heating bills landing on the mat in the New Year.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.24, 5, w3)