Cannot execute vf_agent.exe -StopServ as local administrator or any user

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Cannot execute vf_agent.exe -StopServ as local administrator or any user

L3 Networker

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!

7 REPLIES 7

L4 Transporter

@Todd Telle​ - did you get anything for offline scenario?

 

Thanks,

Sushant

L3 Networker

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?

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!

 

Not yet for this issue- I have opened a case and will share the resolution once we have it 😃

L3 Networker

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.

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 =(

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.

  • 1039 Views
  • 7 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!