- 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.
09-23-2020 07:51 PM
I am trying to validate the process to stop the agent processes by command line.
I have issued .\vf_agent.exe - UseToken <token> successfully then move onto .\vf_agent.exe -StopServ and receive the error "Only Local Admins can stop CyberArk EPM Agent Service". I am logged in as the local Administrator of the machine and it still does not work. We have self defence enabled, but we have to be able to disable the agent server if the device goes offline for a period of time and we need to stop the agent services for maintenance. How do we do this in an offline scenario? Thank you!
09-28-2020 10:58 AM
@Todd Telle - did you get anything for offline scenario?
Thanks,
Sushant
09-28-2020 12:21 PM
Have you tried to suspend policies by using this command vf_agent.exe –SuspendPolicies ? Also, were you running the commands above in an admin powershell? Were you in the correct directory to stop the service?
09-28-2020 04:06 PM
Hello- thank you for the response but we are trying to stop the services not suspend policies. I have opened a helpdesk ticket to get additional support. Thank you!
09-28-2020 04:06 PM
Not yet for this issue- I have opened a case and will share the resolution once we have it 😃
10-01-2020 04:36 PM
logged in as a local administrator, running powershell as admin worked in my test. This documentation(https://community.cyberark.com/s/article/00003740) suggested that you need to have the agent self defense disabled.
10-01-2020 05:34 PM
Thank you for the reply- the issue is we need a process on how to disable the agent when a device has lost network connectivity for a breakglass or emergency administration scenario where the agent cannot contact the admin server to have self defense disabled =(
10-02-2020 11:44 AM
You can use the OPAG tool for offline emergencies. Are you familiar with this tool? Not sure if it would apply in your use case.
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!

