⚠️ THIS ARTICLE IS INTENDED FOR ADVANCED USERS ONLY - PLEASE CONTACT SOPHOS HOME SUPPORT IF YOU ARE A PREMIUM USER AND NEED ASSISTANCE. THE UNINSTALLATION SCRIPT INCLUDED IN THE ARTICLE IS ONLY INTENDED TO BE USED ON SOPHOS HOME, IT WILL NOT PROPERLY REMOVE AND SHOULD NOT BE USED ON SOPHOS BUSINESS PRODUCTS. |
Applies to: Sophos Home for macOS
What's happening
You encounter the following issues with Sophos Home:
- You receive installation failed errors.
- You receive uninstallation failed errors.
- Sophos Home does not uninstall after running the uninstaller.
- You have already tried these are articles, but the issue is not solved:
Why did this happen?
The most common scenarios that trigger these problems are:
- Corrupted installations
- Installations blocked by third-party applications (i.e another antivirus)
- Interrupted installations (network issues, power outages, user cancellation)
- Leftovers from previous installations
- Moving the program to the Trash instead of using the official uninstaller
- Manually deleting Sophos Home related entries
- Interrupted uninstallation process
- Migrating Sophos Home to new devices instead of installing it using the official methods
What to do
Use the 'SophosRemoval.sh' script for Mac to target and remove Sophos
Home related
entries from your system. This script must be executed as Administrator.
We strongly recommend that these steps should be performed by advanced
users.
Download and run the SophosRemoval.sh script
- Download 'SophosRemoval.sh' by clicking here
- If prompted, hit Allow to let the browser download the file
- Move the SophosRemoval.sh script to the Desktop
- Open the Terminal (Spotlight Terminal)
-
Type the following commands (hitting "Tab" will complete typing a
file
name
or location).
Note: Commands are case sensitive. Type them exactly as shown.
cd ~/Desktop/
(Hit Enter. This should take you to the location where you saved the file) -
Next Command:
sudo chmod u+x SophosRemoval.sh
(Hit Enter. This allows the script to become executable) -
Finally, type this command to start the uninstallation process
sudo ./SophosRemoval.sh
(Hit Enter - You will be asked to enter your computer password (not your Sophos password!),
The Terminal will not show characters as you type (not even stars), so it will look like you aren't typing) - Follow the steps to run the script (hit y when asked)
- Once the script has finished, remove the device from your Sophos Home Dashboard
- Delete the script. Download a new version if needed it in the future. Avoid using outdated versions!
-
Restart your Mac and re-install Sophos Home following
the official procedure
If you see:"zsh: operation not permitted"
give "Terminal" Full Disk Access:
Go to System Preferences -Security & Privacy -Full Disk Access
If the issue persists, run this command:
xattr -d com.apple.quarantine ./SophosRemoval.sh
Re-try running the script.
Video Steps