[Samba] Logon script with Administrator rights

Cleber P. de Souza cleberps at gmail.com
Wed Oct 25 13:00:20 GMT 2006

I've some suggestions for you, choose the best that apply:

1) Use poledit to change the Run or Run_Once registry keys to execute
your commands.
2) Use beyondexec
(http://www.beyondlogic.org/solutions/remoteprocess/BeyondExec.htm) to
execute all the command you want with Administrator rights on all the
up machines directly from your machine.
3) Choose other methods such as runasspc
(http://robotronic.de/runasspc/) or PsExec
(http://www.sysinternals.com/Utilities/PsExec.html) to delivery
packages that execute your commands or programs as Administrator.

On 10/25/06, Toni Casueps <casueps at hotmail.com> wrote:
> I am using a .bat logon script (the same for all users) and it avoids that I
> have to configure each user manually. But now I have to run a command that
> requires administrator rights on two files, and the command I write in the
> .bat file doesn't work.
> Do you know how to run the logon script as the local machine Administrator?
> After all, the logon script is on the server and only me can change it so it
> wouldn't be dangerous.
> _________________________________________________________________
> ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
> MSN Motor. http://motor.msn.es/researchcentre/
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

Cleber P. de Souza

More information about the samba mailing list