Skip to content

Instantly share code, notes, and snippets.

@f9n
Created April 13, 2020 19:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f9n/0a22f69e96513e3c45cac96d6dde9070 to your computer and use it in GitHub Desktop.
Save f9n/0a22f69e96513e3c45cac96d6dde9070 to your computer and use it in GitHub Desktop.
Uninstall Trend Micro Security script
#!/bin/sh
# Credits:
# https://www.jamf.com/jamf-nation/discussions/28033/uninstall-trend-micro-security-script
# Copyright: EVRY
# Filename: UninstallTrend.sh
# Requires: -
# Purpose: Removes Trend Micro Security
# Contact: Anders Holmdahl <anders.holmdahl@evry.com>
# Mod history: 2018-01-31
launchctl unload /Library/LaunchDaemons/com.trendmicro.icore.av.plist
rm /Library/LaunchDaemons/com.trendmicro.*
rm -r "/Library/Application Support/TrendMicro"
rm -r /Library/Frameworks/TMAppCommon.framework
rm -r /Library/Frameworks/TMAppCore.framework
rm -r /Library/Frameworks/TMGUIUtil.framework
rm -r /Library/Frameworks/iCoreClient.framework
rm -r /Applications/TrendMicroSecurity.app
killall -kill TmLoginMgr
killall -kill UIMgmt
exit 0
@mani2care
Copy link

its not working you need to update the script

Password:
/Library/LaunchDaemons/com.trendmicro.icore.av.plist: No such file or directory
Unload failed: 2: No such file or directory
rm: /Library/LaunchDaemons/com.trendmicro.icore.cloudone.plist: Operation not permitted
rm: /Library/LaunchDaemons/com.trendmicro.icore.cloudone.update.plist: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/_CodeSignature/CodeResources: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/_CodeSignature: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/MacOS/KERedirect: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/MacOS: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/Resources/English.lproj/InfoPlist.strings: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/Resources/English.lproj: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/Resources: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents/Info.plist: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext/Contents: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10/KERedirect.kext: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.10: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.12/KERedirect.kext/Contents/CodeResources: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.12/KERedirect.kext/Contents/_CodeSignature/CodeResources: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.12/KERedirect.kext/Contents/_CodeSignature: Operation not permitted
rm: /Library/Application Support/TrendMicro/kext/KERedirect/10.12/KERedirect.kext/Contents/MacOS/KERedirect: Operation not permitted

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