Skip to content

Instantly share code, notes, and snippets.

@thoroc
Created October 9, 2024 18:32
Show Gist options
  • Save thoroc/a42ed6025f1e11ff952b45e2bbc31d1b to your computer and use it in GitHub Desktop.
Save thoroc/a42ed6025f1e11ff952b45e2bbc31d1b to your computer and use it in GitHub Desktop.
Removel sophos AV from MacOS

Remove sophos keychain

sudo rm /Library/"Sophos Anti-Virus"/SophosSecure.keychain

Disable sophos

sudo defaults write /Library/Preferences/com.sophos.sav TamperProtectionEnabled -bool false

Remove the app

sudo mv com.sophos.sav.plist com.sophos.sav.plist.old
cd /Library/Application\ Support/Sophos/cloud/Installer.app/Contents/MacOS/tools/
cd /Library/Application\ Support/Sophos/saas/Installer.app/Contents/MacOS/tools
sudo rm -R /Library/Sophos\ Anti-Virus/
sudo rm -R /Library/Preferences/com.sophos.*
sudo ./InstallationDeployer --remove

docs:

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