Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Completly Removing Symantec Agent from A Machine

Created: 27 Feb 2013 • Updated: 27 Feb 2013 | 7 comments
This issue has been solved. See solution.

Hello,

I was supplied three different commands that would remove an agent from a machine.  I am looking to remove all plug-ins and the base agent.  Which one of the following commands will give the cleanest removal or is there another command I should be using?  (SMP 7.1 SP2)

"AeXAgentUtil.exe" /UninstallAgents
"AeXAgentUtil.exe" /Clean
"AeXNSAgent.exe" /Uninstall

Thank you.

Operating Systems:

Comments 7 CommentsJump to latest comment

andykn101's picture

I think UninstallAgents only get rid of the plug-ins.

YMMV but I use /Clean and find it usually does an excellent job of removing nearly all files and registry keys.

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

kpjernigan's picture

We've always used AeXAgentUtil.exe /stop /clean /uninstallagents

-Kev

WK01's picture

Hello andykn, does the /clean remove both plugins and the agent?

Hello kpjernigan, if you run the /clean before the /uninstallagents does it still find files and registry keys?

Does AeXNSAgent.exe" /Uninstall do anything or should that just be ignored?

andykn101's picture

Yes, /clean removes the agent, it only leaves the AeXAgentutil.exe itself.

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

SOLUTION
jackintosh's picture

The clean switch is what you want.Iif you are going to batch it up I used which cleans it up as and the directory which grabs that last bit leaving the machine fre of the agent and all its bits:

 

@echo off
start /wait "%programfiles%\Altiris\Altiris Agent\AeXAgentUtil.exe" /Clean
rmdir /s /q "C:\Program Files\Altiris\Altiris Agent"
 
bbiggs's picture

The cleanest way is to run "AeXAgentUtil.exe" /UninstallAgents then wait for it to remove all the plugins on top of the agent.  Then run "AeXAgentUtil.exe" /Clean to remove the agent.  There are plugins that leave stuff behind when you just use the clean switch.