I’m trying to run some workspace through Task scheduler with FME Form. I’m using an Emailer package and when I run the task as my user, everything is fine. But When I run it as local system it always fails as it can’t find the package. I tried defining Shared folder and setting up environment variables, but couldn’t make it work.
As for setting up shared connections it works fine, but not with packages.
What would be the right setup for this?
Solved
Sharing FME Form packages to all local users
Best answer by hkingsbury
I think you’re currently out of luck for a shared repository, there is this idea here: https://community.safe.com/ideas/option%2Dfor%2Dshared%2Dpackage%2Dpaths%2D30753
This question also has an answer of how to install a package via CLI
fme.exe PACKAGE INSTALL <pathToPackage>
I wonder if firstly running the above as a scheduled task set to run as the local system (just run it once to install it) would install it correctly and then allow the other task to run correctly.
Packages are found in:
%AppData%\Roaming\Safe Software\FME\Packages\The equivalent for the local system account is:
C:\Windows\System32\config\systemprofile\AppData\Roaming
I wonder if copying the Safe Software folder from your account the the local system account would also work


