- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
06-21-2023 07:42 AM
When I try to run wls.exe commands I get failed to run access denied. CyberArk EPM agent
23.6.1.1301 was running. Once I removed CyberArk EPM I as able to run wsl.exe commands.
Is there a setting in the CyberArk console that may be applied to allow wsl to run without being denied access?
06-22-2023 01:30 AM
You can check which EPM policy applies to wsl.exe (although that might not lead you directly to the root cause).
Find wsl.exe in Explorer (on my machine, it is under C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.5.0_x64__8wekyb3d8bbwe\wsl.exe), go to the file properties and check the EPM tab. If the EPM tab doesn't appear, turn on the "Show CyberArk EPM tab in File Properties" setting in the Agent Config in your EPM set.
06-22-2023 06:04 AM
@Bernhard Brückler ,
Thanks for pointing me in the right direction. WSL was blocked by a predefined policy that is active: Recommended Blocked Windows OS Applications. "Windows applications that we recommend you block, unless your use scenarios explicitly require them. This list is based on Microsoft's recommendation".
At the least I can now tell what policy blocked it. For now, I will let "sleeping dogs lie" and leave it alone.
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!

