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/
hi, you can use runasspc greez Toni Casueps 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/ >-- Michael Gasch Max Planck Institute for Evolutionary Anthropology Department of Human Evolution (IT Staff) Deutscher Platz 6 D-04103 Leipzig Germany Phone: 49 (0)341 - 3550 137 49 (0)341 - 3550 374 Fax: 49 (0)341 - 3550 399
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@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