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