Skip to content

Instantly share code, notes, and snippets.

@tegansnyder
Last active September 2, 2026 18:39
Show Gist options
  • Select an option

  • Save tegansnyder/f8d4f3f283e1df26cf86 to your computer and use it in GitHub Desktop.

Select an option

Save tegansnyder/f8d4f3f283e1df26cf86 to your computer and use it in GitHub Desktop.
Disable McAffee Endpoint Protection OSX

method 1

sudo /usr/local/McAfee/AntiMalware/VSControl stopoas

alternatively

sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist OAS_Enable -bool False
sudo /usr/local/McAfee/AntiMalware/VSControl stop
sudo /usr/local/McAfee/AntiMalware/VSControl reload

Or completely uninstall:

sudo -s
cd /usr/local/McAfee/
./uninstall EPM
@bulla101-cymk

Copy link
Copy Markdown

Few more tricks. I had to run each of them twice.

To disable Firewall

sudo /usr/local/McAfee/StatefulFirewall/bin/StatefullFirewallControl stop

To disable WebProtection

sudo /usr/local/McAfee/WebProtection/bin/WPControl stop

Is there a way to turn these back on? Previously a restart would enable everything again, but no longer with OS Sonoma.

@vogonsbegone

Copy link
Copy Markdown

hard to believe that this is still an issue, over 10 years later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment