How to synchronize the Client PC Time with Server W2003?

How to synchronize the Client PC Time with Server W2003?

Postby dutch » Thu Nov 29, 2007 2:47 am

Dear all,

I've the problem with time at client PC. The user can change it. In the past I've use the Netware and the client PC will get the time from File Server but on Windows how can I do that.

Regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby StefanHaupt » Thu Nov 29, 2007 4:48 pm

Dutch,

in XP: Control Center/ Date and Time/ Internettime

I hope I translated the german expressions correct :wink:

or

net time /setsntp:<timeserver>
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby hua » Fri Nov 30, 2007 1:33 am

At my office, here's how I set it up. Set the lan server to sync its time with one of those public time server while workstations are set to sync with the lan server. On my XP machine, I inserted this in autoexec.nt,
Code: Select all  Expand view
net time \\LanServerName /set /yes
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Postby dutch » Fri Nov 30, 2007 2:52 am

I got it.
Thanks for all,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Otto » Fri Nov 30, 2007 5:26 am

Hello Dutch,
could you share with us how?
Thanks in advance
Otto
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Postby James Bott » Fri Nov 30, 2007 2:01 pm

The problem with Windows built-in time setting is that it only sets the time once a week. I have seen computers that loose several minutes in a week.

I have free software scheduled, using the Windows scheduler, that sets the time once a day. You can get the software here:

http://tf.nist.gov/service/its.htm

This software is provided by the US Gov. I don't know if it is limited to US time zones or not.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby StefanHaupt » Fri Nov 30, 2007 3:46 pm

James,

you can set this parameter in the registry

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval
Reg_DWORD
Dezimal
poll intervall in Seconds (86400 = 1d)
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby James Bott » Fri Nov 30, 2007 4:11 pm

Stefan,

Thanks for the tip. Nice.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests