Configuring a NTP Network Time Server in Windows 2000

By: Richard N Williams

MicrosoftWindows 2000 has a time synchronisation utility built into the operatingsystemcalled Windows Time (w32time.exe)which can be configured to operate as a network time serverand uses a version of NTP called SNTP (simplified network time protocol).

Please note: Microsoftand others strongly recommend that you configure a time server with a hardwaresource rather than from the internet where there is no authentication. Forinformation on NTP time servers, receivers and other NTP products please click here

To configure the Windows Time service to use anexternal time source please follow these instructions:

Click Start, Run and type regedit then click OK.

Locate the following subkey:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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

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

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

Right-click NtpServer in the right pane then clickModify.

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

Nowclick Ok.

ForWindows 2000 Service Pack 4 only, set the time correction settings to do thislocate:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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

?Click OK.

To set the poll intervals locate:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParameters

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

In the Edit DWORD Value box, under Value Data, type24 then OK

Exit Registry Editor

ClickStart, then Run then type the following and press Enter:

Netstop w32time && net start w32time

Toreset the local computers’ time, type the following on all computers except forthe time server which must not be synchronised with itself:

To enable the Network Time Protocol; NTPserver,locate and click:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer

Inthe right pane, right-click Enabled, then click Modify.

Inthe Edit DWord Value box, type 1 under Value data, then click OK.

Now go back and click on

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeParametersNtpServer

Inthe right pane, right-click NtpServer, then Modify, in the Edit DWORD Valueunder Value Data type In the right pane, right-click NtpServer, then Modify, inthe Edit DWORD Value under Value Data type the Domain Name System (DNS), each DNS must be unique and youmust append 0x1 to the end of each DNS name otherwise changes will not takeeffect.

Nowclick Ok.

Locate and click the following

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpClientSpecialPollInterval

Inthe right pane, right-click SpecialPollInterval, then click Modify.

Inthe Edit DWORD Value box, under Value Data, type the number of seconds you wantfor each poll, ie 900 will poll every 15 minutes, then click OK.

Toconfigure the time correction settings, locate:

?HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig

?In the right pane, right-clickMaxPosPhaseCorrection, 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.

Nowgo back and click:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32Timeconfig

Inthe right pane, right-click MaxNegPhaseCorrection, then Modify.

Inthe Edit DWORD box under base, click Decimal, under value data type the time inseconds you want to poll such as 3600 (polls in one hour)

ExitRegistry Editor

Nowto restart windows time service, click Start, Run (or alternatively use thecommand prompt facility) and type:

netstop w32time && net start w32time

Andon each computer, other than the time serverArticle Search, type:

W32tm/-s

Networking
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 
 • 

» More on Networking