Configure Windows Server as a Ntp Server
The Microsoft Windows operating systems from Windows
2000 advanced has a congenital time synchronization account – ‘Windows
Time'. This commodity describes how to configure the Microsoft Windows
2003 and Windows 2000 time account as a NTP time server. It shows how to
adapt anthology entries to configure the Microsoft Windows Time
Service. The Windows Time account allows a Windows arrangement to
accommodate synchronisation of all machines aural a domain.
Windows 2003 Server Configuration
Windows 2003 has broadcast on the aboriginal Windows 2000 time account
by accouterment a authentic NTP implementation. The time service,
installed by default, can synchronise to a NTP Server. Indeed, by
manipulating anthology settings for the account it can act as both an
NTP server and applicant to synchronise added arrangement audience in
the domain.
The 'Windows Time' account should be present in the systems account
list. The appliance executable is 'w32time.exe'. The constant account
for w32time can be begin in the anthology at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time
Before modifying anthology entries it is acceptable a dood abstraction
to advancement the anthology settings. The anthology can again be
adequate in the accident of problems actuality encountered.
To configure a Windows 2003 apparatus to synchronise to an alien NTP server, adapt the afterward anthology entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
Set the ‘Announce Flags' anthology access to 5, to announce a reliable time source.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NTPClient\SpecialPollInterval
The
‘Special Poll Interval' anthology access defines the aeon in abnormal
that the Windows 2003 apparatus should poll the NTP server. A
recommended amount is 900 seconds, which equates to every 15 minutes.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer
The
‘NTP Server' constant is acclimated to accommodate a account of IP
addresses or DNS names, afar by a space, of NTP servers that the Windows
2003 apparatus can synchronise to.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NTPServer\Enabled
Changing the ‘Enabled' banderole to the amount 1 enables the NTP Server.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
Change the server blazon to NTP by allegorical ‘NTP' in the ‘Type' anthology entry.
Windows 2000 Time Account Configuration
Windows
2000 has an chip time synchronisation service, installed by default,
which can synchronise to a NTP Server. Indeed, by manipulating anthology
settings, the account can act as both an SNTP applicant and SNTP server
to synchronise added arrangement clients.
Before modifying anthology entries it is acceptable a dood abstraction
to advancement the anthology settings. The anthology can again be
adequate in the accident of problems actuality encountered.
The
'Windows Time' account should be present in the systems account list.
The appliance executable is 'w32time.exe'. The constant account for
w32time can be begin in the anthology at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Windows 2000 can accomplish as an NTP applicant and synchronise to an
NTP server by ambience constant 'NTP Server' to the IP abode of a NTP
Server.
By default, the Microsoft Windows 2000 apparatus will synchronise to the
defined NTP time server every 8 hours (or 3 times a day), which may not
be abundant to advance authentic synchronisation. The aeon can be
bargain by ambience the 'Period' constant to how abounding times a day
synchronisation is required. Ambience the aeon to 48 will actuate
synchronisation with the NTP server already every bisected hour.
Windows 2000 can additionally be configured to act as an NTP server by ambience the 'Local NTP' constant to '1'.
After alteration any of the anthology entries for the windows time
service, the account charge be restarted for the settings to booty
effect. The casework can be started or chock-full from the account
ascendancy applet in 'administrative tools'. Alternatively the account
can be controlled via the DOS net command thus:
net alpha w32time
net stop w32time
NTP Troubleshooting
A cardinal of problems can be encountered back configuring the Windows
Time Service. NTP operates application the UDP agreement over TCP/IP.
Therefore the TCP/IP arrangement basement charge be operational for NTP
to be effective. Synchronisation issues may appear back NTP attempts to
synchronise to an inaccurate time advertence or if arrangement delays
are excessive.
Synchronising Time on Arrangement Devices
As able-bodied as synchronising Microsoft Windows servers and
workstations, NTP can additionally be acclimated to synchronise
arrangement devices, such as hubs, switches and routers. Any arrangement
accessory that can synchronise to a NTP server can be acicular to the
Windows server to accomplish time synchronisation. In this way the
accomplished arrangement and accompanying basement can be synchronised.