• Home
  • Pro
  • Partners
  • Help and support
  • English
  • 中文版
Pepperstone logo
Pepperstone logo
  • Ways to trade
    • Trading accounts

      Choose from two account types depending on your strategy

    • Premium clients

      Exclusive rewards and bespoke benefits for high-vol traders

    • Pricing

      Discover our tight spreads, plus all other possble fees

    • Pro
    • Active trader program
    • Refer a friend
    • Trading hours
    • 24-hour trading
    • Maintenance schedule
    • Risk management
    • Funding and withdrawals
  • Markets
    • Margin FX

      Get great rates on majors like EUR/USD, plus minors and exotics

    • Commodity CFDs

      Trade on metals, energies & softs, with oil spreads from 2 cents

    • Cryptocurrency CFDs

      Speculate on Bitcoin, Ether and more, with a trusted broker

    • Share CFDs
    • Index CFDs
    • ETF CFDs
    • Currency Index CFDs
    • Dividends for index CFDs
    • Dividends for share CFDs
    • CFD forwards
  • Trading platforms
    • TradingView

      Trade through the world-famous supercharts with great pricing

    • MetaTrader 5

      Explore the apex in trading automation with our execution tech

    • The Pepperstone platform
    • MetaTrader 4
    • cTrader
    • Trading tools
  • Market analysis
    • Navigating markets

      Latest news and analysis from our experts

    • The Daily Fix

      Your regular round-up of key events

    • Meet the analysts

      Our global team giving your trading the edge

  • About us
    • Who we are

      Pepperstone was born from the dream of making trading better

    • Company news
    • Company awards
    • Protecting clients online
    • Trading accounts

      Choose from two account types depending on your strategy

    • Premium clients

      Exclusive rewards and bespoke benefits for high-vol traders

    • Pricing

      Discover our tight spreads, plus all other possble fees

    • Pro
    • Active trader program
    • Refer a friend
    • Trading hours
    • 24-hour trading
    • Maintenance schedule
    • Risk management
    • Funding and withdrawals
    • Margin FX

      Get great rates on majors like EUR/USD, plus minors and exotics

    • Commodity CFDs

      Trade on metals, energies & softs, with oil spreads from 2 cents

    • Cryptocurrency CFDs

      Speculate on Bitcoin, Ether and more, with a trusted broker

    • Share CFDs
    • Index CFDs
    • ETF CFDs
    • Currency Index CFDs
    • Dividends for index CFDs
    • Dividends for share CFDs
    • CFD forwards
    • TradingView

      Trade through the world-famous supercharts with great pricing

    • MetaTrader 5

      Explore the apex in trading automation with our execution tech

    • The Pepperstone platform
    • MetaTrader 4
    • cTrader
    • Trading tools
    • Navigating markets

      Latest news and analysis from our experts

    • The Daily Fix

      Your regular round-up of key events

    • Meet the analysts

      Our global team giving your trading the edge

    • Who we are

      Pepperstone was born from the dream of making trading better

    • Company news
    • Company awards
    • Protecting clients online

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 & Symbols

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

Analysis

  • Navigating Markets
  • The Daily Fix
  • Meet the analysts

Learn to Trade

  • Trading Guides
  • Videos
  • Webinars
Pepperstone logo
support@pepperstone.com
1300 033 375
Level 16, Tower One, 727 Colins Street
Melbourne, VIC Australia 3008
  • Legal documents
  • Privacy policy
  • Website terms and conditions
  • Cookie policy
  • Whistleblower Policy
  • Sitemap

© 2025 Pepperstone Group Limited

Risk Warning: Trading CFDs and margin FX is risky. It isn't suitable for everyone and if you are a professional client, you could lose substantially more than your initial investment. 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. You should consider whether you’re part of our target market by reviewing our TMD, and read our PDS and other legal documents to ensure you fully understand the risks before you make any trading decisions. We encourage you to seek independent advice if necessary.

Pepperstone Group Limited is located at Level 16, Tower One, 727 Collins Street, Melbourne, VIC 3008, Australia and is licensed and regulated by the Australian Securities and Investments Commission.

The information on this site and the products and services offered are not intended for distribution to any person in any country or jurisdiction where such distribution or use would be contrary to local law or regulation.

© 2024 Pepperstone Group Limited | ACN 147 055 703 | AFSL No.414530