Pepperstone logo
Pepperstone logo
  • English
  • عربي
  • Ways to trade

    Pricing

    Trading accounts

    Pro

    Premium clients

    Refer a friend

    Active trader program

    Trading hours

    24-hour trading

    Maintenance schedule

  • Trading platforms

    Trading platforms

    TradingView

    Pepperstone platform

    MetaTrader 5

    MetaTrader 4

    cTrader

    Integrations

    Trading tools

  • Markets

    Markets to trade

    Forex

    Shares

    ETFs

    Indices

    Commodities

    Currency Indices

    Cryptocurrencies

    Dividends for index CFDs

    Dividends for share CFDs

    CFD forwards

  • Market analysis

    Market news

    Navigating Markets

    The Daily Fix

    Meet the analysts

  • Learn to trade

    Trading guides

    CFD trading

    Forex trading

    Commodity trading

    Stock trading

    Crypto trading

    Bitcoin trading

    Technical analysis

    Day trading

    Scalping trading

    Upcoming IPOs

    Gold trading

    Oil trading

    Webinars

  • Professional Clients

  • Partners

  • About us

  • Help and support

  • English
  • عربي
  • Launch webtrader

  • Ways to trade

  • Trading platforms

  • Markets

  • Market analysis

  • Learn to trade

  • Professional Clients

  • 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
  • Pro
  • Premium clients
  • Active trader program
  • Refer a friend
  • Trading hours

Platforms

  • Trading platforms
  • Trading tools

Markets and Symbols

  • Forex
  • Shares
  • ETFs
  • Indicies
  • Commodities
  • Currency indicies
  • Cryptocurrencies
  • CFD forwards

Analysis

  • Navigating Markets
  • The Daily Fix
  • Meet the Analysts

Learn to trade

  • Trading Guides
  • Videos
  • Webinars
Pepperstone logo
support.ae@pepperstone.com
+97145734100
Al Fattan Currency House
Level 15, Office 1502 A, Tower 2
P.O.Box 482087, DIFC
Dubai, United Arab Emirates
  • Legal documents
  • Privacy policy
  • Website terms and conditions
  • Cookie policy
  • Whistleblower policy
  • Sitemap

© 2025 Pepperstone Financial Services (DIFC) Limited

Risk warning: Trading CFDs and FX carries significant risk. Trading OTC derivatives may not be suitable for everyone so please ensure that you fully understand the risks involved and take care to manage your exposure. You have no ownership of the underlying asset. Pepperstone Financial Services (DIFC) Limited does not issue advice, recommendations or opinion in relation to acquiring, holding or disposing of OTC derivatives nor is Pepperstone a financial advisor. All services are provided on an execution only basis. Pepperstone Financial Services (DIFC) Limited only provides information of a general nature and does not take into account your financial objectives, personal circumstances. We recommend that you seek independent personal financial or legal advice.

Pepperstone Financial Services (DIFC) Limited is registered at Al Fattan Currency House, Tower 2, Level 15, Office 1502 A, P. O. Box 482087, DIFC, Dubai, United Arab Emirates and is regulated by the DFSA under license number F004356.

The product issuer is Pepperstone Group Limited registered at Level 16, Tower One, 727 Collins St, Docklands, Victoria 3008, Australia and is licensed and regulated by the Australian Securities and Investments Commission, AFSL 414530. You should consider whether you are part of the product issuer’s target market by reviewing the TMD, and read the PDS and other legal documents to ensure you fully understand the risks before you make any trading decisions.