Video Screencast Help

Update Inventories Script - Loop

Created: 31 Jul 2012 | 1 comment

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

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


Comments 1 CommentJump to latest comment

andykn101's picture

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 ""

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.