# How to copy Expert Advisors from your home PC to a VPS (/docs/forex-vps/copy-expert-advisors-from-home-pc-to-vps)













When you order a Forex VPS, copying your Expert Advisors (EAs) and their settings to the new server saves you from having to configure everything manually. This guide outlines the steps to transfer your EAs.

## Connect your home PC's disk to the VPS

First, create a connection between your home PC and the VPS to enable file transfer. Follow the steps in our dedicated article: [How to connect to a Windows server](/tutorials/windows-administration/connect-to-windows-server/).

## Allow experts to run on the VPS

Once you've set up the connection, allow EAs to run on the VPS:

1. Open MetaTrader on the VPS.
2. In the main menu, select **Tools** → **Options**.
3. Switch to the **Expert Advisors** tab.
4. Make sure the following options are checked:
   * **Allow algorithmic trading**
   * **Allow DLL imports**

<img alt="Expert Advisors options in MetaTrader" src={__img0} />

## Export EA files from your home PC

EAs consist of several files located in the `Experts`, `Libraries`, and `Presets` folders inside the MetaTrader data folder.

1. Open MetaTrader on your PC.
2. In the main menu, go to **File** → **Open Data Folder**.

<img alt="Open Data Folder option in MetaTrader File menu" src={__img1} />

3. A new Explorer window will open. Find the `MQL5` or `MQL4` folder and open it.

<img alt="MQL5 folder in MetaTrader data directory" src={__img2} />

4. Copy the `Experts`, `Libraries`, and `Presets` folders from that location to your desktop or another easily accessible location.

<img alt="Copying Experts, Libraries and Presets folders" src={__img3} />

5. On the VPS, navigate to your home PC's connected drive and find the exported folders there. Copy them to the VPS desktop.

## Import EA into MetaTrader on the VPS

1. On the VPS, open MetaTrader.
2. In the main menu, go to **File** → **Open Data Folder**.
3. In the Explorer window that opens, navigate to the `MQL5` or `MQL4` folder.
4. Copy the `Experts`, `Libraries`, and `Presets` folders from the VPS desktop into this folder. Confirm overwriting if prompted.
5. In MetaTrader, in the **Navigator** panel, expand **Expert Advisors**, then expand **Advisors**. Right-click the **Advisors** folder and select **Refresh**. The newly copied EA should appear.

<img alt="Refreshing the Advisors folder in MetaTrader Navigator" src={__img4} />
