Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jarnesjo/42d008e818f975c1c48f258dc81bb9fc to your computer and use it in GitHub Desktop.
Save jarnesjo/42d008e818f975c1c48f258dc81bb9fc to your computer and use it in GitHub Desktop.
  1. Open terminal
  2. nano kill_sophos
  3. Copy text below, right-click on terminal window and select 'Paste':
#!/bin/bash
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.*
  1. CTRL + O, Enter, CTRL + X
  2. sudo chmod +x kill_sophos
  3. Enter local mac password
  4. run script by entering ./kill_sophos in terminal
  5. enter password and watch everything die
  6. Open Finder and go to 'Applications'
  7. click Remove Sophos Endpoint

It will now let you remove Sophos Endpoint without the tamper protection password

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