Solved

Sysinternals (PSexec.exe) Cannot run as system

Posted on 2016-11-08
3
87 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
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 26

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

863 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now