Samba

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Logon script with Administrator rights

    2 answers - 545 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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.
    E pensando en cambiar de coche? Todas los modelos de serie y extras en
    MSN Motor.
  • No.1 | | 621 bytes | |

    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.

    E pensando en cambiar de coche? Todas los modelos de serie y extras
    en MSN Motor.
  • No.2 | | 1096 bytes | |

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

    1) Use poledit to change the Run or R registry keys to execute
    your commands.
    2) Use beyondexec
    () 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
    () to delivery
    packages that execute your commands or programs as Administrator.

    10/25/06, Toni Casueps <casueps (AT) hotmail (DOT) comwrote:
    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.

    E pensando en cambiar de coche? Todas los modelos de serie y extras en
    MSN Motor.

Re: Logon script with Administrator rights


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 6 =
QUESTION ON "Samba"

EMSDN.COM