When trying to spawn a Powershell session in system-context via PSEXEC i get the following error: Couldn't install PSEXESVC service: Access is denied.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

When trying to spawn a Powershell session in system-context via PSEXEC i get the following error: Couldn't install PSEXESVC service: Access is denied.

L0 Member

Hi all,

 

So in order to replicate a test scenario for testing and deploying apps, before it gets packaged and uploaded to intune, we used to launch our Powershell script through PSEXEC in order to have the script run in system-context.

 

This one is a bit tricky, because we did allow PSEXEC and CMD/Powershell etc to run elevated, and our Team is actually able to do so, but because PSEXEC is spawning a service, which in turn tries to open up Powershell it get's refused and we are recieving the following error:

 

Field_Content_versions_oct20__068Ht00000UHw3JIAT.pngFor now we have found a work-around, which is to move our device to another SET in CyberARK, which resolves the issue, but as i wasn't able to find any solutions on this forum regarding this subject, perhaps someone could point me in the right direction.

 

In CyberARK, Windows Terminal/Powershell and CMD are all approved for our team, so i wonder where to look for.

Field_Content_versions_oct20__068Ht00000UHw4WIAT.png 

Anyway, for now we keep using the workaround, although that's not preffered of course 🙂

2 REPLIES 2

L7 Applicator

hey @Theo Mast​ 

Which products are you using? EPM? I'd like to adjust the 'topics' for this post as it is unrelated to technical community feedback.

 

thanks!

 

-Matt

Hi Matt,

 

Yes that's correct, we are using CyberARK Endpoint Privilege Manager.

  • 726 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!