Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready

How To Configure An Ntp Network Time Server In Windows Xp

By: Richard Williams Home | Computers-and-Technology


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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time 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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\ 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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\parameters\

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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\

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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\

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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\config 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_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\config

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.


Copyright (c) 2008 Richard Williams



Article Source: http://www.eArticlesOnline.com

About the Author:
Richard N Williams is a technical author and a specialist in the telecommunications and network time synchronisation industries. For more information about NTP servers please visit here.

Tags: , , , , , , , , , ,

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Computers-and-Technology Articles Via RSS!

Recent Related Articles From Computers-and-Technology

  • How These 2 Platinum Hours Every Day Will Change Your Life

    Okay, so you're saying you don't have enough time to do what you want to do to transform your life for the better. You're saying to yourself, "If only I have more time to do what I want to do, my life will change!" Read

  • Hard Money And Bridge Loans For Real Estate
    By: WilliamKing | Mar 19th 2009
    Hard money loans are explained in this article. It provides some basic knowledge into what hard money loan is, its characteristics and some tips for hard money borrowers and lenders. Read

  • Strategies For Your Life Success
    By: Helen Raptoplous | Feb 25th 2011
    When push comes to shove the difference between those people living the life they want and those people settling for the life they get comes down to a few simple understandings and strategies. Successful people are not born success. Success people do not have magic powers. Successful people just understand simple life chang ... Read

  • How To Find The Ultimate Value Of Your Website
    By: Alex Lex | Dec 1st 2010
    How can you increase your value of your Website? It’s really very easy, simply increase the amount of traffic enduring to it form the major Search Engines. This is a much easier than you can imagine. Read

  • Old Coin Value - What's Important
    By: madcore | Feb 4th 2007
    Main purpose of this article is to give you an insight about Old Coin Value and guide you further into understanding everything related to this subject. Read

  • Discover The Coin Collecting Value Of Your Coins
    By: madcore | Apr 16th 2007
    Main purpose of this article is to give you an insight about coin collecting value and guide you further into understanding everything related to this subject. Read

  • Importance Of Knowing The Value And Worth Of Your Website
    By: Alex Lex | Dec 1st 2010
    This article tells you about the importance of having such type of services that helps you to measure the value of a specific website in order to have a clean view about its value, worth and the actual features that are possessed by that particular Website; thus you can say that this article will definitely provide sufficie ... Read

  • What Your Website Is Worth Before Selling It?
    By: Alex Lex | Dec 1st 2010
    You all know very well that how important it is to have a Website of your own, when you are into an Online Business. If you would want to sustain your own Website or if you are selling your Websites to earn little money, it is really important for you to know what the exact value of your Websites is. Read

  • How To Sell Value Instead Of Price

    Often sellers think they're selling value when they're not. Some clues are confused and frustrated buyers who attack price. Use this simple three-step process to sell value when the prospect wants to buy price. Read

  • Get The Information Of Your Domain
    By: Alex Lex | Nov 29th 2010
    This main aim of this article to show you that how can anybody easily ascertain the actual value of a Website in the Interval of very short while. It is necessary for you to know that how to measure the value of a Website before making a transaction for it, since the actual value will make you to estimate the deserved cost ... Read


Copyright © 2005-2011 eArticlesOnline, LLC - All Rights Reserved
Terms of Service | Privacy Policy