[Samba] synchronise time

Josh Kelley josh at jbc.edu
Tue Oct 11 13:30:23 GMT 2005

Patrick DUBAU wrote:

> in my logon.bat file i put : net time \\admin /SET /YES to synchronise
> computer time with the server.
> This works when the user who is login in has administrator rights on
> the computer.
> How can i do with users who are just "member of the domain"? Is there
> a way to run this command "as administrator" ?

Why not use NTP instead?  Windows supports NTP (the Windows Time
Service), and http://msi-repository.sourceforge.net/ has "NTP for
Windows" MSI's that make using it easy.  (I haven't tried these to know
how they work.)

Josh Kelley

More information about the samba mailing list