When using a Virtual Private Server (VPS) it is important to configure Windows to auto log on if the server reboots. This is important because you are required to be logged in with a Windows account to be able to run MetaTrader. If your MetaTrader instances aren’t running that means neither are your Expert Advisors! It is also important to make sure that your MetaTrader runs when Windows starts.
Note: If the method described in this tutorial does not work you can use a more complex method described in the following Windows Official Documentation: https://docs.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon
Download the Microsoft Sysinternals Autologon application #
First, download the Microsoft Sysinternals Autologon application.
You can download it here. #
You should download it onto your VPS or the workstation you would like to auto log on to Windows.
Run and configure Autologon #
Run the Autologon tool as an Administrator by right-clicking and clicking “Run as Administrator.
A dialog box should appear and this should be already be populated with your username and domain. If you wish to set Autologon for another user you will need to change the Username field.
Input the password for the desired account in the password field then click Enable. The following dialog will appear.
Next time your VPS restarts your user account should now automatically log in.
Important notes #
If you change the Windows password for your account you will be required to run the Autologon tool again and configure it with the new password.
No Comment