Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

McAfee Endpoint Security is an anti-virus / malware protection utility and a tool that can significantly slow down your Mac. It's typically deployed in a corporate setting which makes it impossible for you as the user to disable it temporarily. At times however, I find myself needing to disable it (temporarily) - for example when doing large deployments/builds that compile vast amounts of code. In this case I think it's quite justified to have endpoint security disabled because it's not adding anything and is simply slowing down a build.

Luckily, since Macs are Unix based, the average user has a lot more control than on a Windows computer. So here's how to remove Endpoint Security...first you need to open the Terminal app and run the following command...
sudo /usr/local/McAfee/uninstall EPM

The above will ask you to enter your password and if everything is successful, the following output is produced...
Firewall uninstalled successfully
ThreatPrevention uninstalled successfully
WebControl uninstalled successfully
Product has been uninstalled successfully

That's not quite the end though. The agent services also require uninstallation. For this, there is a separate script and command to run...
sudo /Library/McAfee/cma/scripts/uninstall.sh

The following output should be produced...
Stopping agent service
McAfee compat service is already running.
Stopping McAfee compat services... [OK]
McAfee agent service is already running.
Stopping McAfee Agent services... [OK]
McAfee common service is already running.
Stopping McAfee common services... [OK]
Removing agent configuration information
Deleting user (mfe) & group (mfe)
Agent uninstalled

...and finally unload the launch agents...
launchctl unload -F /Library/LaunchAgents/com.mcafee.*

This completely removes Endpoint Security. As a word of caution - I do not recommend doing this as a permanent solution, especially if your corporate policy requires this software to be installed. However, as I said at the start of this article - removing it temporarily to get through intensive tasks is ok in my view (just remember to reinstall it!)


A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.