How to remove the Symantec Management Agent (Altiris Agent) manually on the SMP server and assign it to a new drive
search cancel

How to remove the Symantec Management Agent (Altiris Agent) manually on the SMP server and assign it to a new drive

book

Article ID: 181120

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

 You need to remove the Symantec Management Agent from the SMP server and assign it to the new drive.  Perhaps the agent was installed at one time and now needs to be moved to a new drive.

Environment

ITMS 8.x

Resolution

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.

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 "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
    1. Run AeXAgentUtil.exe /uninstallagents
    2. 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 
    1. 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”.
    2. 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
    3. 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
    1. Windows Explorer, browse to “D:\Program Files\Altiris\Notification Server\NSCap\bin\Win64\x64\Client Task Management\Server Package”
    2. Double click TaskServerSetup.exe
    3. Change the “Destination Folder” to “D:\Program Files\Altiris\Altiris Agent\Client Task Server\” (or whatever the correct path is), click Next
    4. In the Installation type dialogue window, select “Typical”, continue with the install
    5. Restart the Client Task DataLoader and Object Host Service services
  8. If Deployment Solution is being used, you will want to install the Task Server Handler
    1. Double click the ...\Altiris\Symantec Installation Manager\Installs\Altiris\altiris_deploymentsolutiontaskserverhander_XX_x64.msi and it will install