Solved

Sysinternals (PSexec.exe) Cannot run as system

Posted on 2016-11-08
3
168 Views
Last Modified: 2016-11-17
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
Comment
Question by:PROACTIVETG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Accepted Solution

by:
Emmanuel Adebayo earned 500 total points
ID: 41879713
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
 
LVL 28

Expert Comment

by:Dan McFadden
ID: 41882040
You need to open the first command console with "Run as Admin," then the command will function.

Dan
0
 

Author Closing Comment

by:PROACTIVETG
ID: 41891652
You are correct. The application was running already. Once I killed the process, I was able to run the tool.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief introduction to what I consider to be the best editor for PowerShell.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question