I have a Mac that had Endpoint on it and in the last couple months has had issues with the Mac so they tried to remove Sophos to do a fresh install.
Unable to remove using Sophos Endpoint uninstalled, it keeps failing.
Unable to reinstall Sophos Endpoint, it says already exist
Tried using Sophos Diagnostic Utility, fails on last section Failure to generate username.tt file, unable to continue and send package to Sophos
Need recommendation please as to what can be done?
Thanks in advance
Thanks for reaching out.
Try using the following commands from a Terminal Command Prompt. If you do not yet have the Root account enabled, I suggest using the steps in the following Apple Article.
sudo rm -r /Library/Sophos\ Anti-Virus
sudo rm -r /Library/LaunchDaemons/com.sophos.*
sudo rm -r /Library/LaunchAgents/com.sophos.*
sudo rm -r /Library/Preferences/com.sophos.*
sudo rm -r /Library/Logs/Sophos\ Anti-Virus.log
sudo rm -r /Library/Application\ Support/Sophos*
sudo rm -r /Library/Frameworks/SAVI-pyexec.framework
sudo rm -r /Library/Frameworks/SAVI.framework
sudo rm -r /Library/Frameworks/SophosGenericsCommon.framework
sudo rm -r /Library/Frameworks/SophosGenericsCore.framework
sudo rm -r /var/db/receipts/com.sophos.*
sudo rm -r /Library/SophosCBR
sudo rm -r /Library/Logs/Sophos*
sudo rm -r /Library/Preferences/com.sophos*
sudo rm -r /Library/Caches/com.sophos*
sudo rm -r /Applications/Sophos/Sophos\ Endpoint.app
sudo rm -r /Applications/Sophos/Sophos\ Endpoint\ Self\ Help.app
sudo rm -r /Applications/Sophos/Remove\ Sophos\ Endpoint.app
sudo rm -r /Applications/Sophos/Sophos\ Network\ Extension.app
sudo rm -r /Applications/Sophos/Sophos\ Scan.app
sudo rm -r /Applications/Sophos
sudo rm -r /Library/Extensions/Sophos*
Once completed, I suggest trying to install Sophos once again. Let me know if this works for you.
Thanks! Unfortunately, that didn't work in Terminal and did not find referenced folder in Cache. When I try to instal again, it says already exist but there is no App or files.. not sure how to resolve, any other suggestions?
Hi Sophos User6505,
Are you still experiencing this issue? If the machine is running MacOS 12.1 or higher, you may also try these steps:
1. Open Terminal and run the command sudo /usr/bin/dscl . -delete /Users/_Sophos2. Re-perform the Terminal uninstall command for your product.3. If you do not receive a prompt saying "Terminal would like to....", continue with these steps4. In Terminal run the command: cp /usr/bin/dscl ~/5. sudo ~/dscl . -delete /Users/_Sophos6. Re-perform the Terminal uninstall command for your product.
Let us know if this helps. Thank you.