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

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

125
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:01 PM


Objective


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



Environment


EPM Windows Agent

Procedure


  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.

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

 

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


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001C2MCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail