set registry key permission
The synchronization of computation time is very important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Imagine buying an airline seat for access to the airport that the ticket was sold twice because it was bought later on a computer that had a slower clock!
Modern computers have a internal clock is called the chip real time clock (RTC) that provide the date and time. 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. Its design has been optimized for mass production and low cost rather than maintaining accurate time.
For many applications, that may be quite adequate, but often machines need time to synchronize with other PCs on a network and when computers are synchronized between them can arise from other problems such as file sharing network or in some environments even fraud!
Microsoft Windows 2000 is a utility for time synchronization integrated operating system called Windows Time (W32Time.exe) that can be configured to function as a time server on the network. Microsoft and others strongly recommend that you configure a time server with a hardware source rather than the Internet, where there is no authentication.
If you want to configure the Windows Time service to use the hardware clock Internally, then first check that w32time is in the list of system services in the registry, to check:
Click Start, Run, then type regedit and click OK.
Locate and click the following registry entry:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Time
It is strongly recommended back up the registry as serious problems can occur if you modify the registry incorrectly, modifications to the registration is done at your own risks.
To start the configuration of an internal clock, click the following key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters
In the right pane, right-click ReliableTimeSource then click Edit.
In Edit DWORD Value, type 1 in the data area value, and then click OK
Quit Registry Editor
To restart the Windows Time service, click Start, Run (or, alternatively, use the easy command prompt).
Type: net stop w32time & & net start w32time
Then press ENTER.
To reset the local time at the computer, type the following command on all computers except the time server should not be synchronized with the same:
w32tm-s
To configure the Windows Time service to use an external time source, click Start, click Run and type regedit and click OK.
Locate the following key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters
In the right pane, click Type then click Modify, change the value type NTP in the data box value and then click OK.
Now, in the right pane, click ReliableTimeSource, then click Edit.
In the Edit DWORD Value under Value Data, type 0, and then click OK.
Click NtpServer in the right pane, click Edit.
In Edit Value, type the Domain Name System (DNS), each DNS must be unique.
Now click OK.
For Windows 2000 Service Pack 4, configure the time correction for this look:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters
In the right pane, click MaxAllowedClockErrInSecs, and then click Modify on the Edit DWORD Value, type a time in seconds the maximum number of seconds the difference between local clock and time received from the NTP server to be considered a valid new time.
Click OK.
To set polling intervals to find:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters
As part right click on the period, then click Edit.
In the Edit DWORD Value, under Value, type 24 then click OK
Exit Editor Registry
Click Start, click Run, type the following command and press Enter:
Net stop w32time & & net start w32time
To reset the time for local teams type the following command on all computers except the time server should not be synchronized with the same:
Network Time Protocol (NTP) is an Internet protocol used to transfer the right time, providing time information so that the time should be obtained
To enable the network time protocol; NTPServer, locate and click:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer
In the right pane, click Enabled, then click Edit.
In the Edit DWORD Value, type 1 under Value data, then click OK.
Go back and click
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersNtpServer
As part right click NtpServer and change in the data type DWORD value in the right pane, then click NtpServer change in the Edit DWORD Value under Value Data type of domain name (DNS), each DNS must be unique and must attach 0×1 to the end of each DNS name otherwise changes will take effect.
Now click OK.
Locate and click on the following
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpClientSpecialPollInterval
In the right pane, right click SpecialPollInterval, and then click Edit.
In the Edit DWORD Value, under Value, type the number of seconds you want for each survey, 900 survey every 15 minutes, and then click OK.
To configure the correct settings, locate:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig
In the right pane, right-click MaxPosPhaseCorrection then Edit in the Edit value DWORD, under Base, click Decimal, under value, type the time in seconds such as 3600 (one hour) and then click OK.
Now, go back and click on:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig
In the right pane, then click Edit MaxNegPhaseCorrection.
In the Edit DWORD Value, under Base, click Decimal, under Value data, type the time in seconds that you want the vote in 3600 (surveys in one hour)
Quit Registry Editor
Now to restart the service time of Windows, click Start, click Run (or alternatively, Use the command prompt facility) and type:
net stop w32time & & net start w32time
And on each computer, other than Time Server Type:
W32tm /-s
And that's all the time the server must be implemented now.