Pepperstone logo
Pepperstone logo
  • English
  • Ways to trade

    Pricing

    Trading accounts

    Premium clients

    Refer a friend

    Active trader program

    Trading hours

    24-hour trading

    Maintenance

  • Trading platforms

    Trading platforms

    TradingView

    Pepperstone platform

    MetaTrader 5

    MetaTrader 4

    CopyTrading

    cTrader

    Trading integrations

    Trading tools

  • Markets

    Markets to trade

    Forex

    Shares

    ETFs

    Indices

    Commodities

    Currency Indices

    Dividends for index CFDs

    Dividends for share CFDs

    CFD forwards

  • Market analysis

    Market news

    Navigating markets

    The Daily Fix

  • Learn to trade

    Trading guides

    CFD trading

    Copy trading

    Forex trading

    Commodity trading

    Stock trading

    Technical analysis

    Day trading

    Scalping trading

    Upcoming IPOs

    Gold trading

    Oil trading

    Webinars

  • Partners

  • About us

  • Help and support

  • English
  • Launch webtrader

  • Ways to trade

  • Trading platforms

  • Markets

  • Market analysis

  • Learn to trade

  • Partners

  • About us

  • Help and support

How do I automatically restart MetaTrader apps after the VPS restart?

Windows has a native feature to automatically restart all the open apps the next time you turn on or restart your computer or VPS.

 

For Virtual Private Server (VPS)

Method 1:

Windows supports this natively through Scheduled Tasks. Setting up one for Power On is done via the command line using something along the lines of:

schtasks.exe /create /tn "Task Name" /ru SYSTEM /Sc ONSTART /tr

"C:\command2run.cmd"

 

Method 2:

Step 1. Open the Windows Startup Folder.

Step 2. Locate the terminal.exe file of MetaTrader 4 or MetaTrader 5.

Step 3. Create a shortcut of MetaTrader 4 terminal .exe file in the startup folder.

Video guide:

How to make your MetaTrader4 (MT4) application automatically start after a VPS reboot?

Details:

Step 1

Windows Startup Folder is a hidden system folder. There are two ways you can open this folder

  1. Through file explorer from the taskbar and go to this path: %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
  2. The second one is you can open it using the shell command (shell:startup). You can execute the shell command from the ‘'Run’' dialog box.
VPSFAQs10.jpg

VPSFAQs11.jpg

Step 2:

Locate the terminal.exe file

Generally, the .exe file of MetaTrader 4 is located in the C:\Program Files (x86)\Pepperstone MetaTrader 4

VPSFAQs12.jpg

Step 3.

Copy the terminal.exe file and past it into the Startup folder as a shortcut

VPSFAQs13.jpg

 

For Personal computers Windows 10 and 11

Search for Settings or Manage Your Account > Sign-in options > Restart apps, turn it on

VPSFAQs14.jpg

 

Other sites

  • The Trade Off
  • Partners
  • Group
  • Careers

Ways to trade

  • Pricing
  • Trading Accounts
  • Premium Clients
  • Active trader program
  • Refer a friend
  • Trading hours

Platforms

  • Trading Platforms
  • Trading tools

Markets and Symbols

  • Forex
  • Shares
  • ETFs
  • Indices
  • Commodities
  • Currency indices
  • CFD Forwards

Analysis

  • Navigating Markets
  • The Daily Fix
  • Pepperstone Pulse
  • Meet our Analysts

Learn to Trade

  • Trading Guides
  • Videos
  • Webinars
Pepperstone logo
support@pepperstone.com
+254203893547
The Oval | Ring Road Parklands
P.O.Box 2905-00606 | Nairobi, Kenya
  • Legal documents
  • Privacy policy
  • Website terms and conditions
  • Cookie policy
  • Sitemap

Risk Warning:

Margin trading products are complex instruments and come with a high risk of losing money rapidly due to leverage. 86% of retail investor accounts lose money when trading on margin with this provider. You should consider whether you understand how margin trading works and whether you can afford to take the high risk of losing your money. You don't own or have rights in the underlying assets. Past performance is no indication of future performance and tax laws are subject to change. The information on this website is general in nature and doesn't take into account your personal objectives, financial circumstances, or needs. Please read our PSF, RDN and other legal documents and ensure you fully understand the risks before you make any trading decisions. We encourage you to seek independent advice.

Pepperstone Markets Kenya Limited 2nd Floor, The Oval, Ring Road Parklands, PO Box 2905-00606 Nairobi, Kenya is licensed and regulated by the Capital Markets Authority.

© 2025 Pepperstone Markets Kenya Limited | Company No.PVT-PJU7Q8K | CMA License No.128