- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-12-2025 09:09 AM
Hello all, I've asked this before but was not able receive clarification. There is a method to spawn elevated processes from command line arguments that are run normally. For example - We have a system that requires elevated privileges to run "ipconfig /flushdns". Instead of granting elevated access to the command shell, I am testing a policy to allow this. However, it does not seem to be working correctly. I've attached a screenshot for the custom Application Group I created and another for the Application Definition of "Elevate IPConfg".
The workflow: A user runs PowerShell as "Run Normal". If they need to use any elevated "IPConfig" command-line arguments, a separate "Elevate IPConfig" policy will hook into this with PowerShell as the direct parent.
Q: Does EPM's out-of-the-box Application Groups differentiate between what is an "Allow" or "Elevate" Group? After creating a Custom application group, it does not seem to say. (I named the custom group "Allow PowerShell")
Custom Application Group - PowerShell
Application Definition - Elevate IPConfig
Thank you!
12-15-2025 05:36 AM
I started using the control panel to run batch files in order to run simple things including running that EPM tool which loads all the policies, https://community.cyberark.com/s/article/EPM-Policy-Best-Practices-Reactively-Troubleshoot-Policy-Outcome I hear you , we don't really have that many parameter based policies for windows troubleshooting 0 we've recently made an Advanced policy for NETSH for our devs to troubleshoot and a TaskKill.exe for killing wsl2 when it stops responding, Use the SHOWProcInfo tool you can add it to the control panel there's a guide here on this forum.
I had to give some users access to change IPCONFIG settings, gateway/IP/Subnet when they visit external sites so made the policy above albeit my colleague helped better it, Seems to need admin rights - maybe you need to add the Administrative tasks Network Properties as shown here - https://docs.cyberark.com/epm/latest/en/content/policies/windowspolicies-newui.htm. I would recommend the control panel as you can have all your funky batch files in there that do basic things like netsh.exe, flushdns, maybe anything else you need sfc/scannow etc, worth testing. It's easy to setup and its convenient as you can make instructions for end users on the contents within the control panel, btw consider using regmon for policy creation too,
Another small tip is to give JIT rights then get the users to run the commands they need like flushdns and then create a policy from the policy audit once they've run them, search JIT or the device in question to see it's recently policy usage it will capture it under policy audit JIT for the specific computer, This way you are re-acting to the policy they just ran elevated and EPM has captured it for you rather than creating a policy and hoping EPM will understand it, Hope that helps. Not specifically done the one you mentioned and I'm at my last day here so hopefully Cyberark can move my account to my personal account lol.
I think also there's a difference between creating policy in Windows Settings and Control panel, seems my colleagues have improved the policy by using regmon. as i was literally capturing end user elevations by giving JIT rights.
12-15-2025 05:36 AM
I started using the control panel to run batch files in order to run simple things including running that EPM tool which loads all the policies, https://community.cyberark.com/s/article/EPM-Policy-Best-Practices-Reactively-Troubleshoot-Policy-Outcome I hear you , we don't really have that many parameter based policies for windows troubleshooting 0 we've recently made an Advanced policy for NETSH for our devs to troubleshoot and a TaskKill.exe for killing wsl2 when it stops responding, Use the SHOWProcInfo tool you can add it to the control panel there's a guide here on this forum.
I had to give some users access to change IPCONFIG settings, gateway/IP/Subnet when they visit external sites so made the policy above albeit my colleague helped better it, Seems to need admin rights - maybe you need to add the Administrative tasks Network Properties as shown here - https://docs.cyberark.com/epm/latest/en/content/policies/windowspolicies-newui.htm. I would recommend the control panel as you can have all your funky batch files in there that do basic things like netsh.exe, flushdns, maybe anything else you need sfc/scannow etc, worth testing. It's easy to setup and its convenient as you can make instructions for end users on the contents within the control panel, btw consider using regmon for policy creation too,
Another small tip is to give JIT rights then get the users to run the commands they need like flushdns and then create a policy from the policy audit once they've run them, search JIT or the device in question to see it's recently policy usage it will capture it under policy audit JIT for the specific computer, This way you are re-acting to the policy they just ran elevated and EPM has captured it for you rather than creating a policy and hoping EPM will understand it, Hope that helps. Not specifically done the one you mentioned and I'm at my last day here so hopefully Cyberark can move my account to my personal account lol.
I think also there's a difference between creating policy in Windows Settings and Control panel, seems my colleagues have improved the policy by using regmon. as i was literally capturing end user elevations by giving JIT rights.
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!

