![]() ![]() Library/Application Support/Sophos/saas/Installer.app/Contents/MacOS/tools/InstallationDeployer -remove This script below will disable tamper protection and forcibly remove Sophos from a Mac, getting it in a state ready to reinstall:ĭefaults write /Library/Preferences/ TamperProtectionEnabled -int 0 ![]() I didn't think Sophos forums would post this, but seeing as it's now public knowledge (I had to direct message someone at Sophos to get this) here is the method for disabling tamper protection before uninstalling Sophos ![]() In my experience with Sophos you won't have any luck running an installer over the top of a Mac with Sophos already installed. If you're reinstalling you'll want to uninstall first. Any new computers that I image and then deploy have never had Sophos installed on them, so the silent install via script will install Sophos and then enroll them in Sophos Cloud and updates will continue. Fortunately, for me, it's a relatively small number of computers that are exhibiting this problem in my environment, so I can pull them in and manually install Sophos using the GUI installer. I have no idea why the GUI installer would work but the silent install would not give me the expected and desired results. If I run the GUI installer on a computer where Sophos was previously installed, it installs correctly and gets the AutoUpdate settings. I've tried this on computers where I have used the Sophos Uninstaller to remove the software and then run the script to install it again, and I get this problem. Seems that this error where Sophos installs but then doesn't get the AutoUpdate configuration settings only applies to computers where Sophos was previous installed. I'm a small bit closer to figuring this out. Hopefully this helps someone with managing this horrific product! Open up Chrome and when you click on the "Download macOS Installer" link make sure you "inspect" the page and go to the Network tab. You can work out your unique Sophos download link from within Sophos Central Admin. pkg and would rather just have a script that can be run from Jamf Pro, this worked for me: #!/bin/bashĬhmod a+x /private/var/tmp/sophos/Sophos Installer.app/Contents/MacOS/Sophos InstallerĬhmod a+x /private/var/tmp/sophos/Sophos Installer.app/Contents/MacOS/tools/ If anyone doesn't want to be bound to creating a. Thanks for this! Really helpful when updating my Sophos workflows! It works as a normal pkg for Casper or ARD. Sudo /private/var/tmp/sophos/Sophos Installer.app/Contents/MacOS/Sophos Installer -install
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |