Setting up a server on Windows

Reading time: 4 min

Downloading & installing VU

First, download the latest version of VU from the VU homepage. By default, the installer will place VU in %LocalAppData%\VeniceUnleashed\client. If you don't wish to use the installer, you can download the ZIP version of the client and extract it to a folder of your choice. Just make sure that the user you will be running your server under has write permissions to that folder.

Setting up the VU server

Each server instance you wish to run must have its own server instance directory. This is a directory containing configuration files, mods, and other necessary files to run your server. By default, this folder will be in My Documents\Battlefield 3\Server (for more information on how to set up multiple server instances refer to the server configuration guide).

If this folder doesn't exist, you will need to create it. Remember the server key you generated and downloaded previously? Place it in the Server folder and name it server.key. You should now be ready to start a VU server.

Running a VU server

If you installed VU using the installer package then some shortcuts should have been added to your start menu from which you can start the VU server. Just search for VU Server in your start menu and pick one of the 30, 60, and 120Hz variants. For more information on the difference of these variants check the server configuration guide. It is recommended to restart your server every now and then so you can receive updates and fixes.

If you didn't use the installer package or want more control on how to run your server, you can launch it manually in one of two different modes:

GUI mode

GUI mode is the default operating mode for the VU server, and will create a new window with server output and other useful information. To start the server in GUI mode you need to run the VU executable (vu.exe, present in the VU installation directory) with some specific launch arguments:

vu.exe -server -dedicated

Headless mode

In headless mode, the server essentially runs without GUI and instead uses a standard console window (or attaches to an existing one). There are two ways to run the VU server in headless mode, either by passing the -headless launch argument or using the vu.com executable:

vu.exe -server -dedicated -headless
vu.com -server -dedicated

Activating the game

If when running the VU server you get an EA activation prompt or if nothing happens, then you need to activate your game. If you get the EA prompt, you can run the EA app and use the “Activate BF3” shortcut found in your start menu in order to activate the game. If you don't have that shortcut, you can either re-install the latest version of VU for it to be created, or run VU with the following arguments:

vu.exe -activate -lsx

If you're trying to activate the game on a machine that cannot run the EA app, follow the same process above on your own computer, and copy the token that will be printed in the console window during the activation process (the text between the single quotes, excluding the quotes). Then run the following command on your other machine:

vu.exe -activate -ea_token <token>

Where <token> is the token you copied previously.

Keep in mind that you might be required to re-activate your game after major Windows Updates or hardware changes.

Port forwarding

Before users can join your server you'll need to make sure that specific ports are forwarded in your router (if you're behind NAT) and unblocked by your firewall. By default, a VU server will require the following ports to be open:

Port Protocol Description
7948 UDP Monitored Harmony, the VU networking layer.
25200 UDP Frostbite networking layer.
47200 TCP Remote administration protocol (RCON).

Next up, see more details on how to configure and maintain your server.

Last modified February 19, 2024: Add "Activate BF3" shortcut instructions (80a858b0)