Skip to content

Instantly share code, notes, and snippets.

@krohne
Created January 28, 2019 15:29
Show Gist options
  • Save krohne/1f1a12509742c0e0c4168092b5d5bb7e to your computer and use it in GitHub Desktop.
Save krohne/1f1a12509742c0e0c4168092b5d5bb7e to your computer and use it in GitHub Desktop.
Remove Sophos from Mac without tamper protection password
#!/bin/bash
# https://gist.github.com/lukebussey/70fe3b245c7b55fa41300670d2698e54#gistcomment-2636296
sudo rm -R /Library/Sophos\ Anti-Virus/
sudo rm -R /Library/Application\ Support/Sophos/
sudo rm -R /Library/Preferences/com.sophos.*
sudo rm /Library/LaunchDaemons/com.sophos.*
sudo rm /Library/LaunchAgents/com.sophos.*
sudo rm -R /Library/Extensions/Sophos*
sudo rm -R /Library/Caches/com.sophos.*
~/Applications/Remove\ Sophos\ Endpoint
@krohne
Copy link
Author

krohne commented Jan 28, 2019

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