The local user account that logs into the remote agent does not inherit/pass the user variable information while executing hexecp on that remote agent.

Document ID : KB000053214
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

What actions should you take to ensure your remote program inherits the local account user environment variables?

Solution:

These are some of the ways this can be accomplished:

  1. Run a script that would setup your profile environment variables required by the remote program or

  2. Start the agent service as the same user account used to log into the remote agent.