How to Remove Installed EPM Agents Without the MSI Installation File?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Endpoint Privilege Manager (EPM) Articles
1 min read
L0 Member
No ratings

If a client needs to remove old agents, they do not require the MSI file. The uninstall command can use the product key instead.  

 

The product key can be found in: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Steps

  1. Look for the key that includes "CyberArk" or "Viewfinity Agent" (the agent must be installed).
  2. Once you find the key, locate the UninstallString value.
  3. Copy the value from the registry. In the command line for Agent uninstallation, replace /I with /x. The /I parameter is used for installation, while the /x parameter is used for uninstallation.

ka3Vy0000055TGDIA2__eid=ka3Vy0000055TGD&feoid=00N2J000009R3kv&refid=0EMVy00000FCN8H.png

For example:

  • Original: MsiExec.exe /I{6649C273-E7F6-48A4-9002-20C692B36AFB}
  • Modified: MsiExec.exe /x{6649C273-E7F6-48A4-9002-20C692B36AFB}

Add /qn for a silent uninstall via SCCM. For example, the final command line will be: MsiExec.exe /x{6649C273-E7F6-48A4-9002-20C692B36AFB} /qn

ka3Vy0000055TGDIA2__eid=ka3Vy0000055TGD&feoid=00N2J000009R3kv&refid=0EMVy00000FC4Tr.png

 

Follow this link for EPM Agent Product Codes: https://community.cyberark.com/s/article/EPM-Agent-Product-Codes

 

Command Lines for Requested Versions (for example):

  • Version 11.5.6: MsiExec.exe /x{6E572D78-5295-4CA2-8815-3695DDFF47B3} /qn
  • Version 11.5.5: MsiExec.exe /x{F6593DD5-8039-418F-87C6-712375E55364} /qn
  • Version 11.5.3: MsiExec.exe /x{6649C273-E7F6-48A4-9002-20C692B36AFB} /qn
Rate this article: