Quick answer
How do I stop Windows Update restarting MT4?
Here is how to stop Windows Update restarting MT4: set active hours to cover the sessions you trade (up to 18 hours), restart the server yourself at the weekend after updates install, and make MT4 start with Windows. Turning updates off is not the answer. CandleVPS servers run Windows Server 2022 or 2025, where these settings apply.
In brief
- Active hours: restarts wait until outside them, up to 18 hours a day.
- Weekend restarts: install and restart by hand when markets are closed.
- Group Policy can switch to notify-only on a server.
- Auto-start MT4 as the safety net.
How do I stop Windows Update restarting MT4, step by step?
Open Windows Update settings
On the server, open Settings > Windows Update > Advanced options.
Set active hours
Select Active hours and set the start and end to cover the sessions the EA trades, within 18 hours.
Pick a weekend routine
Each Saturday, open Windows Update, install what is pending and restart while markets are closed.
Optional: notify only
In the Local Group Policy Editor (gpedit.msc), under Computer Configuration > Administrative Templates > Windows Components > Windows Update, set Configure Automatic Updates to notify before installing and restarting.
Make MT4 start with Windows
Put a shortcut to terminal.exe in the Startup folder.
Check after each restart
Sign in, confirm MT4 is connected and the EA shows as active.
Which option fits which trader?
| Option | Where | Effect | Effort |
|---|---|---|---|
| Active hours | Settings > Windows Update > Advanced options | No automatic restart inside the window | Low |
| Turn off auto-restart during active hours | Group Policy, Windows Update | Same, set by policy | Low |
| Configure Automatic Updates, option 4 | Group Policy | Install and restart at a set time | Medium |
| Configure Automatic Updates, option 7 | Group Policy | Notify to install and to restart | Weekly check needed |
| Weekend manual restart | Windows Update page | Restart when markets are closed | Weekly |
Why does Windows Update restart MT4?
Most updates need a restart, and a restart closes every program. MT4 does not reopen by itself, so the EA stays off until someone starts it. Microsoft's restart guide also notes that only active Remote Desktop sessions count as signed-in users: a server whose session is merely disconnected can be restarted as if nobody were there. That is the usual case on a trading VPS.
What is the best Windows Update setting for an MT4 VPS?
Active hours plus a weekly manual restart. Active hours keep automatic restarts out of the trading window. For servers, Microsoft suggests Configure Automatic Updates option 7, notify to install and notify to restart, which leaves the timing entirely to you but needs a weekly visit. Pair either with how to auto start MT4 after a VPS restart.
How do I restart the server safely at the weekend?
Switch AutoTrading off, install, restart, check. Turn off AutoTrading so no EA acts on a half-loaded chart, run the pending updates from the Windows Update page and restart. Once Windows is back, sign in over Remote Desktop, confirm the terminal reconnected, then turn AutoTrading on again. A reboot can also be requested from the dashboard if the session no longer answers.
Should I turn Windows Update off on a trading VPS?
No. A server on the internet without security fixes is an easier target, and a compromised server can reach a broker account. Keep updates, control their timing. The other hardening steps are in how to secure a Windows trading VPS.
Which hours should active hours cover in 2026?
The sessions the strategy trades, in the server's time zone. Windows Server 2016 caps active hours at 12; later versions allow 18. CandleVPS's check of 16 November 2026: servers run Windows Server 2022 or Windows Server 2025, Standard edition, English interface, so the 18-hour range applies. A strategy that trades around the clock across the week still needs the weekend window. The wider EA case is on the Expert Advisor 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 stop Windows Update restarting MT4 during trading without leaving the server unpatched.
- Active hours over the trading sessions, a manual restart at the weekend, MT4 in the Startup folder.
- Never disable updates on an internet-facing server.
Windows Update and MT4: common questions
Can I stop Windows Update restarting MT4 for good?
Not safely. Control the timing with active hours and weekend restarts instead.
Does a disconnected Remote Desktop session block restarts?
No. Only active sessions count as signed-in users.
How long are active hours on Windows Server 2022?
Up to 18 hours.
Will MT4 reopen after an update restart?
Only if it is in the Startup folder and Windows signs in to the session.
Does CandleVPS restart servers for updates?
No. Windows updates run on the schedule you set; reboots from the dashboard happen only on your request.
Sources (2)
- Manage device restarts after updates learn.microsoft.com/en-us/windows/deployment/update/waas-restart — Microsoft Learn (read 2026-11-16)
- 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)
A server you schedule
Windows Server licence included; updates on your timing. Wick from $6.75 a month.
- Built by a person, 1 hour at most after confirmation
- Lost days credited back if a server cannot be delivered
- Pay in BTC, XMR, USDT, USDC, ETH, SOL or LTC
- DomaineGoat LLC · Panama