Knowledge Center

How to remove McAfee products using the command prompt
Technical Articles ID:   KB58231
Last Modified:  9/15/2017


McAfee Agent (MA) 5.x, 4.x
Multiple McAfee products


Sometimes you cannot remove McAfee products using Programs and Features or Apps & features (depending on your version of Windows) in the Windows Control Panel (for example, if you can only access a system remotely using a command prompt). You can create a script or batch file with an uninstall string to simplify the global removal process.
Locate the uninstall command in the Windows registry and use it to remove the product as follows:
  1. Press Windows+R, type regedit and click OK.
  2. Navigate to one of the following registry keys:

    HKEY_LOCAL_MACHINE/Software/Wow6432Node/McAfee/ePolicy Orchestrator/Application Plugins

    HKEY_LOCAL_MACHINE/Software/Wow6432Node/NetworkAssociates/ePolicy Orchestrator/Application Plugins

     The registry key will change if the McAfee Agent is installed before the point product is installed. McAfee products might be listed under both registry keys, but will have to be removed only once if the uninstall string is identical.
  3. Select the key for the product that you want to remove. For example, EPOAGENT3000.
  4. Right-click Uninstall Command and select Modify.
  5. Highlight all of the text in the Value data field, right-click, and select Copy. For example:

    EPOAGENT3000\Uninstall Command = "C:\Program Files\McAfee\Common Framework\FrmInst.exe" /Remove=Agent /Silent
  6. Click Cancel.
  7. Close the registry editor.
  8. Press Windows+R, type Run, paste the contents copied from step 5 into the Open field, and then click OK.
The product will now uninstall.

NOTE: You can use the Uninstall Command value in batch files to automate the software removal process.


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


This article is available in the following languages:

English United States

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.