How to Configure a NTP Network Time Server in Windows 2000
- Date: 2008-04-21 - Word Count: 908
Share This!
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.
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.
Related Tags: time, gps, server, windows, sync, ntp, 2000, msf
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 Your Article Search Directory : Find in Articles
Recent articles in this category:
- Using Keywords Effectively For an SEO Campaign
Keyword research is one of the most crucial parts of an SEO campaign. If you end up choosing the wro - Search Engine Optimization Copywriting Tips
SEO copywriting is not as technical as it sounds but is different from traditional copywriting for t - 3 Tips to Make Money Using Videos
For the last five years video has been a real success in the internet. Now you can find video in alm - Is Social Media Networking Your Next Strategy For Your Online Marketing?
When you try to work on online promotion and online marketing, social media especially social media - Submitting a URL of Your Website
People who make a website usually do research on how to improve not only the quality of their websit - 5 Bad Habits of Article Marketing
There are many ways to advertise your company but having a highly ranked website is the best. Most p - Facts About SEO Services Company
SEO services companies are becoming very popular in the internet marketing world but there are some - 4 Ways Search Engine Optimization Can Be So Powerful
Whether you are an affiliate marketer, small businessman or a large organization, your first step wh - A List of 3 Options For Internet Business
The trend of making money through online business has become trendy now a day. People are shifting t - Getting the Best Affiliate Products For Your Site
Making money online was never so difficult before. There are numerous ways through which you can mak
Most viewed articles in this category:
- The Revolutionized Ebay Etailsolution Software
With the help of eBay, the auction business has received a new meaning. With the help of the many eB - Internet Millions - by Ryan Orrell - Honest Review
REVIEW: "Internet Millions", by Ryan Orrell, is a refreshing new kind of internet marketing e-bo - A Google Adsense Addiction
54% of all Google Adsense publishers admit addiction to click income. A recent online study conducte - Lead Generation for Top Residual Income
At the heart of any good residual income business is a person who knows how to generate leads. Lead - Make Money With Information Ebook Products: The Other End
I don't like thinking of myself as the kind of person that has made it rich on the internet, but in - Repeat Business Equals a Residual Income Stream
Residual income comes from other people reacting to a single action by the business owner. What bet - The NFL & United Way
There are many ways that NFL players help with the United Way. First of all, they donate a lot of th - Seo - Making Money Writing Seo Reviews
If you are a reviewer or critic you are likely to find work writing reviews of products and services - Understanding Perfume Types
Understanding the various varieties of perfume can help to cut through the difficulty in selecting a - Ecommerce Basics: Three Things To Avoid
When you decide to put your ecommerce website together there are a few mistakes that are easy to mak