Windows licence included · MT4, MT5 and cTrader VPS in London, New York, Frankfurt and Tokyo · Pay in BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Configure a trading VPS

Guide · startup · checked 16 November 2026

How do I auto start MT4 after a VPS restart?

Last updated: · 4 min read

Quick answer

How do I auto start MT4 after a VPS restart?

Here is how to auto start MT4 after a VPS restart: put a shortcut to terminal.exe in the Startup folder (Windows + R, then shell:startup), and, if you accept the trade-off, enable automatic sign-in with Microsoft's Autologon. MT4 then reopens with its last profile and EAs. CandleVPS servers allow both on all 5 plans.

In brief
  • Startup folder: runs MT4 when a user signs in.
  • Sign-in is the catch: after a restart, nobody is signed in until Autologon or a Remote Desktop login.
  • Autologon stores the password encrypted, readable by any administrator.
  • Save the profile with EAs attached before relying on it.

How do I auto start MT4 after a VPS restart, step by step?

  1. Save the working setup

    With the EAs attached and AutoTrading on, close MT4 normally so it saves the profile.

  2. Open the Startup folder

    Press Windows + R, type shell:startup and press Enter.

  3. Add the shortcut

    Drag a shortcut to each terminal.exe into that folder; one per terminal.

  4. Decide on automatic sign-in

    Without it, MT4 starts at your next Remote Desktop login. With it, MT4 starts after every restart.

  5. Optional: set Autologon

    Run Microsoft's Sysinternals Autologon, enter the Administrator account and password, and select Enable.

  6. Test with a restart

    Restart the server outside trading hours and check that MT4 reconnects and the EAs are active.

Which startup method fits which need?

Ways to start MT4 after a Windows restart and their trade-offs
MethodMT4 startsTrade-off
Startup folder onlyAt the next sign-inNeeds a Remote Desktop login after each restart
Startup folder + AutologonAfter every restartPassword stored on the server, readable by administrators
Manual startWhen you open itEA off until you sign in

Why does MT4 not start by itself after a restart?

MT4 is a desktop program; it needs a signed-in user. After a restart, Windows waits at the sign-in screen. The Startup folder runs its shortcuts only when a user signs in, which on a VPS happens when you connect over Remote Desktop, or at boot if automatic sign-in is set. Microsoft Support documents the shell:startup folder for this purpose.

Is Autologon safe on a trading VPS?

It is a trade-off, stated plainly by Microsoft. The Autologon page says the password is encrypted in the registry as an LSA secret, but that a user with administrative rights can retrieve and decrypt it. On a single-user VPS, the only administrator is you, so the exposure is limited to someone who already controls the server. Keep the password long and follow how to secure a Windows trading VPS. Holding Shift during boot skips the automatic sign-in once.

What is the best way to combine startup with update control?

Restart rarely, at known times, and auto-start as the net. Set active hours as in how to stop Windows Update restarting MT4, restart at the weekend and check MT4 afterwards. The wider routine is in how to run an Expert Advisor 24/7.

How do I know MT4 really came back after a restart?

Sign in and read three things. The connection indicator in the bottom-right corner should show a live connection, each EA chart should show its active icon, and the Journal tab should log the login to the trading account after the restart time. If one of them is missing, open the terminal by hand and switch AutoTrading on again.

Does it work for several terminals and cTrader?

Yes, one shortcut per program. Each MT4 or MT5 copy and cTrader gets its own shortcut in the same folder. cTrader cBots then need to be started again by hand. According to CandleVPS's check of 16 November 2026, every plan, from Wick at 4 GB to Chandelier at 16 GB, gives full Administrator access, so both methods are available. Platform notes are on the MT4 VPS page. Trading foreign exchange and CFDs on margin carries a high risk of losing money. A VPS keeps a terminal online; it does not make a strategy profitable, and CandleVPS gives no investment advice.

Verdict
  • That is how to auto start MT4 after a VPS restart: a shortcut, an optional automatic sign-in, one test.
  • Startup folder for every terminal; Autologon only if the stored-password trade-off is acceptable.
  • Test with one planned restart before trusting it.

Auto-starting MT4: common questions

Can I auto start MT4 after a VPS restart without Autologon?

MT4 then starts at your next Remote Desktop sign-in, not at boot.

Does MT4 reload the EAs after an auto start?

Yes, from the last saved profile, if AutoTrading was on when it closed.

Can Task Scheduler start MT4 instead?

A task can launch it at sign-in; a task without a signed-in desktop is not a reliable way to run MT4.

Does a dashboard reboot start MT4?

Only with the same setup: a reboot is a normal Windows restart.

How do I auto start MT5?

The same way, with a shortcut to the MT5 terminal64.exe.

Sources (3)
  1. Add an app to run automatically at startup in Windows support.microsoft.com/en-us/windows/add-an-app-to-run-automatically-at-startup-in-windows-150da165-dcd9-7230-517b-cf3c295d89dd — Microsoft Support (read 2026-11-16)
  2. Autologon (Sysinternals) learn.microsoft.com/en-us/sysinternals/downloads/autologon — Microsoft Learn (read 2026-11-16)
  3. Manage device restarts after updates learn.microsoft.com/en-us/windows/deployment/update/waas-restart — Microsoft Learn (read 2026-11-16)

Your terminal, back after every restart

Full Administrator access on every plan. Wick from $6.75 a month on 12 months.

From $6.75/mo on 12 months, licence included

Configure