Knowledge Center

McAfee Agent uninstall fails when tried through Windows or the command line
Technical Articles ID:   KB60556
Last Modified:  1/11/2018


McAfee Agent 5.x, 4.8


The following error displays when you try to uninstall MA from the Windows Programs and Features Control Panel, or from the command line:
McAfee Agent cannot be removed because other products are still using it
NOTE: This issue can occur when no other McAfee products are installed on the client computer.


This error occurs when MA is in Managed Mode, meaning it is being managed by an ePolicy Orchestrator (ePO) server.

This behavior is by design, to prevent end users from removing the agent.


Remove the computer from Managed Mode, and remove any dependent managed products before trying to uninstall:
  1. Locate the frminst file on the client computer.

    This file is located in one of the following directories:
    • For a fresh MA 5.x install:
      C:\Program Files\Mcafee\Agent\
    • For McAfee Agent 4.8, or an upgraded MA version:
      C:\Program Files\Mcafee\Common Framework\x86\
      C:\Program Files (x86)\Mcafee\Common Framework\x86\

      NOTE: MA 4.8 will reach End of Life (EOL) for Windows, Mac, and Linux computers on March 31, 2018. For more information, see KB88098.
  2. While logged on as an Administrator:
    1. Press Windows + R.
    2. Type cmd.
    3. Click OK.
  3. Run the following command:
    <location of frminst file>\frminst.exe /remove=agent
  4. Close the command line.
  5. Remove any McAfee managed products such as VirusScan Enterprise or Endpoint Encryption from the client computer.
  6. Optional: Remove the McAfee Framework Service from the client computer through Programs and Features.
You can now uninstall MA through Windows Programs and Features or from the command line.


The content of this article originated in English. If there are differences between the English content and its translation, the English content is always the most accurate. Some of this content has been provided using Machine Translation translated by Microsoft.

Rate this document

Did this article resolve your issue?

Please provide any comments below

Beta Translate with

Select a desired language below to translate this page.

Glossary of Technical Terms

 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.