How do I fix one specific endpoint that will not update its policies automatically ?

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

How do I fix one specific endpoint that will not update its policies automatically ?

L1 Bithead

One specific endpoint will never update its policies. I can uninstall and reinstall the agent and everything will be current but this is the only method so far that I can get policies applied. 

1 accepted solution

Accepted Solutions

1.  EPM Support Info log contents

When adding a Code Sample, please choose the 'Normal (DIV)' formatting, to avoid text glitch over the page borders

  • The purpose of this article is to describe some of the contents of a Support Info zip file generated on a Windows computer

Step-by-step instructions

When adding a Code Sample, please choose the 'Normal (DIV)' formatting, to avoid text glitch over the page borders

This describes some of the contents of a SupportInfo zip file:

1.    \Trace\dumpProcMap.txt

o   Shows info about the processes currently running at the time the SupportInfo was captured. Contains good information like what is the process ID, policy used, etc.

2.    \Trace\Filter_Drivers.xml

Contains information about filter drivers loaded, similar output to running microsoft command fltmc. This can be used to identify other security products that might be interfering with EPM

3.    \Trace\Inventory.trace

Contains information about the machine hardware's such as manufacturer, model, serial number.

Contains information about local users and groups.

Shows installed applications similar to what you'd see in the "Programs and Features" in the control panel.

4.    \Trace\Sysinfo.trace

Contains EPM agent version information

Contains information that EPM agent uses to communicate with the SaaS server (ex: Dispatcher URL, setID, and agent ID)

Contains operating system build info, hardware info like memory, ip address, computer name, etc

Contains time zone information, useful for matching up Application and System event log entries with other log entries in the SupportInfo

Contains information about Windows Services

Contains filter driver information

5.    \Trace\pas\pasagentlog.txt

Can be used to gather information about LCD issues

6.    \Trace\VFUpgrade.log

The msiinstaller log file from the most recent upgrade attempt

7.    \Trace\vf_agent.trace

A log recording when the CyberArk EPM service (vf_agent) starts up.

Can be searched for version or agentID to show if the agentID changed or the version was upgraded

After the service starts, logging is transferred to vf_agent_srv.trace

8.    \Trace\vf_agent_srv.trace

Records a lot of information which depends on the logging level. This is how you set the logging level:

      • EPM console > Advanced > Agent Configuration > "Policies" section > "Policy Usage in Agent Trace"

Older versions of this log are kept, and can be opened with notepad

vf_agent_srv.trace search terms:

 

 

keyword

what it can show you

*****

Find when the EPM agent service starts up. This should show you useful information like version, agentID, etc. Note: may have been removed in later versions

setpol

See when the EPM agent checks or applies policies.

changeid

When the agent gets a new vf_policies.xml file.

procstart

if Policy Usage in Agent Trace is set to Trace All, will show policy name, policy action, PID, and parentPID, and more

Senddata

Shows when the endpoint tries to upload events to the EPM server. This is useful for troubleshooting a delay in receiving an event in the console. Note the log will show different kind of events

rlua

Logging regarding "Remove Local Administrators" policy

RequestPoliciesUpdate2

a request for a policy update. Look a few lines up. If you see VF_POLICIES_CHANGED=95 then that means it was an automatic policies update

CvfRegistrator

Shows the agent trying to register with the SaaS console.

Example of success:

CvfRegistrator::Register: AAUTH: Registration succeeded

ahue

entries related to just in time policies

CvfProcDefender::ProtectFA

The end user uses the CyberArk control panel "Request Administrative Privileges"

rescanning ad groups

Agent activity related to policies that use AD Computer Group Targeting

CvfADGroupMembershipCache

Agent activity related to policies that use AD Computer Group Targeting

 

 

View solution in original post

11 REPLIES 11

L5 Sessionator

Are you using AAD groups to apply the policies ?

L4 Transporter

Are you using AAD groups to apply the policies ?

L1 Bithead

I use the Cyberark EPM admin utility to read our AD and add the users to the policies. I have no other issues with any of my policies or users except this specific user. He is one of two users added to this policy - the other user has no issues. What would I look for in the logs that might help clue me in as to why a uninstall / reinstall of the agent and config is the only way to keep him updated with current policies ?

I've had an issue with slow policy applying as we link our high risk processes to an AAD group but does apply after about 16 hours or so with 24.12 - no issues with direct policies being applied via EPM console , if you're on that could be linked to this and I heard it may happens on 24.8- https://community.cyberark.com/s/article/EPM-Policy-Best-Practices-Refresh-AD-computer-groups-cache try a vf_agent -refresh cache also apply the same command for AAD using the link? In terms of logs I've watched and cut and paste the good bits as well as putting together a document - https://cyberark.wistia.com/medias/k572ak2e6k about logs for windows - maybe check cpu usage for EPM in task manager, but an update of the agent may help def worth watching the video and taking notes - Reactively Troubleshoot Policy Outcome 

 

I've had an issue with slow policy applying as we link our high risk processes to an AAD group but does apply after about 16 hours or so with 24.12 - no issues with direct policies being applied via EPM console , if you're on that could be linked to this and I heard it may happens on 24.8- https://community.cyberark.com/s/article/EPM-Policy-Best-Practices-Refresh-AD-computer-groups-cache try a vf_agent -refresh cache also apply the same command for AAD using the link? In terms of logs I've watched and cut and paste the good bits as well as putting together a document - https://cyberark.wistia.com/medias/k572ak2e6k about logs for windows - maybe check cpu usage for EPM in task manager, but an update of the agent may help def worth watching the video and taking notes - Reactively Troubleshoot Policy Outcome 

 

1.  EPM Support Info log contents

When adding a Code Sample, please choose the 'Normal (DIV)' formatting, to avoid text glitch over the page borders

  • The purpose of this article is to describe some of the contents of a Support Info zip file generated on a Windows computer

Step-by-step instructions

When adding a Code Sample, please choose the 'Normal (DIV)' formatting, to avoid text glitch over the page borders

This describes some of the contents of a SupportInfo zip file:

1.    \Trace\dumpProcMap.txt

o   Shows info about the processes currently running at the time the SupportInfo was captured. Contains good information like what is the process ID, policy used, etc.

2.    \Trace\Filter_Drivers.xml

Contains information about filter drivers loaded, similar output to running microsoft command fltmc. This can be used to identify other security products that might be interfering with EPM

3.    \Trace\Inventory.trace

Contains information about the machine hardware's such as manufacturer, model, serial number.

Contains information about local users and groups.

Shows installed applications similar to what you'd see in the "Programs and Features" in the control panel.

4.    \Trace\Sysinfo.trace

Contains EPM agent version information

Contains information that EPM agent uses to communicate with the SaaS server (ex: Dispatcher URL, setID, and agent ID)

Contains operating system build info, hardware info like memory, ip address, computer name, etc

Contains time zone information, useful for matching up Application and System event log entries with other log entries in the SupportInfo

Contains information about Windows Services

Contains filter driver information

5.    \Trace\pas\pasagentlog.txt

Can be used to gather information about LCD issues

6.    \Trace\VFUpgrade.log

The msiinstaller log file from the most recent upgrade attempt

7.    \Trace\vf_agent.trace

A log recording when the CyberArk EPM service (vf_agent) starts up.

Can be searched for version or agentID to show if the agentID changed or the version was upgraded

After the service starts, logging is transferred to vf_agent_srv.trace

8.    \Trace\vf_agent_srv.trace

Records a lot of information which depends on the logging level. This is how you set the logging level:

      • EPM console > Advanced > Agent Configuration > "Policies" section > "Policy Usage in Agent Trace"

Older versions of this log are kept, and can be opened with notepad

vf_agent_srv.trace search terms:

 

 

keyword

what it can show you

*****

Find when the EPM agent service starts up. This should show you useful information like version, agentID, etc. Note: may have been removed in later versions

setpol

See when the EPM agent checks or applies policies.

changeid

When the agent gets a new vf_policies.xml file.

procstart

if Policy Usage in Agent Trace is set to Trace All, will show policy name, policy action, PID, and parentPID, and more

Senddata

Shows when the endpoint tries to upload events to the EPM server. This is useful for troubleshooting a delay in receiving an event in the console. Note the log will show different kind of events

rlua

Logging regarding "Remove Local Administrators" policy

RequestPoliciesUpdate2

a request for a policy update. Look a few lines up. If you see VF_POLICIES_CHANGED=95 then that means it was an automatic policies update

CvfRegistrator

Shows the agent trying to register with the SaaS console.

Example of success:

CvfRegistrator::Register: AAUTH: Registration succeeded

ahue

entries related to just in time policies

CvfProcDefender::ProtectFA

The end user uses the CyberArk control panel "Request Administrative Privileges"

rescanning ad groups

Agent activity related to policies that use AD Computer Group Targeting

CvfADGroupMembershipCache

Agent activity related to policies that use AD Computer Group Targeting

 

 

1.  EPM Support Info log contents

When adding a Code Sample, please choose the 'Normal (DIV)' formatting, to avoid text glitch over the page borders

  • The purpose of this article is to describe some of the contents of a Support Info zip file generated on a Windows computer

Step-by-step instructions

When adding a Code Sample, please choose the 'Normal (DIV)' formatting, to avoid text glitch over the page borders

This describes some of the contents of a SupportInfo zip file:

1.    \Trace\dumpProcMap.txt

o   Shows info about the processes currently running at the time the SupportInfo was captured. Contains good information like what is the process ID, policy used, etc.

2.    \Trace\Filter_Drivers.xml

Contains information about filter drivers loaded, similar output to running microsoft command fltmc. This can be used to identify other security products that might be interfering with EPM

3.    \Trace\Inventory.trace

Contains information about the machine hardware's such as manufacturer, model, serial number.

Contains information about local users and groups.

Shows installed applications similar to what you'd see in the "Programs and Features" in the control panel.

4.    \Trace\Sysinfo.trace

Contains EPM agent version information

Contains information that EPM agent uses to communicate with the SaaS server (ex: Dispatcher URL, setID, and agent ID)

Contains operating system build info, hardware info like memory, ip address, computer name, etc

Contains time zone information, useful for matching up Application and System event log entries with other log entries in the SupportInfo

Contains information about Windows Services

Contains filter driver information

5.    \Trace\pas\pasagentlog.txt

Can be used to gather information about LCD issues

6.    \Trace\VFUpgrade.log

The msiinstaller log file from the most recent upgrade attempt

7.    \Trace\vf_agent.trace

A log recording when the CyberArk EPM service (vf_agent) starts up.

Can be searched for version or agentID to show if the agentID changed or the version was upgraded

After the service starts, logging is transferred to vf_agent_srv.trace

8.    \Trace\vf_agent_srv.trace

Records a lot of information which depends on the logging level. This is how you set the logging level:

      • EPM console > Advanced > Agent Configuration > "Policies" section > "Policy Usage in Agent Trace"

Older versions of this log are kept, and can be opened with notepad

vf_agent_srv.trace search terms:

 

 

keyword

what it can show you

*****

Find when the EPM agent service starts up. This should show you useful information like version, agentID, etc. Note: may have been removed in later versions

setpol

See when the EPM agent checks or applies policies.

changeid

When the agent gets a new vf_policies.xml file.

procstart

if Policy Usage in Agent Trace is set to Trace All, will show policy name, policy action, PID, and parentPID, and more

Senddata

Shows when the endpoint tries to upload events to the EPM server. This is useful for troubleshooting a delay in receiving an event in the console. Note the log will show different kind of events

rlua

Logging regarding "Remove Local Administrators" policy

RequestPoliciesUpdate2

a request for a policy update. Look a few lines up. If you see VF_POLICIES_CHANGED=95 then that means it was an automatic policies update

CvfRegistrator

Shows the agent trying to register with the SaaS console.

Example of success:

CvfRegistrator::Register: AAUTH: Registration succeeded

ahue

entries related to just in time policies

CvfProcDefender::ProtectFA

The end user uses the CyberArk control panel "Request Administrative Privileges"

rescanning ad groups

Agent activity related to policies that use AD Computer Group Targeting

CvfADGroupMembershipCache

Agent activity related to policies that use AD Computer Group Targeting

 

 

L4 Transporter

Hi @Jeremy Jewell​ 

 

It seems that Trehman provided an answer to your question. Could you kindly let us know if this solution helped?

If so, please mark the answer as 'Select as Best' to assist other community members.

 

Thank you, Liad

L1 Bithead

Hello @Liad Domb​ 

 

Using the above info I was able to diagnose the machine down to 2 specific policies that will never apply remotely. I have to do the uninstall reinstall approach for them to show and after 1 week (every time) those 2 policies will drop off. As a test I had the user connect into the corporate office VPN to minimize hops and sync times across the entire WAN, added him to 2 test policies and within a few minutes his computer was showing the new policies his user account had been added to. I continued testing by adding him 2 more test policies and again within a few minutes his user account showed in the audit that the policies had applied. I attempted to recreate the 2 known policies that would not apply and have had zero luck in getting them to show up on the end users computer. Is there any command that will flush an end users computer of all policies so it has to pull or rebuild that list completely ?

 

L1 Bithead

To add to this I have recreated the two policies that were not applying correctly again from the events today and changed the name to completely something off the wall and neither will still apply to the users machine. Its one specific application that is causing only this user the problem.

L1 Bithead

I am going to close this out. Oddly the 2 policies that would never apply have shown up finally. This is after I recreated them again and renamed them something completely different.

  • 1 accepted solution
  • 232 Views
  • 11 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!