We are running Automation Point on NT 4.0 and are using REXX for the program logic and workflow.
The REXX is setup to call an executable (TEXT.EXE) which will then start/stop a service on another server on our network. If I run the TEST.EXE from a desktop command prompt on the Automation Point workstation, it runs fine. If I allow Automation Point to execute TEST.EXE, it uses the system account instead of the current logged-on account and the executable fails because the system account has no access/security privileges anywhere else on the rest of the network.
I have a workaround but it is less than elegant. For now, in the script I do a NET USE to the destination server and include the /USER parameter to specify the account with which I want to connect. Now that I have a valid connection to the server with the proper privileges established, Automation Point can call TEST.EXE and it works fine. When I am done I use NET USE /D to terminate the connection.
What I want is for the command session provided within Automation Point to have the same user environment as the workstation's desktop. Alternately, how can I get Automation Point to use the current userid as it's default instead of using the system account?
The REXX is setup to call an executable (TEXT.EXE) which will then start/stop a service on another server on our network. If I run the TEST.EXE from a desktop command prompt on the Automation Point workstation, it runs fine. If I allow Automation Point to execute TEST.EXE, it uses the system account instead of the current logged-on account and the executable fails because the system account has no access/security privileges anywhere else on the rest of the network.
I have a workaround but it is less than elegant. For now, in the script I do a NET USE to the destination server and include the /USER parameter to specify the account with which I want to connect. Now that I have a valid connection to the server with the proper privileges established, Automation Point can call TEST.EXE and it works fine. When I am done I use NET USE /D to terminate the connection.
What I want is for the command session provided within Automation Point to have the same user environment as the workstation's desktop. Alternately, how can I get Automation Point to use the current userid as it's default instead of using the system account?