[Samba] logon script to adjust time on workstation
Gabriel D. Preston
gpreston at sgillc.com
Mon Feb 24 14:27:41 GMT 2003
Hey everyone,
I have what I think is a fairly simple question. In the logon script
for users, I have it set to map some drives and set the time on the
user's workstation, all Win2K machines. Now, shy of putting everyone in
the Administrator's group, how can I have it set the time on that
machine? It only successfully works when myself or the other
administrator log on to a machine since we have Administrative
privileges, but for everyone else, it says they don't have enough
privileges and doesn't do it. Anybody have any suggestions? Below is
our logon script:
@echo off
NET TIME \\SGI-FILE /SET /YES
NET USE I: \\SGI-FILE\Install /YES
NET USE F: \\SGI-FILE\Data /YES
IF NOT "%OS%"=="Windows_NT" goto endit
NET START "Automatic Updates"
:endit
-Gabriel Preston
More information about the samba
mailing list