KNOWN ISSUE: A Microsoft Visual C++ Runtime Library error occurs if the program of a task is configured to use a "Specified Account"
Last Updated June 21, 2006
A Microsoft Visual C++ Runtime Library error occurs if the program of an "Inventory" task is configured to use a "Specified Account", or is run non-interactive with rights of a domain user. This problem was introduced by the 6.0.2338 Altiris Agent that is part of the NS 6.0 SP3 product. In most cases the C++ window only appears as a block on the screen that is unreadable. Part of the C++ message is seen in the task bar at the bottom of the screen.
The error is:
Microsoft Visual C++ Runtime Library Runtime Error! Program:…<guid>\cache\aexnsinvcollector.exe Abnormal program termination
The task executes successfully if the local system account or the "logged on user" is configured. This configuration is done on the Program's "Run with rights" setting (Tasks > Assets and Inventory > Inventory > Windows > Inventory Tasks > any of the inventory tasks > Go To Program).
The Agent is not properly loading the user profile when the process is spawned under a specific user account which is not interactive.