Skip to main content
Question

FMW fails to run via Scheduled Task when Using Service Account


joshuajames1979
Contributor
Forum|alt.badge.img+7

Hi there,

I have a number of FME Workflows on our GIS server that successfully run via scheduled tasks and bat file. However this latest one I have created only runs under my account and not the service account. The difference between this and other workflows is that this one is connecting to web services (Vicmap as a Service). I have made sure the service account has full permissions on any folders it is writing to as well the FME Programs folder. We are currently on FME Workbench 2022 but will soon be upgrading to the latest license structure.

Do I need to consider any other permissions when dealing with web services?

 

Regards,

Josh

crutledge
Enthusiast
Forum|alt.badge.img+31
  • Enthusiast
  • March 30, 2025

Are you able to check the log? My only guess would be some kind of Authentication and/or firewall issue.


joshuajames1979
Contributor
Forum|alt.badge.img+7

Thanks for the response. The log in Event Viewer shows an “Action Failed” with 

 

Task Scheduler failed to complete task "\Microsoft\Windows\CertificateServicesClient\KeyPreGenTask" , instance "{af9771d5-5594-4cf4-8a75-75aadf082da2}" , action "NGC Pregeneration Task Handler" . Additional Data: Error Value: 2148073520.

 

and “Action Start Failed” with 

 

Task Scheduler failed to start instance "{af9771d5-5594-4cf4-8a75-75aadf082da2}" of "\Microsoft\Windows\CertificateServicesClient\KeyPreGenTask"  task for user "NT AUTHORITY\SYSTEM" . Additional Data: Error Value: 2148073520.

 

I’ll check with my IT team now.

 

Thanks again.

 

Regards,

 

Josh


joshuajames1979
Contributor
Forum|alt.badge.img+7

I ended up opening FME under the service account and realise the SQL connections needed recreating with the Windows logon for that account, plus I one of the tables I had to drop and then run the job under this account to recreate it. The fact that it was created under my SQL login must have meant the service account couldn’t drop it to recreate it.

 

Thanks,

 

Josh


crutledge
Enthusiast
Forum|alt.badge.img+31
  • Enthusiast
  • April 11, 2025

@joshuajames1979  Glad you got that working. I just ran into something similar. Trying to diagnose now. Gremlins 😂


joshuajames1979
Contributor
Forum|alt.badge.img+7

Yes it can be mystery sometimes. I'm scared to make any tweaks.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings