MT4 terminal build 610 running from service

 

Hi guys,

Our service process starts MT4 Terminal (parameters are configured in the start.ini file). It was working fine with 509 build but becomes broken after update to the build 6xx.

What is the Data folder, when MT4 terminal is running under LocalSystem account?

We tried to start service from real user account, but it doesn't help - MT4 terminal is started (it exist in the process list) but it doesn't update any logs file (not in the MT4 Terminal /logs folder, not in the C:\Users\User_account_name\AppData\Roaming\MetaQuotes\Terminal\Instance_id\logs folder).

ps. MT4 terminal started from command line (not from service) works fine - files from the C:\Users\User_account_name\AppData\Roaming\MetaQuotes\Terminal\Instance_id\ folder are used.

Thanks.

 

It probably doesnt have the correct permissions from service.

 
SDC:

It probably doesnt have the correct permissions from service.


No, it is not the permissions issue.

I found, MT4Terminal (started by the service) uses the /MQL4 folder in the application folder (C:\Program Files (x86)\MetaTrader 4\), not the AppData folder. But EA/script didn't start because EA options ('Allow Dll import' and other) are unset.

Does anybody know, where MT4Terminal keeps value of EA options? In the registry? In the config files? I need to to enable EA options for the LocalSystem account, to execute MT4Term correctly.

Thanks.

Reason: