Solved

Sysinternals (PSexec.exe) Cannot run as system

Posted on 2016-11-08
3
128 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 27

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
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 their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

838 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