cancel
Showing results for 
Search instead for 
Did you mean: 

Command line tool to uninstall McAfee products?

Hi,

 

we have the following McAfee products installed on our machines:

McAfee Agent

McAfee Endpoint Security Threat Prevention

McAfee Endpoint Security  Adaptive Threat Prevention 

McAfee Security-Platform

 

With "frminst /remove=agent" I am able to uninstall the agent, but how would I uninstall the other remaining products?

Thanks.

 

regards, toddehb 

6 Replies
McAfee Employee AdithyanT
McAfee Employee
Report Inappropriate Content
Message 2 of 7

Re: Command line tool to uninstall McAfee products?

Hi @toddehb 

Thank you for your post. Here are the list of options I can think of to handle uninstallation of ENS and its components.

  1. You can use the EPR tool  by downloading it from the product downloads site using your Grant#. It is found under utilities and connectors(This can be run via command prompt as well with specific parameters for specific product removals). More info on obtaining the tool can be found here. Information on it's usage can be found here.

  2. When uninstalling via command prompt, we can extract the uninstall string that should be available under the registry path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

    Please perform a search for the below terms:

    1. McAfee Endpoint Security Firewall
    2. McAfee Endpoint Security Adaptive Threat Protection
    3. McAfee Endpoint Security Web Control
    4. McAfee Endpoint Security Threat Prevention
    5. McAfee Endpoint Security Platform

    The "Uninstall String" value should give you the right commands for uninstallation.

  3. If the version of ENS is checked into the repository (if not present, you can always check that in using Software manager/catalog) and deploy an uninstall task from the ePO. This is exactly the same as doing a deployment task of ENS, however in the action drop down box of the task where it would say "install" you would select "remove" as the option. 

I sincerely hope the above options are useful in uninstalling ENS for you. please let us know if this works for you!

Was my reply helpful?
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Thanks and regards,
Adithyan T
McAfee Employee chealey
McAfee Employee
Report Inappropriate Content
Message 3 of 7

Re: Command line tool to uninstall McAfee products?

@toddehb please do not use the EPR tool if it's not needed. It is only meant to be used as a last resort if the uninstallation via cmd does not work.

As my colleague mentioned, you can find the uninstall strings for each product under: 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

And/ Or:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432\Network Associates\ePolicy Orchestrator\Application Plugins

Was my reply helpful?
If this information was helpful in any way, or answered your question, will you please select "Accept as Solution" in my reply, or give kudos as appropriate, so together we can help other members?

Re: Command line tool to uninstall McAfee products?

Hi,

 

is the uninstall string unique to a PC resp. to that specific version of McAfee product?

 

Regards, toddehb

McAfee Employee AdithyanT
McAfee Employee
Report Inappropriate Content
Message 5 of 7

Re: Command line tool to uninstall McAfee products?

Hi @toddehb 

Answer: Uninstall Strings are always specific to Product version.

Sincerely hope this helps!

Was my reply helpful?
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Thanks and regards,
Adithyan T

Re: Command line tool to uninstall McAfee products?

so meaning if one computer has version 10.6.1.1449 and the other has 10.6.1.1667 they have different uninstall strings? That would be very uncomfortable to uninstall

McAfee Employee AdithyanT
McAfee Employee
Report Inappropriate Content
Message 7 of 7

Re: Command line tool to uninstall McAfee products?

Hi @toddehb 

Yes, you are correct. That is why I suggested removal task from ePO as another option. Also, @chealey  rightly mentioned, EPR tool as the last resort if all of the above fails!

However, in a regularly upgraded environment, we do not expect to see more than 3 different GUIDs for each component, resulting in 3 different sets of uninstall string for each version.

Why #3?

This is the number of Branches supported by ePO which can store 3 different versions at any given time for each product version. Hence collecting all these 3 different GUIDs for each component should help you frame an uninstall batch script if that is what you are looking for.

I sincerely hope this helps!

Was my reply helpful?
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Thanks and regards,
Adithyan T
More McAfee Tools to Help You
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community