- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-21-2023 06:26 AM
I'm trying to update our Windows device EPM agent from 22.10.0.972 to 23.3.0.1196.
I'm using SCCM with the following command which has worked in the past
msiexec /i "x.msi" SECURE_TOKEN="" INSTALLATIONKEY="" CONFIGURATION="" /qn
The configuration file has been obtained when downloading the latest .msi from the portal, aswell as the new installation key. I have created a secure token for all computers also.
I have managed to update a few test machines using this but the initial pathfinder deployment is failing. The error i'm seeing is execution of vf_agent -UseToken failed ret code 4294967295.
However if I take this same code, and run it on my machine in cmd, where the update did work, I get the response 'INFO: "Use Token" command succeeded.'
So seems the token is working on some devices and not others? I've checked that the token was generated for all computers and should not have expired. Also the computers in the pathfinder are in the select where i'm selecting generate for all.
Any help appreciated.
04-23-2023 12:42 AM
Hi @Craig Murphy,
Can you please follow our Secure Token Specific KB:
https://community.cyberark.com/s/article/How-to-Upgrade-the-EPM-Windows-Agent-after-the-Cumulative-Update-Preview-for-Windows-10-KB5023773-is-installed-and-the-Agent-service-is-down
Thanks,
Tamir
04-24-2023 01:15 AM
Thanks for the reply, we have not installed KB5023773 or later. All agents are running and reporting into the console.
Some devices are upgrading and some are not with error regarding secure token.
04-25-2023 03:51 AM
Hi @Craig Murphy,
Please note that KB5023773 is the preview release and KB5025221 is the general release (already rolled out).
If the following article didn't assisted, I suggest opening a support case so the team could examine the logs,
Thanks,
Tamir
09-14-2023 07:12 AM
I've had multiple prior successes remediating agents, similar to what @Craig Murphy describes. Now that we are on agent v23.8.0.1415 for the first time I'm now randomly experiencing the "UseToken failed ret code 4294967295" error using the 1415 GUID and All Computer token that works on other 1415 agents. I've even reattempted 4 times on the same 1415 machine (with reboots) and finally had it work. Reinstalled, and had a fail again on another uninstall on the same machine.
09-14-2023 07:19 AM
I had to manually update policies on machines before they would take the new token.
"C:\Program Files\CyberArk\Endpoint Privilege Manager\Agent\vf_agent.exe" -RequestPolicies
Then install
09-21-2023 01:37 AM
Hi @Craig Murphy,
Still relevant?
Tamir
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!

