Remember Me
forgot your password?

How to Configure an Ntp Network Time Server in Windows Xp

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 or in some environments even fraud!

Microsoft Windows XP 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 Config in the w32Time folder.

In the right pane, right-click AnnounceFlags, then 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.

Exit Registry Editor

Click Start, then Run then type the following and press Enter:

Net stop w32time && net start w32time

To reset the local computers’ time, type the following on all computers except for the time server which must not be synchronised with itself:

W32tm/resync/rediscover

To configure Windows Time to use an external time source

Run Registry Edit and locate the following:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeparameters

In the right pane, right-click Type, then click Modify

In the Edit Value box, under Value Data, type NTP and then click OK.

Now as before in the Config folder, right-click AnnounceFlags, Modify and in the Edit DWORD Value box, under Value Data, type 5, then click OK.

Locate and click the following

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpClient

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.

Now enable the NtpServer:

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 in the right pane, right-click NtpServer, then Modify and in the Edit DWORD Value under Value Data type Peers, 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

Now to restart windows time service, click Start, Run and type:

net stop w32time && net start w32time

And on each computer, other than the domain controller, type:

W32tm/resync/rediscover

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
0
1. Robert Wilson (14:28, 21.04.2008)
Excellent Article - easy to follow - easy to setup

  • Latest Computers Articles
  • More from Richard n Williams

BROADBAND ARTICLES.Broadband Articles

By: Robert McClure | 11/12/2009
Communities have been quick to jump on the broadband band wagon to promote their local historical and other various tourist attractions. No other marketing resource reaches as far and as effectively as the internet.There are so many fantastic benefits to a high-speed, broadband internet connection, that it is becoming as “basic” a need as a computer in today’s society. Look at this website, there are thousands of Articles on almost all subjects, plus more links for your help. http://www.toparticlereviews.com

The Impact Flash and Java Script Had on Online Games

By: Mark Thomas Walters | 11/12/2009
The majority of games that are played online are coded in a manner that means they can be played on most computer platforms. This makes it easier for many people to enjoy the same game regardless of the type of computer that they are using to access it. Consequently, you...

Online Gaming : Why is it So Popular?

By: Mark Thomas Walters | 11/12/2009
Simply saying that online gaming has become popular is a massive understatement. Since its introduction around a decade ago, year on year it has attracted more and more people, and there are no signs of the growth slowing. It's not just the number of gamers that has been increasing either,...

Reverse Cell Phone Look up - Avoid Costly Private Detectives Find Out All You Want to Know About Those Unfamiliar Phone Numbers

By: John Velazco | 11/12/2009
We have all received phone calls at some point from numbers we don't know. At times you might miss calls, and you would like to have a word to the person all over again. At times you would like to make out how to confirm they by no means call...

Have you heard about Dell Exploding Batteries ?

By: Sonya Williams | 11/12/2009
There were several instances of exploding laptops, which actually resulted due to the explosion of the batteries. There could be several reasons of such explosions, but mainly such accidents take place due to over heating of the batteries.

Reverse Cell Phone Lookup - Internet Has Made it Possible to Find Details on the Owner of the Cell Phone Number

By: Fred Romano | 11/12/2009
By means of the ever changing Internet, people are equipped to accomplish far more things than at one time. Performing a reverse cell phone lookup is easier accomplished and can take just a couple of minutes to be finished. All you would require to have it completed is the help...

Knowing more about Wii skins, DSI skins, and Slim PS3 skins

By: BhratBrij | 11/12/2009
Go on to the Internet to get your best choice of Wii skins or even gaming consoles skins like Slim PS3 skins and PSP Slim skins. You are definitely not going to be disappointed at the choice available there.

Reverse Phone Number Lookup - Catch the Deceiver

By: Jane Molano | 11/12/2009
If you are concerned your boyfriend or girlfriend is dishonest on you, it can bring about tension and disappointment. Dishonesty is an unfortunate problem in several relations. The divorce rate in the US at present is more than 60% and several of the reasons these marriage fail is because of...

Latest Green Ideas – Eco Friendly Furniture

By: Richard n Williams | 10/12/2009 | Home & Family
Lately, there have been some fantastic green ideas and new eco friendly products that have hit the market. Many of these green innovations have there basis in traditional and natural manufacturing methods such as craft work.

Looking after Wildlife During Winter

By: Richard n Williams | 10/12/2009 | Gardening
Not many of us look forward to the winter months. The darkness and cold can make us feel quite melancholy, and at least we have Christmas to keep us cheery. However, winter can be real a struggle for the local wildlife in our gardens.

Eco Friendly Motherhood

By: Richard n Williams | 10/12/2009 | Pregnancy
Having a baby and being a new parent can be a daunting time. Newborn babies take a lot of hard work, lots of sleepless nights and can cost the earth in more ways than one.

The Green Office – Eco Friendly Tips for Work

By: Richard n Williams | 10/12/2009 | Home Business
There are many areas of our lives where we are concious of the environment. Most of us recycle, switch the lights and appliances off when we are not using them and some of us have even traded our cars in for more economical models, However, there is one large area of our lives where many of us neglect to think about the environment – at work.

Waste Management – What Happens to the Waste in your Rubbish Bin?

By: Richard n Williams | 10/12/2009 | Business
Each year in the UK alone, 22.5 million tonnes of waste is thrown in rubbish bins or waste bins around the home and office. All this waste has to be managed and waste management is of vital importance to ensure we are not all knee-deep in rubbish.

Rubbish and Waste – Importance of Landfills

By: Richard n Williams | 10/12/2009 | Education
We are all wasteful. Each year, an average person throws out over a tonne of rubbish into our waste bins. And our rubbish bins contain everything from organic and food waste to paper, plastic and even metals.

Types of Public Waste Bin

By: Richard n Williams | 10/12/2009 | Business
We probably walk past dozens each day and not give them a second thought but the public waste bin is a crucial part of ensuring we are not wading down the high street knee-deep in discarded rubbish.

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.26, 2, w1)