Monday, November 15, 2010

How to make a Windows NTP Network Time Server Configuration

computer synchronization is very important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive operations. Imagine buying an airline seat only to be told at the airport that the ticket was sold twice because it was then purchased a computer that had a slower clock!

Modern computers have internal clocks called Real Time Clock chips (RTC) that provide time and date. Thischips 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 is optimized for mass production and low cost rather than maintaining accurate time.

For many applications, can be quite adequate, although many of these machines need time to be synchronized with other PCs on a network and the computers are not synchronized with each other problems can arise, such as file sharing networkor, in some environments even fraud!

Microsoft Windows 2000, a time synchronization utility built into the operating system called Windows Time (W32Time.exe) that can be configured to operate as a network server. Microsoft and others recommend that you configure a time server with a hardware source rather that the Internet where there is no authentication.

If you want to configure the Windows Time service to use the internal hardware clock, thenfirst check that w32time is located in the list of system services in the registry to check:

Click Start, Run and type regedit and click OK.

Locate and click the following registry entry:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Time

We strongly recommend that you back up the registry as serious problems can occur if you modify the registry, the changes to the registry is done at your own risk.

To begin the configuration of ainternal clock, click the following subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

In the right pane, right-click ReliableTimeSource, click Edit.

In the Edit DWORD Value, then type 1 in the Value data box, click OK

Close the Registry Editor

To restart the Windows Time service, Run (or alternatively use the Command Prompt).

Type: net stop w32time & & net start w32time

Then press Enter.

Onlocal reset 'time the computer, type the following on all computers except the time server which must not be synchronized with itself:

w32tm-s

Configuring the Windows Time service to use an external time source, regedit, click Start, Run, and type and then click OK.

Locate the following subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

In the right pane, click Type then click Edit Edit Value, type NTP in the Value data boxbox and click OK.

Now, in the right pane, right-click ReliableTimeSource, click Edit.

In Edit DWORD Value data box, type 0, click OK.

NtpServer right mouse button in the right pane, click Edit.

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

Now click on OK.

For Windows 2000 Service Pack 4 only the time correction settings to do thisfind:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

In the right pane, right-click MaxAllowedClockErrInSecs, and then click Modify the Edit DWORD Value box, a second time in seconds the maximum difference between the local clock and the time received from the NTP server types should be considered as a valid new time.

Click OK.

To find the polling interval:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

Inthe right pane, right-click the period, and then click Edit.

In Edit DWORD Value data box, type 24 then click OK

Close the Registry Editor

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

Net stop w32time & & net start w32time

the local 'Recovery time computer, type the following on all computers except the time server which must not be synchronized with itself:

Network Time Protocol (NTP) is an Internet protocol used totransfer of accurate time information for the time, so that an exact time can be obtained

For the Network Time Protocol, NTPServer, locate and click:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer

In the right pane, click Enabled, and then click Edit.

In the Edit DWORD Value, type 1 under Value data, click OK.

Now go back and click onon

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersNtpServer

In the right pane, click NtpServer, and then click Edit in the Edit DWORD Value data, type in the right pane, click NtpServer, and then click Edit in the Edit DWORD Value data, type the domain name system ( DNS), each DNS must be unique and need 0x1 to the end of each DNS name otherwise changes will have no effect.

Now click on OK.

Identification andClick on the following

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpClientSpecialPollInterval

In the right pane, special poll interval right mouse button, click Modify.

In Edit DWORD Value data box, type the number of seconds for each poll, ie 900 to poll every 15 minutes, and then click OK.

To configure the correct settings, found:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig

In the rightRight click MaxPosPhaseCorrection, and change, in the Edit DWORD Value, under Base, click Decimal, under Value data, type a time in seconds as 3600 (one hour) and then click OK.

Now go back and click:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig

In the right pane, right-click MaxNegPhaseCorrection, and then click Change.

In the Edit DWORD Value box, under Base, click Decimal, type in the data value of the time in seconds that you want to poll such as 3600 (polls inhour)

Close the Registry Editor

Now that Windows Time Service, click Start, Run (or alternatively use the Command Prompt) and type reboot:

net stop w32time & & net start w32time

And on any computer other than the time server, type:

W32tm / s

And this is the server which should now be up and running.

Friends Link : Virtual Space

No comments:

Post a Comment