Client Management Suite

 View Only
  • 1.  Manually Uninstall of Altiris Agent 7.5 for Mac

    Posted Nov 07, 2013 02:02 PM

    I am looking for something like this HOWTO for Altiris 7.1:

    http://www.symantec.com/business/support/index?page=content&id=HOWTO59038

    But I need it for version 7.5

     

    Thanks



  • 2.  RE: Manually Uninstall of Altiris Agent 7.5 for Mac

    Posted Nov 07, 2013 03:00 PM

    Thanks, I'll probably put that in a bash script tomorrow and I'll post it back here. 



  • 3.  RE: Manually Uninstall of Altiris Agent 7.5 for Mac

    Posted Nov 07, 2013 03:11 PM

    Its actually quite similar.

    1) You will want to stop the aex-pluginmanager process

    2) delete /opt/altiris

    3) delete /usr/bin/aex* (there are quite a few and they are simply links to the real binaries in /opt/altiris

    4) Remove the Symantec App from /Applications/Utilities

    5) I no longer have anything in Startup Items but there is an item in /Library/LaunchDaemons (com.symantec.SMAgent.plist)

         Might need to unload this first:

        sudo launchctl unload com.symantec.SMAgent.plist

    6)  Remove the receipts from /var/db/receipts

    7) Check that no other receipts exist

        pkgutil --pkgs | grep altiris 
    
       pkgutil --pkgs | grep Symantec

    7a) If more do exit you can remove them by doing the following:

        sudo pkgutil --forget [packageID] 

         where [packageID} is the name of the package as it appears from above; something like com.Symantec.DeploymentSolutionAgent

    Of course you could do some greps and pipes to make the cleanup even faster. It would also be pretty easy to write a script or even a package to remove the agents.

     



  • 4.  RE: Manually Uninstall of Altiris Agent 7.5 for Mac

    Posted Nov 07, 2013 04:12 PM
      |   view attached

    I wrote a quick and dirty one. You can find it attached. Change the extension if you want but in the least make it executable. There is no error checking which is why I explicity exit with 0. 

    Attachment(s)

    txt
    rmSymAgent.txt   1 KB 1 version


  • 5.  RE: Manually Uninstall of Altiris Agent 7.5 for Mac

    Posted Nov 14, 2013 03:18 PM

    If you want to reinstall the agent, other options include using the uninstall policy and the aex-uninstall command.

    List of commands for the Mac agent: http://www.symantec.com/docs/TECH29115.

    Those commands by default are located in the /opt/altiris/notification/nsagent/bin directory.

     

    If other plug-ins besides the default are installed like the Deployment Solution Plug-in, there will be folders left over if using the aex-uninstall command.  In that case, to completely remove the agent the script would be the best option.