Note: Removing the Symantec Management Agent from the SMP
itself is not recommended. There are usually some side-effects that may affect
functionality on Task Management, DS.
The automatic uninstall process
used for the Symantec Management Agent (SMA, formally known as the Altiris
Agent) should take care of most of the items that were installed.
Prior to the release of ITMS 7.5, the command "aexagentutil.exe /clean"
was not intended to remove SMA anymore. It was left for legacy purposes only. It
was recommended to use "AeXNSAgent.exe /uninstall" to uninstall the
SMA.
Note: As per ITMS 7.5 release, for the SMA 7.5 the
“/clean” command behaves exactly like "AeXNSAgent /uninstall" command. Actually
“AeXAgentUtil.exe /clean” simply launches “aexnsagent.exe /uninstall”. Using
"AeXNSAgent.exe /uninstall" should removes ALL registry, binaries, etc created
by agent but leaves behind agent guid (i.e. install on this system uses same
guid). Also Log files are not removed as it was decided to let them be for
troubleshooting purposes.
On those instances where you need to remove any leftovers or
make sure that previous references of the Agent location are removed (in case
that you need to install the Agent to a different drive but is not taking the
new path), you may want to use the following steps (in most cases using the
steps on
HOWTO45738 "What is the best way to cleanly uninstall the
Symantec Management Agent to leave no remnants (or the bare minimum) behind?"
should address most uninstalls):
1.
Uninstall
any Altiris Agents found in Add/Remove programs
2.
Find any
and all copies of the file AeXAgentUtil.exe and from each location
a. Run AeXAgentUtil.exe
/uninstallagents
b. Aexnsagent.exe /uninstall
(Both executables are located, by default at: C:\Program
Files\Altiris\Altiris Agent\)
3. Open Registry find keys where old agent path(s) is found and delete those
registry keys
a. This Includes two entries under the Windows
Uninstall registry that could still exist (don’t forget the wow64 hive as well)
“Altiris Agents” and “NS Client”.
b. The Altiris Agent is under the uninstall key
and NS Client is under the Altiris\Express key both need to be deleted if not
already deleted by the /clean.
HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\eXpress\NS
Client
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AltirisAgent
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AltirisAgent
c. As well you need to clean any references of the
Altiris Agent on
HKEY_CLASSES_ROOT\CLSID
HKEY_CLASSES_ROOT\Typelib
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Clsid
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Typelib
4. Copy AexNSC.exe from “\\localhost\nscap\bin\win32\x86\NS Client
Package” and copy the file to “C:\temp”
5. In a command prompt (Administrator privileges
and make sure the smp.domain.com portion reflects the SMP server) execute the
following command line contained within the brackets [] but path should be
changed appropriately to the correct location where the NS is installed:
[C:\temp\AexNSC.exe -s -a NS="smp.domain.com" PATH="D:\program
files\altiris" nsweb="http://smp.domain.com/altiris/"
NOSTARTMENU /platform=x64 /s]
6. Verify that the install correctly installed to
path specified
7. Install Task service agent
a. Windows Explorer, browse to “D:\Program
Files\Altiris\Notification Server\NSCap\bin\Win64\x64\Client Task
Management\Server Package”
b. Double click TaskServerSetup.exe
c. Change the “Destination Folder” to “D:\Program
Files\Altiris\Altiris Agent\Client Task Server\” (or whatever the correct path
is), click Next
d. In the Installation type dialogue window,
select “Typical”, continue with the install
e. Restart the Client Task
DataLoader and Object Host
Service services