How-To Setup a arma 2/OA Epoch server on your windows machine


🖤 Founder
Dec 6, 2019
Instructions (Windows o/s)

The following instructions will guide you through setting up one Arma 3 server on 1 box, however they will also set the foundations for installing multiple servers on that same box:
  1. Install the latest version of DirectX
  2. Create the following empty directories
    • C:\EpochServer\Steam
    • C:\EpochServer\ServerFiles
  3. Download steamcmd.exe and save it to your targetted Steam install directory (E.g C:\Apps\Steam)
  4. Run the steamcmd.exe. (This will download and install the required steam files to your custom steam directory)
  5. Create an install.cmd file and save it to C:\EpochServer
    @echo off
    :: DEFINE the following variables where applicable to your install
    SET STEAMLOGIN=mylogin mypassword
    SET BRANCH0=Arma 2 server files
    SET A2SERVER=233780
    SET BRANCH1=Arma 2 Operation Arrowhead server files
    SET A2OASERVER=233780
    SET EPOCH=C:\EpochServer\ServerFiles
    SET STEAMPATH=C:\EpochServer\Steam
    :: _________________________________________________________
    echo You are about to install dayz epoch server.
    echo Dir: %EPOCH%
    echo Branch: %BRANCH0%
    echo Key "ENTER" to proceed
    %STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %EPOCH% +"app_update %EPOCH%" validate +quit
    echo .
    echo Branch: %BRANCH1%
    echo Key "ENTER" to proceed
    %STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %EPOCH% +"app_update %A2OASERVER%" validate +quit
    echo .
    echo Your dayz epoch server is now installed on your windows machine.
    echo key "ENTER" to exit
  6. Run the install.cmd file
  7. Just after logging into Steam, the console window will hang and ask for a validation key
    • Steam will have automatically sent you an email with this validation code, which you then need to input at the command prompt
    • The Update console window should then continue to run and install ArmA3 ((DEV or STABLE) version to the target directory as defined in the .cmd file) eg (D:\Games\ArmA3\A3Master)
  8. Create a shortcut for the ArmA3Server.exe on the server desktop
  9. Add the following parameters to the Target Line in the shortcut tab of the newly created desktop shortcut
    • -port=2302 (Required if running multiple server instances including any previous ArmA2 instances)
    • "-profiles=D:\Games\Arma3\A3Master"
    • -config=CONFIG_server.cfg
    • -world=empty
      • so it looks something similar to the following
      • "D:\Games\Arma3\A3Master\arma3server.exe" "-profiles=D:\Games\Arma3\A3Master" -port=2302 -config=CONFIG_server.cfg -world=empty
  10. Setup the #Port Forwarding in your firewall or\and router accordingly, also doesn't seems like implemented in some routers Port Trigger feature works with Arma 3 Server (tested with ASUS RT-N66U)
  11. Make sure you have:
    • Network Discovery enabled for your network type (the setting can be found in [Control Panel\Network and Internet\Network and Sharing Center\Advanced sharing settings]. If you have problem with its state reset on the interface reopen, check if all of the required for this feature services are running: DNS Client, Function Discovery Resource Publication, SSDP Discovery, UPnP Device Host; (makes server accessible from internet) (maybe it's about the services and not the network discovery)
    • Windows Media Player Network Sharing Service enabled (makes server joinable) ;

If you can't connect to server through server browser try to use "direct connect": this is a client side issue (doesn't mean other clients will have it too), reason for the issue for now unknown, I can say it is not related to: Windows services, Windows network settings, network routers, firewalls...

Device Host; (note: Changes to the above 2 settings require Arma relaunch to be applied, as for server same for client machines;)

Create a simple Notepad document called "server.cfg" and save it to the root folder of your ArmA3 install on the server D:\Games\ArmA3\A3Master

  1. Start up your shortcut, check the server runs. (You will see a console pop up in your desktop after a few seconds)
  2. Close the console window down, then you will need to edit the following files which will have been automatically created
    • D:\Games\Arma3\A3Master\Users\Adminstrator\Administrator.Arma3Profile
    • D:\Games\Arma3\A3Master\Users\Administrator\Arma3.cfg
  3. Restart the server
  4. Start up your client Arma3.exe (Running the same branch as the server, (eg Stable or DEV) and you should then be able to see your server in the server browser (Filters are available to reduce the server list)
  5. Login to your server using the password you defined in #CONFIG_server.cfgby typing "/" to open the chat window and then type (#login ADMINPASSWORD) followed by enter.

    Make sure to never forget the '#' in front of any server command!
  6. Once logged in you will be presented with a mission list, select one of the missions to start the game
  7. Prove the stability of your server by running BI missions initially before you start adding user made content
Instructions (Linux o/s)
Last edited: