/home

Icon

Informations, tips and technics.

NTP on Windows 2003 and Windows 2000

Recently, I had to make sure that all my Windows servers (2003 and 200 standalone and some Windows 2003 servers in a Windows 2003 Active Directory infrastructure) are in synch with a reliable time source, or an NTP server. The NTP server that I had to use is a Linux one already configured. I will post here the links and basic information on how I have achieve this.

– Windows 2000 Servers
I have used a more powerful tool than the Windows’ NET TIME command. It’s called NTPTime and can be found here.

You will then have only to configure some basic settings.

– Windows 2003 Servers clients synchronizing on the Active Directory
Use the following commands:
w32tm /config /syncfromflags:domhier /update
w32tm /resync /rediscover

(Check any errors displayed and also check the Event Viewer)

– Windows 2003 Servers standalone
Those settings have been set in the registry:

* HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\
NtpServer : ip1,ip2
* HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type : NTP
* HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags :
5

Where ip1 and ip2 are the IP addresses of your external NTP server.
Then,
net stop w32time && net start w32time
w32tm /resync /rediscover
(Check any errors displayed and also check the Event Viewer)
– Windows 2003 domain controller (PDC) that synchronize on an external NTP server:
w32tm /configure /manualpeerlist:ip1,ip2 /syncfromfl
ags:manual /update
w32tm /resync /rediscover

Where ip1 and ip2 are the IP addresses of your external NTP server.

(Check any errors displayed and also check the Event Viewer)

Here are the collection of links that help me out:

Hope this can help.

Advertisements

Filed under: Windows, , , , , ,

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: