- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-09-2024 05:43 AM
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:
For 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.
Anyway, for now we keep using the workaround, although that's not preffered of course 🙂
04-10-2024 08:14 AM
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
04-10-2024 11:38 PM
Hi Matt,
Yes that's correct, we are using CyberARK Endpoint Privilege Manager.
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!

