• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

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
0
PROACTIVETG
Asked:
PROACTIVETG
1 Solution
 
Emmanuel AdebayoGlobal 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now