Sysinternals (PSexec.exe) Cannot run as system

Trying to open the command prompt as "nt authority\System" on a Window 2012 R2 server. Normally i've run the command below:

PsExec.exe -s -i cmd.exe

Getting error code:
Error communicating with PsExec service on SRV01:
No process is on the other end of the pipe.
error.jpg
PROACTIVETGAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Emmanuel AdebayoConnect With a Mentor Global Windows Infrastructure Engineer - ConsultantCommented:
Check the list of services running on the remote server by using the command below

pslist \\SRV01
This is assuming that your remote server name is SRV01, if not you have to change the name to the correct one.

You should find a process called PSEXESVC

Use pskill to kill the process. After this you should be able to use PsExec.exe -s -i cmd.exe
0
 
Dan McFaddenSystems EngineerCommented:
You need to open the first command console with "Run as Admin," then the command will function.

Dan
0
 
PROACTIVETGAuthor Commented:
You are correct. The application was running already. Once I killed the process, I was able to run the tool.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.