/build/static/layout/Breadcrumb_cap_w.png

Removing Altiris Agent via KACE

Hi,

We previously had the Altiris Agent installed on all of our machines for deployment purposes. Now that we've switched over to KACE (for approximately a year now) we still have plenty of machines out there with the Altiris agent still running on them. My question is, is anyone currently using a script they can share with me to remove the agent completely from their Windows machines? Up until this point we've been manually removing it as we come across it (not so easy because it leaves a lot of stuff behind), usually by stopping all three Altiris services, then running the following batch file:

"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /UninstallAgents
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /ResetGuid
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /Clean

Then removing the program from Add/Remove programs. Very long winded.

Thanks for your help.


0 Comments   [ + ] Show comments

Answers (3)

Posted by: rileyz 11 years ago
Red Belt
1

Dont have a script, but could make a recommendation.

KACE:
Make a group that is based on having the "AeXAgentUtil.exe" or some other means that you can use to target the Altiris Agents. In SCCM i would use the add/remove programs, so if it found the Altiris Agent then it would be in the collection, this would be a dyncamic collection.

Script:
Batch it up, would be the easiest/fastest way.
Actions: script what actions you need to do.

For the services see the below to stop them.
http://technet.microsoft.com/en-us/library/cc736564(v=ws.10).aspx

The run your bits
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /UninstallAgents
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /ResetGuid
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /Clean

Then uninstall the agent. You will need to look in registry to find the uninstall string.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
Once you have that, add it to the batch.

You need to run the batch with the admin/system context so it has rights.

Thats it, good luck!

Posted by: chucksteel 11 years ago
Red Belt
1

According to this blog post you can run a command line to uninstall the agent: http://www.symantec.com/connect/blogs/uninstalling-altiris-agents

Based on that I woud make a smart label that finds computers with the Altiris Agent installed (it shows up in the software inventory, so you don't even need a custom inventory rule) and then have a script that runs the commands to remove it. I would probably use an online shell script for this. 

Posted by: ms01ak 11 years ago
10th Degree Black Belt
1

We used to have the altiris agent installed on our systems before kace. Here's the batch file that I ran as a kace script to remove the agent:

 

"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /UninstallAgents
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /ResetGuid
"C:\Program Files\Altiris\Altiris Agent\AeXAgentUtil.exe" /Clean
RD "C:\Program Files\Altiris\Altiris Agent" /s /q
sc delete AltirisACSvc

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ