Remember Me
forgot your password?

Windows Server: Configuring as a Ntp Network Time Server

 

Precision and time synchronisation is highly important for modern computer networks, without synchronisation many time sensitive transactions would be impossible to carry out.

 

The internal clock in computers does keep time and date information but these Real Time Chips are not designed to keep perfect time as computers are mass produced and optimized for low cost rather than being perfect clocks.

 

Of course for a lot of applications this can be more than adequate but for time-sensitive transactions such as online purchasing not having a network that is synchronised can cause errors in transactions and can even leave the network vulnerable to fraud.

 

Fortunately Windows Server from 2000 onwards has a time synchronisation utility built in call windows time (w32time.exe) this can be configured to allow the machine to be used as time server.

 

Windows time uses a form of NTP (Network Time Protocol) which was developed over 20 years ago. It uses an algorithm to synchronise time on a network. NTP (version 4) can maintain time over the public Internet to within 10 milliseconds (1/100th of a second) and can perform even better over LANs with accuracies of 200 microseconds (1/5000th of a second) under ideal conditions.

 

NTP uses a single time reference and synchronises all machines on the network to that time. 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 the Windows Time service to use an external time source, click Start, Run and type regedit then click OK.

 

Locate the subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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








 

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.

 

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

 

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 the time server should be up and running

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. Please visit us for more information about a GPS time server or other NTP server products.

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

Add new Comment



Captcha

  • Latest Hardware Articles
  • More from Richard n Williams

A Guide for Computer Bass Speakers

By: JohnnyW | 01/01/2010
Things you should look for when buying computer bass speakers

Considerations to be Made While Choosing Music CD Duplication Services

By: Editor123 | 01/01/2010
Music cassettes have been outperformed by the CDs and DVDs. As a result, a number of music distribution companies look for music CD duplication services to help their businesses grow.

The Best PS3 Game Deal For Dragon Age

By: Joan S. Sims | 01/01/2010
The game producing industry has been hell bent for years on coming up with a PS3 game that has a flexible story line, one which will take twists and turns on the basis of the player’s decisions taken in the game. It seems that Bio Ware has finally beaten other well known game designers in their race to create a game with flexible plot lines.

Review of the Logitech z2300 Speakers

By: JohnnyW | 31/12/2009
Pricing and reviews for the Logitech z2300 speakers.

How to Build a PC: The Basics

By: Shane | 31/12/2009
Building a PC can be a daunting task if you've never attempted it before. With all the different components that make up a computer, you need to know exactly what to get. Building a computer requires patience and effort to learn and experiment, but it does not require a great deal of technical knowledge.

Friendly purchase Advise - HP TX1000 Notebook Charger

By: Sekhar Somu | 31/12/2009
Getting Notebook Power Supply compatible for HP TX1000 Series Notebook

A Decade in RF Jamming

By: Nick Roggers | 31/12/2009
RF jammers have been around since the 1970's. In the past few years there has been major development for civilian purposes as well. 2010 may indeed start another decade of further technology surprises.

Selecting Useful Branded USB drives Is Easy

By: Kamesh Goud | 31/12/2009
The best promotional gift is not the one that comes into the marketers pocket without spending huge money, but is the one that holds a fair amount of usability for the ones who are going to receive it. When it comes to buying branded USB drives, it is necessary that buyers prepare a list of what all they require.

The Complexities of Setting up a Bar

By: Richard n Williams | 31/12/2009 | Strategic Planning
Most of us have visited them numerous times and have perhaps never wondered about all the complexities of running a bar and its not until you are the other side of the taps do you realise the number of glasses, tools and accessories that are required to keep an average bar running is staggering.

Setting up a Bar and the Importance of Bar Equipment

By: Richard n Williams | 31/12/2009 | Business Opportunities
Whether you are embarking on opening your first bar or hotel or are expanding your current chain then it is crucial you realise the importance of good catering and bar equipment can’t be stressed strongly enough.

Eco Friendly Shopping Tips

By: Richard n Williams | 31/12/2009 | Shopping
There are many promotions and companies claiming green credentials but often a lot of messages are confused and finding a supplier of eco friendly products can always be challenging, especially if you are new to the green movement yourself.

Helping Winter Wildlife during the Cold Spells

By: Richard n Williams | 31/12/2009 | Gardening
The cold snowy weather can keep many of us in during the winter months but these cold spells can be even more harsh on the local wildlife. Not only do many of our native animals and birds struggle to find enough to eat during the winter months they also struggle to find shelter.

The Benefits of Bamboo Clothing

By: Richard n Williams | 31/12/2009 | Fashion
There has been a large increase in the amount of bamboo clothes and furnishings that have come on to the market lately, and its no surprise as bamboo is perhaps one of the most underrated fabrics around.

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:

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.04, 1, w3)