Client Management Suite

 View Only
  • 1.  Update Inventories Script - Loop

    Posted Jul 31, 2012 04:33 PM

    When running teh below command script task directly form my pc via .bat file it works flawlessly, However if I run it via an Altiris Command Script taks, it loops about 8 or 9 times then fails.  It does the Net Sop fine then Deletes the Inventoryrule and llops there.  Any thoughts or suggestions would be greatly appreciated.

    Symantec™ Management Console
    Version 7.0.8800
    Altiris Notification Server™

     

     

     

    Command Script Task

    cd\
    net stop AeXNSClient
    DEL /S /Q "e:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\InventoryRuleCache.ibd"
    net start AeXNSClient
    "e:\Program Files\Altiris\Altiris Agent\Agents\PatchMgmtAgent\AeXPatchUtil.exe" /i /Xa

    exit

     

     



  • 2.  RE: Update Inventories Script - Loop

    Posted Jul 31, 2012 05:46 PM

    because you're stopping the agent.

    You need to write it as a .bat file and your command needs to be something like:

    CMD /C CALL yourfile.bat

    Intead of CALL you could try START ""