psexec error "access denied"
Posted on 2003-11-10
I am trying to execute a program remotely on another computer using psexec. Therefore I created a user account which has administrational rights on that machine. The Path to the program is known and the program does not need to be copied to that remote machine. For launching the program I use a command script which passes some arguments to the program. The program is an interactive application which should be aware of user input on the remote computer.
I tried the following commands:
psexec \\remote -u user -p pwd -e -i path\to\program.exe
psexec \\remote -u user -p pwd -e path\to\program.exe
psexec \\remote -u user -p pwd -i path\to\program.exe
psexec \\remote -u user -p pwd path\to\program.exe
Unfortunately it seems that some kind of permission has to be present for the user to execute the program since I get always the error "access denied".
Any ideas what i am doing wrong or what kind of permission i forgot?