
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
According to this article, the MT4 terminal will set the data folder to %appdata% if at least one of these three conditions is met:
Since VPS accounts are usually administrator type and there is no active RDP when the server restarts, the only option left is to enable UAC. This ensures that MT4 will use the %appdata% as data folder when it is started by the task scheduler after a reboot.
Thank you for pointing this out. About 2 weeks ago I started experiencing this problem after reinstalling my VPS, a server I was using for the past 2 years without any metatrader auto-startup issues.
However, the reinstallation disabled UAC, so I manually re-enabled UAC and now my MT4 and MT5 terminals are using the %appdata% folder to restart and are therefore keeping their configurations.
Everyone with this startup profile issue, is UAC enabled on the affected machine? (Registry Editor -> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -> EnableLUA = 1) If EnableLUA is set to any other value, try changing it to 1, rebooting, and see if the MQL5 profile issue remains.
@hk.trade @Kevin Lemire @wilibaldoplatek @Ed @Mark David Harvey Brewster
This solution worked for me.
I also compared two VPSes with and without this problem and the only difference was the registry value for EnableLUA.
0 - disabled
1 - enabled
Thank you!