Skip to main content
I need to force an FME Server job to run under a specific Windows user account.

 

 

I have Active Directory authentication turned on for FME Server and I have granted permission to the user account (via a role) to the job that I need to run.

 

 

I need a way of forcing the job to run under a specific account, no matter who is logged in and running the actual job. The reason I need to force to run under a specific account is that the job needs access to data in a network drive location that only that user account can see.

 

 

I know that I can set FME Server up to use a default account at the Service level (e.g. Job Submitter, Data Download, etc.) but I need to be able to do this for just a specific job.

 

 

Is this possible?

 

 

Nic
Bonus points for telling me how this might be possible for a scheduled job....
Hi Nic,

 

You can use the sysinternal utility "ShellRunas" for starting anything in windows with a different user account.

 

 

Marc
Thanks. I was hoping to run the job on FME Server but maybe I can take a modified version of your suggestion and have a batch script call Runas to run an FME Desktop instance. Not ideal but it should work.

 

Nic

Hi @nic_ran, you can create a separate workspace using a workspacerunner to schedule your job. Publish the user authentication parameters for the workspacerunning and publish it to FME Server.


Hi @nic_ran, you can create a separate workspace using a workspacerunner to schedule your job. Publish the user authentication parameters for the workspacerunning and publish it to FME Server.

 

Sorry, FMEServerJobSubmitter. Also works for schedules.

 


Reply