Symantec Management Platform (Notification Server)

 View Only
  • 1.  How to remove Altiris sub agents from the client machine???

    Posted Oct 18, 2011 06:36 AM

    As we are planning to migrate from 6.x to 7.x. So we need to remove all of the sub agents from the client machine.If anyone  know how to remove sub agents through policy, please help me out.

    Thanks in advance !!!!



  • 2.  RE: How to remove Altiris sub agents from the client machine???

    Posted Oct 18, 2011 12:21 PM

    You can just enable the uninstall policy for sub-agents..



  • 3.  RE: How to remove Altiris sub agents from the client machine???

    Posted Oct 18, 2011 02:24 PM

    You can always run the following command line through a script to remove all sub-agents:

    aexagentutil.exe /uninstallagents



  • 4.  RE: How to remove Altiris sub agents from the client machine???

    Posted Nov 11, 2011 02:49 AM

    Thanks guys !!!!!



  • 5.  RE: How to remove Altiris sub agents from the client machine???

    Posted Nov 11, 2011 06:36 AM

    Hi sReejesh,

    Batch file example to migration your Altiris Agent from 6.x (or 7.0) to 7.1 version:

     @ECHO OFF
    
    "%ProgramFiles%\Altiris\Altiris Agent\AexAgentUtil.exe" /UninstallAgents
    
    ping wsrcspar02 -n 10 -w 1000
    
    "%ProgramFiles%\Altiris\Altiris Agent\AexAgentUtil.exe" /Server: your_new_altiris7.1_server_name
    
    ping wsrcspar02 -n 10 -w 1000
    
    "%ProgramFiles%\Altiris\Altiris Agent\AexAgentUtil.exe" /Restart
    
    ping wsrcspar02 -n 10 -w 1000
    
    "%ProgramFiles%\Altiris\Altiris Agent\AexAgentUtil.exe" /SendBasicInventory 

    Regards,



  • 6.  RE: How to remove Altiris sub agents from the client machine???

    Posted Nov 11, 2011 09:02 AM

    You can run the following command lines with a pause between each one to give each commnad time to complete before proceeding to the next...

    • aexruncontrol.exe /deletedevices
    • aexruncontrol.exe /uninstallagents
    • aexruncontrol.exe /clean

    This will ensure removal of almost all legacy and current plug-ins, device drivers etc. before attempting to install a new agent.

    An addtional piece you can add as well is to include the uninstall strings for each subagent in case they exist and run those first using standard .MSI command lines. If they don't exist the command will just error out and continue on. But if they do then it will execute the uninstall first. I use this first in my deployment scripts to esnure I rmeoving agents/installs using the cleanest/built-in process first before trying the brute method of the aexruncontrol switches.