Posted on 11-01-2022 08:04 AM
Hi, I am looking for a script to do a silent forced removal of Sophos SafeGuard, so far I have not been able to work this out so has anyone else done this and can share some ideas ? I appreciate your time.
Thanks
Posted on 11-08-2022 08:06 AM
We use Sophos but not SafeGuard. I'm curious have you tried taking the pkg file from the /Library/Sophos SafeGuard FS directory and uploading that pkg file to Jamf and deploying it through a policy via self-service so that way you can at least test it out? I would get a test machine of course. Or at least tell me what ways you have attempted. It does seems like a pretty easy uninstall from Sophos end:
If you need to uninstall the software from a client computer, proceed as follows:
Maybe something like this and I have no idea if it will work...I typically use everyone else's script(s) and learn from them.
#!/bin/bash
#Script to Uninstall Sophos SafeGuard
cd /Library/Sophos\ SafeGuard\ FS
sudo installer -pkg Sophos\ SafeGuard\ FS\ Uninstaller.pkg -target /
exit 0
You can always drag pkg to terminal to get the correct path.