I want to set some system environment variables on my FME Server and I want to do it via a workspace so people aren't attempting to log onto the server machine to do it.
I'm using systemCaller and sending this command:
setx /m @Value(EVN_NAME) @Value(EVN_VALUE) (the attributes are from a database table)
If I'm remoting into the box, I launch the command prompt and runs the command. It's using the fire call account, but the command prompt is being run as administrator.
I added the service account that runs FME Server software to the admin group.
I can't log onto that box with the service account because it does not have logon privileges so I can't test whether or not that account can even run the command. I know it doesn't run when I run the workspace on FME Server.
Error message is: SystemCaller: Failed to Execute `setx /M KMOCShape \\\\hougisproj1\\cmproj\\gis_solutions\\projects\\KMOC\\newfolder'
Any ideas what I'm doing wrong? Thanks so much!