Skip to main content
Solved

Uninstall SEP, install SCEP

  • February 28, 2018
  • 14 replies
  • 48 views

Forum|alt.badge.img+7
  • Valued Contributor
  • 57 replies

Hi all

We are going to upgrade our users from from ElCapitan to High Sierra. As part of this we will need to uninstall SEP, and then install SCEP, preferably using a single policy/script.

I am new to this so and advice/suggestions would be greatly appreciated. Has anyone already done a script for this?

Many thanks
Struan

Best answer by sdunbar

Sorry should have marked this as resolved a while ago.

ref: https://www.jamf.com/jamf-nation/discussions/9271/uninstalling-symantec-endpoint-anti-virus

Used a modified version of the above script to remove SEP, found here: https://gist.github.com/rderewianko/6aa0032f19e57b595e0fdae4470f6286

Then ran a second policy to install SCEP, which was just the .pkg (taken from the SCEP installer .dmg and renamed)

14 replies

ThijsX
Forum|alt.badge.img+19
  • Employee
  • 369 replies
  • February 28, 2018
Content backfill required

Forum|alt.badge.img+7
  • Author
  • Valued Contributor
  • 57 replies
  • March 5, 2018

Many thanks, I give that a go.
Cheers


Forum|alt.badge.img+7
  • Author
  • Valued Contributor
  • 57 replies
  • March 9, 2018

Hi
I tried this, but it just seemed to get stuck saying executing.
I don't know enough about scripting to know what might be going wrong. Is there a slimmed down version that might be less thorough, but more stable.
Many thanks


Forum|alt.badge.img+7
  • Author
  • Valued Contributor
  • 57 replies
  • Answer
  • July 13, 2018

Sorry should have marked this as resolved a while ago.

ref: https://www.jamf.com/jamf-nation/discussions/9271/uninstalling-symantec-endpoint-anti-virus

Used a modified version of the above script to remove SEP, found here: https://gist.github.com/rderewianko/6aa0032f19e57b595e0fdae4470f6286

Then ran a second policy to install SCEP, which was just the .pkg (taken from the SCEP installer .dmg and renamed)


Forum|alt.badge.img+20
  • Contributor
  • 993 replies
  • November 14, 2018

Via sel service I use the SEP uninstaller that symantec provides. It uninstalls 14.0.1. But after a restart self service does not connect to server so i cant install the new version


Forum|alt.badge.img+7
  • Author
  • Valued Contributor
  • 57 replies
  • November 14, 2018

Hi @tcandela Maybe what you can do, is set up a policy to install the new version, but also within that same policy have the script to uninstall and set it to run first, by setting the priority to Before.


Forum|alt.badge.img+6
  • New Contributor
  • 5 replies
  • November 15, 2018

Please read this post for important information regarding SCEP for macOS.

https://techcommunity.microsoft.com/t5/Configuration-Manager-Blog/End-of-Support-for-SCEP-for-Mac-and-SCEP-for-Linux-on-December/ba-p/286257


Forum|alt.badge.img+7
  • Contributor
  • 72 replies
  • January 7, 2019

if just uninstalling SEP, wouldn't this work?

#!/bin/sh
RemoveSymantecMacFiles -A -r

Forum|alt.badge.img+10
  • Valued Contributor
  • 229 replies
  • March 31, 2020

@Bhughes I could find the updated version of RemoveSymantecMacFiles.command but cannot make it work with a script calling it like you're suggesting. I can only run it manually and can only choose the options it give me within the terminal
Where is the "SymantecRemovalTool" this tech note refers to which is supposed to work without interaction?
Am I missing sometheing obvious? How can use RemoveSymantecMacFiles.command from a policy to automatically uninstall SEP?
Many thanks for you help and stay all safe!
Ciao, Carlo


Forum|alt.badge.img+1
  • New Contributor
  • 3 replies
  • April 8, 2020

@carlo.anselmi If you haven't already found it, there is a link to the SymantecRemovalTool immediately following the step-by-step instructions for downloading and installing RemoveSymantecMacFiles in the tech note you linked to in your post. Just scroll down a bit and you will will see it. Thank you for posting this because I stumbled upon a slightly earlier version of this tech note and the link had been removed from it.


Forum|alt.badge.img+3
  • New Contributor
  • 8 replies
  • May 29, 2020

@carlo.anselmi To run without interaction, you need to change something in the latest version (8.0.2) of the script. By default it says false, it should be true:

AutoRunScript=true

dvasquez
Forum|alt.badge.img+16
  • Valued Contributor
  • 318 replies
  • May 29, 2020

Excellent thread. Very nice of you to share @txhaflaire


Forum|alt.badge.img+10
  • Valued Contributor
  • 229 replies
  • May 30, 2020

@hlans
@mheffernan

Many thanks! Solved it!
Ciao


kwoodard
Forum|alt.badge.img+12
  • Valued Contributor
  • 280 replies
  • December 14, 2021

Very old thread, but is there an update to this script? I would love to have it in Jamf, I have a few hundred machines I have to remove SEP on. The script that Symantec supplies works fine as a one off with interaction...but that doesn't work with many.