[Samba] logon script to adjust time on workstation
Khanh Tran
khanh at slc.edu
Mon Feb 24 14:30:11 GMT 2003
You'd have to set the policy for the "Everyone" group to change the time on
the workstation. I don't remember exactly where it is in Win2k, but I know
it was possible in NT.
Khanh Tran
Network Operations
Sarah Lawrence College
-----Original Message-----
From: Gabriel D. Preston [mailto:gpreston at sgillc.com]
Sent: Monday, February 24, 2003 9:28 AM
To: samba at lists.samba.org
Subject: [Samba] logon script to adjust time on workstation
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
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list