Client Management Suite

 View Only
  • 1.  Agent Not Initialized

    Posted Jun 02, 2011 11:28 AM

    Agent upgrade from 7.0 to 7.1 has left some agents showing Agent Not Initialzed on the Tast Status window of the agent. This is only the case on some of the PC's but now thinking a removal of all agents and complete reinstall will be necessary to be sure all agents are working correctly.

    Tried a number of things suggested on the Forum from other posts including checking for missing DLL's and re registering them.

    Has anyone seen this and had success in fixing without complete removal of all agents?

     

    Thanks

    For info,

    Spoke to Technical support at symantec and they advised running a script which re registers some DLL files on the client machines.

    We found we only needed to run this one and it sorted out the problem agents for us

    C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent>regsvr32 -u "Client Task Agent.dll

    We put this into a script job and scheduled it to run on all machines twice a day for a few days to try and capture all clients.



  • 2.  RE: Agent Not Initialized

    Posted Jul 11, 2011 06:03 PM

    I'm running into this exact same problem. If I push the 7.1 install to a PC that doesn't have Altiris on it, it installs all the agents and works perfectly.

     

    When I try to do the agent upgrade, it upgrades all the agents great and even downloads patches. The task agent always says Agent not Initialized.

     

    I've tried running the above script to re register the DLL and its not helped for me. I even tried using Aexagentutil /RegisterClient with no difference.

     

    Does anyone have any ideas? I can't be the only person having this issue I wouldn't think.



  • 3.  RE: Agent Not Initialized

    Posted Jul 12, 2011 04:18 AM

    As mentioned we only needed to register the one DLL ot resolve our issue, it wasn't happening on all machines though, maybe up to 35%.

     

    Symantec sent us the following sugestions to try which includes the DDL register you've already tried, it might be worth a go on a couple of machines;

    As discussed in our previous phone conversation, here are the instructions on how to unregister and re-register the Client Task Agent.dll and the CTAgentUI.dll, which will hopefully resolve the problem.

     

    Please execute the following commands one by one on the Site Server:
    C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent>regsvr32 -u "Client Task Agent.dll"
    C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent>regsvr32 -u CTAgentUI.dll
    C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent>regsvr32 "Client Task Agent.dll"
    C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent>regsvr32 CTAgentUI.dll

     

    If this does not work, run the same commands on one of the affected clients and see if it helps resolving the issue.



  • 4.  RE: Agent Not Initialized

    Posted Jul 12, 2011 01:09 PM

    Hodgkinsons your a life saver. That worked great. I ran the regsvr32 "Client Task Agent.dll" command and it brought the task agent right up. I was running the -u to unregister the agent and then not running the re-register part. As soon as I went to a pc and through the command prompt re-registered the agent it started getting tasks again.

    For whatever reason I'm getting the problem of the task agent not being initialized on every single pc I push the server redirect script to. It seems to upgrade everything, but that Client Task Agent.dll.

     

    I do have one question though Hodgkinsons. How did you push the script job onto your pc's to re-register the DLL? Since the issue is with the task agent the pc's won't receave new tasks so doing it through Altiris is out. I'm thinking through DS maybe? How'd you guys handle that?



  • 5.  RE: Agent Not Initialized

    Posted Jul 13, 2011 07:15 AM

    We used a command script job to re register the Client Task Agent DLL, It seemed to be able to run this maybe because it was only updating the Client Agent and not actually carrying out any specific software task to the machine.

     

    We set it to run once in the morning and once in the afternoon on a shared daily Schedule to try and capture the most machines. It takes very little time and resource when it runs so it's not even noticed.

     

    Hope this helps