-
Notifications
You must be signed in to change notification settings - Fork 0
/
McAfeeRemove.sh
26 lines (24 loc) · 1018 Bytes
/
McAfeeRemove.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
#/usr/local/McAfee/uninstall EPM
launchctl unload -w /Library/LaunchDaemons/com.mcafee.ssm.Eupdate.plist
launchctl unload -w /Library/LaunchDaemons/com.mcafee.ssm.ScanFactory.plist
launchctl unload -w /Library/LaunchDaemons/com.mcafee.ssm.ScanManager.plist
launchctl unload -w /Library/LaunchDaemons/com.mcafee.virusscan.fmpd.plist
launchctl unload -w /Library/LaunchAgents/com.mcafee.menulet.plist
launchctl unload -w /Library/LaunchAgents/com.mcafee.reporter.plist
rm -rf /Library/LaunchAgents/com.mcafee.*
rm -rf /Library/LaunchDaemons/com.mcafee.*
rm -rf /Applications/McAfee\ Endpoint\ Protection\ for\ Mac.app
rm -rf /Applications/McAfee\ Endpoint\ Security\ for\ Mac.app
rm -rf /usr/local/McAfee
rm -rf /Library/McAfee
rm -rf /Library/Application\ Support/McAfee
rm -rf /Library/.McAfee
rm -rf /var/McAfee
rm -rf /etc/McAfee*
rm -rf /var/db/receipts/com.mcafee.*
rm -rf /etc/cma.d
rm -rf /etc/cma.conf
rm -rf /etc/ma.d
rm -rf /Library/Preferences/com.mcafee.ssm.*
rm -rf /Library/StartupItems/cma