What permissions are needed fot the TEA Agent to run as a process?
Best practice is to record the script with the same user permissions that will be running the TEA Agent. This should ensure that the account running the TEA Agent will have all the proper permissions for running the TEA Agent and the script. Even though the TEA Agent only needs local admin privileges, your script may need more than that to run correctly. And the script will only inherit the privileges from the account that the TEA Agent is running under. It is due to this that we cannot specifically tell you what permissions your TEA Agent will need to run your script.