[Samba] time server = yes

Aaron J. Zirbes ajz at cccs.umn.edu
Fri Dec 7 15:19:24 GMT 2007

IF "file and print sharing" is enabled on them, you write a batch file that can connect to them all
and run regedit to push out refistry changes to all of them.

Look at PStools to help you with it, specifically psexec.exe
(Microsoft recently bought out SysInternals, who previously published the PStools package)

Good luck!


Adam Williams wrote:
> Helge wrote:
>> Hi Adam,
>> try this:
>> "How to configure an authoritative time server in Windows XP:
>> Configuring the Windows Time service to use an external time source"
>> http://support.microsoft.com/kb/314054/EN-US/#EXTERNAL
>> or http://support.microsoft.com/kb/314054/EN-US
>> I had the same problem some months ago. Trying to set the client´s
>> time in
>> the user´s logon scripts always brought me an "access denied" error for
>> the already given reasons.
>> If I remember right, it was this article that finally helped me out. This
>> way the system time is set  but the users are prevented from changing the
>> time themselves.
>> Greetings,
>> Petri
> Thanks for your and everyone else's replies.  Unfortunately, the
> registry edits would require me to go to all 150 computers here and log
> in as local administrator to make the registry changes, which just
> really isn't an option.  Luckily, I have WPKG installed on all 150
> computers to handle automatic deploying of software, and it runs as
> local administrator on computer start up.  So, I will see if I can use
> K9 or another free NTP program to handle time synchronization, or have
> WPKG execute a .bat with net time /set /yes \\server upon system start up.

More information about the samba mailing list