Psexec is a free powerful "runas" utility by Microsoft. It's special features are e.g. the possibilities to start processes on remote machines, as system system user or to run them in the console 0 session.
Questions tagged [psexec]
126 questions
10
votes
3 answers
Redirect output of process started locally with PSExec
I'm using PSExec in a test machine environment to start the setup package of the application to be tested as administrator, and then run tests as administrator where needed. PSExec is only used for the "run as" part here, no remote execution. The…
ygoe
- 2,308
- 7
- 28
- 44
5
votes
5 answers
PSExec "cannot find the file specified" on local machine
As you can see from the screenshot below, C:\Windows\system32\cmd.exe exists (since the command prompt itself is using that path), and I try referencing it both with the short cmd.exe name and the full path, but both result in the same error from…
deadlydog
- 774
3
votes
1 answer
PSEXEC error establishing communication with psexec service
I'm trying to run a program in system mode, but this error appears
error establishing communication with psexec service computername
psexec \\kerjaTA -s "C:\Program Files\GOM\GOM.exe"
jap
- 31
- 1
- 2
2
votes
0 answers
psexec could not start psexec service on . Error in the remote procedure call was cancelled
I get this error when running any command using psexec to a Win2012 server:
PsExec.exe -u -p \\ cmd.exe
PsExec v2.11 - Execute processes remotely
Copyright (C) 2001-2014 Mark Russinovich
Sysinternals -…
Luis
- 131
2
votes
2 answers
Installing psexec to C:\Windows vs another folder
I needed psexec and copied into C:\Windows. A youTube tutorial example shows creating an additional folder and adding the folder to the path.
Is there any advantage or reason to create a folder and modify the path?
Update
Although this factoid is…
gatorback
- 1,225
- 6
- 19
- 40
1
vote
1 answer
Psexec say batch file started but on remote server it didn't
I have an issue trying to execute a batch file using Psexec.
For testing purposes, i have an batch file located at the remote server.
The batch file will just do an hello world
Echo HelloWorld
pause.
When i try to execute the batch file using…
Friday
- 11
1
vote
0 answers
PSexec access is denied on domain user
I seem to be having some trouble with only 2/150+ users when using psexec. I am mapping to their profile and get the "Access is denied" message.
I don't understand how that could be since every user is setup the same and I can access the rest.
I am…
Guest1997
- 11
- 1
1
vote
1 answer
Executing VBScript file remotely - file not found
I tried using
psexec \\emeagdmv28apx50 -s -i Test1.vbs
psexec \\emeagdmv28apx50 @file "C:\Start.ps1"
But the script is not able to find the file on remote machine. I have this particular file present at the localhost as well as the remote machine…
0
votes
2 answers
Psexec and perl script with multiple arguements
I 'm trying to remotely execute a perl script that needs to run with some arguments/switches, but I 'm failing miserably :p What I 'm currently doing is:
psexec \\computer -u my_username "path\to\perl" "path\to\perl_script" --switch1 --switch2
This…
George P
- 11