Remember Me
forgot your password?

How to Configure a Ntp Network Time Server in Windows 2000

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 2000 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. Microsoft and others strongly recommend that you configure a time server with a hardware source rather than from the internet where there is no authentication.

If you want to configure Windows Time service to use the internal hardware clock, then 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_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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

In Edit DWORD Value, type 1 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 reset the local computers’ time, type the following on all computers except for the time server which must not be synchronised with itself:

w32tm –s

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_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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



Now in the right pane, right click ReliableTimeSource, then click Modify.

In the Edit DWORD Value box, under Value Data, type 0, then click OK.

Right-click NtpServer in the right pane then click Modify.

In Edit Value, type the Domain Name System (DNS), each DNS must be unique.

Now click Ok.

For Windows 2000 Service Pack 4 only, set the time correction settings to do this locate:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

In the right pane, right-click MaxAllowedClockErrInSecs, then Modify in the Edit DWORD Value box, , type a time in seconds max number of seconds difference between the local clock and the time received from the NTP server in order to be considered a valid new time.

Click OK.

To set the poll intervals locate:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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

In the Edit DWORD Value box, under Value Data, type 24 then 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:

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 on each computer, other than the time server, type:

W32tm/ -s

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 - 1 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Computers Articles
  • More from Richard n Williams

How To Password-Protect Documents In Your Computer From Prying Eyes

By: Sunil Kumar DAN | 06/01/2010
There are times when we type things on our computer and save them on our computers yet we don't wish people to read whatever it is we have written and saved. For those who don't know how to protect what they have written from people who might have access to their computers other than themselves, using a password protected system to keep your documents from being accessed by other people is one thing that should be learned.

Initial Investigation Can Seriously Cut the Costs of Fixing Your Computers

By: Gregg Housh | 06/01/2010
Fixing computers can be expensive. Everyone every so often faces issues that need the support of an expert. Still, there are a couple of steps you can take to reduce the price of your impending computer work. While fixing computers can be difficult, a little work can make your technician's...

Speed up downloading Web pages by using Vector Markup Language

By: Clive Harman | 06/01/2010
Speed up downloading Web pages by using Vector Markup Language and other tips

Speed up downloading Web pages by using Vector Markup Language

By: Clive Harman | 06/01/2010
Speed up downloading Web pages by using Vector Markup Language and other tips

Uncover Account Names and Passwords of other Computer Users

By: hei55 | 06/01/2010
One of the most dangerous things about the Internet is the ability for Internet users to create accounts with e-mail, social networking websites, dating sites and other forms of account driven websites. Behind those accounts computer users can hide what they are saying and communicating to others from everyone else in the family or office.

Signs of a Cheating Mate

By: hei55 | 06/01/2010
Sadly half of marriages end in divorce or separation in the USA and many more romantic relationships end in one mate cheating on the other. Many times this is something that develops over time and catches one mate completely by surprise. Save yourself time, emotional stress and possibly your relationship by knowing the tell-tale signs of a cheating mate.

Analysis: Most Twitter Users Don’t Realize Their Twitter Pages are Public

By: hei55 | 06/01/2010
An expert on social networking websites revealed recently that most twitter users do not realize that what they post on their twitter page is viewable to the whole entire world. They think that only their followers can see what they are typing in their micro blogs. They are of course wrong. The entire world wide web has access to most twitter pages online. Whatever users put on their twitter page can be viewed by anyone.

Child Predators In your Neighborhood

By: hei55 | 06/01/2010
Every day we have to face the reality that the world we live in is dangerous. And it is more dangerous from the decade before, year before and even months and days before. One of the dangers that exists is the existence of child predators. If you are not already aware of the ones that live near to your home find out about them. Many times people who have a dangerous mindset with our young people live up the block or even next door from us.

Digital Signage Posters – Advertising that Comes Alive

By: Richard n Williams | 04/01/2010 | Multimedia
There is much to consider when it comes to implementing digital signage. Most importantly, there is the content; which needs to be attractive an eye catching but also the digital signage display itself needs to be pleasing to the eye.

70” LCD Enclosure – When Size Matters

By: Richard n Williams | 04/01/2010 | Advertising
Digital signage is one of the most accessible forms of advertising available to modern businesses especially if LCD or plasma screens are placed outside where the audience that can see such digital advertising is larger.

Planning an Outdoor Digital Signage Campaign

By: Richard n Williams | 04/01/2010 | Technology
Outdoor digital signage is a great way of raising interest and generating awareness to your company, products and brand.

Digital Signage Posters and Advertising Displays

By: Richard n Williams | 04/01/2010 | Advertising
Getting your message across is the key aim of any marketing strategy. Raising awareness of products and brands is vitally important to many businesses and thanks to the advance in flat-screen technologies such as LCD and plasma screens and their plummeting costs – digital advertising has never been easier.

Protecting Computer Hardware in the Harshest of Conditions

By: Richard n Williams | 04/01/2010 | Multimedia
Computers are now an essential in almost every industry and business. They are used to maximise efficiency, reduce waste, ensure processes are running smoothly and in many cases controlling machinery and systems.

Choosing a Digital Signage System for Outdoor Use

By: Richard n Williams | 04/01/2010 | Multimedia
Outdoor digital signage is a fast-growing new industry with potentially a lot larger audience capable of seeing the digital advertising campaign than in other forms of digital signage implementation.

European Time Synchronisation with DCF-77

By: Richard n Williams | 04/01/2010 | Technology
The DCF 77 signal is a long wave transmission broadcast at 77 KHz from Frankfurt in Germany. DCF -77 is transmitted by Physikalisch-Technische Bundesanstalt, the German national physics laboratory.

UTC – What Time is it?

By: Richard n Williams | 04/01/2010 | Technology
From the early days of the industrial revolution, when railway lines and the telegraph spanned across time zones it became apparent that a global timescale was required that would allow the same time to be used no matter where you were in the world.

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.40, 6, w2)