EPM - Troubleshoot "Request Administrative Privileges" End user Just in time request delays reaching inbox in console
104
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:52 PM
Question
How can I troubleshoot why "Request Administrative Privileges" from the Idira EPM Control Panel on the desktop take a long time to arrive in the Events Management Inbox?
Environment
23.8 EPM Other (Technical)
Answer
The following information is based on EPM agent version 23.8.0.1410 and EPM Console version 23.8.0.3579
The "Request Administrative Privileges" button in "Idira EPM Control Panel" appears when you check this box in the console: EPM > Default Policies > Detect privileged unhandled applications > Allow End Users to create elevation requests
When an end user clicks "Request Administrative Privileges" and submits it, the following entry will appear in the vf_agent_srv.trace logs (Please note other actions can cause this as well):
CvfProcDefender::ProtectFA: INFO: ProctectFA done
When the endpoint uploads the request, the following event will appear (please note other actions like default policy usage will also show this event):
CvfAnswerRtEvents::SendData: INFO: Sending 1 run-time events of type ZeroTouchEvent
The upload rate is controlled by this console setting: EPM > Advanced > Agent Configuration > Event Queue flush period
The default setting for "Event Queue flush period" is 30 minutes
That setting can be confirmed in a SupportInfo's vf_policies.xml file by searching for <PrivLackFlushIntervalSec>
Sometimes the EPM agent may immediately upload an event. Sometimes it may take the full duration of whatever the "Event Queue flush period" period is
If the end user has used "Request Administrative Privileges" tp submit multiple requests before the endpoint has actually upload any of them, when they do get uploaded it will show only as count 1 when you see this event: "Sending 1 run-time events of type ZeroTouchEvent". And in the Events Management Inbox you will only see one event. But each of the end users Justification comments will show as combined in the single event.
To decrease the delay in seeing the event you can either turn on Demo Mode by running command
"C:\Program Files\CyberArk\Endpoint Privilege Manager\agent\vf_agent.exe" -DemoMode
...or you can lower the "Event Queue flush period"
Note: DemoMode should only be used temporarily on one computer.
Note: Changing "Event Queue flush period" to a very low number is also not advised because it will create a lot of traffic from endpoints. Any process start that uses the default policy also shares this setting.