How to setup DayZ Standalone Server on Windows Server 2019

It has been almost 11 months since this post about installing and setting up a Dayz server was made. Here is a fresh guide to setting up your DayZ Standalone server with differences to last time.

I will be using Windows Server 2019 on Vultr, with Steam installed. This guide will work on Windows 10, 8.1 Server 2016 and Server 2012 r2. You may need to install additional runtimes depending on your OS.

Promo get a free $100 on new Vultr accounts here limited time!

vultr 100 credit free

Downloading and Installing

Open and Login to Steam.

On the top navigation bar hover on LIBARY and click TOOLS from the drop down.

DayZ server setup libraryThis will open up the Tools page which is a list of extras for your games like level builders, config editors, servers and more.

DayZ server setup toolsFind DayZ Server in the list, right click it and click Install game.

DayZ server setup install

You will then see the install size and create shortcut options, click NEXT.

DayZ server setup install next

Read and agree to the terms (if you agree) and the files will be downloaded which you can view the progress in the Downloads tab. As of this post the server files size is 682.3 MB.

Once the download has finished navigate to: C:\Program Files (x86)\Steam\steamapps\common\DayZServer and check if your files are there.

DayZ server setup directory

You can move the DayZServer directory elsewhere if you want but this guide will be based on the files being located at its default location as above.

Setting up

Create the start batch file. A batch file is a DOS script which executes upon double clicking.

Right click and create a new textfile, rename it to start.bat now right click and click edit.

There are many server start, stop and restart batch files on the internet. Feel free to search for them, here is what i will be using:

@echo off
::Server name
set serverName=Jims DayZ server
::Server files location
set serverLocation="C:\Program Files (x86)\Steam\steamapps\common\DayZServer"
::Server Port
set serverPort=2302
::Server config
set serverConfig=serverDZ.cfg
::Logical CPU cores to use (Equal or less than available)
set serverCPU=2
::Sets title for terminal (DONT edit)
title %serverName% batch

::DayZServer location (DONT edit)
cd "%serverLocation%"
echo (%time%) %serverName% started.
::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=)
start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck

::Time in seconds before kill server process (14400 = 4 hours)
timeout 14390
taskkill /im DayZServer_x64.exe /F
::Time in seconds to wait before..
timeout 10
::Go back to the top and repeat the whole cycle again
goto start

If you want to run the server on a port other than 2302 change it above, if you moved the DayZServer directory to another location change the path above at cd. Read up on the launch parameters here.


Next open serverDZ.cfg and edit to your preferences like server name, max players, time, third person etc etc. Read up on the serverDZ.cfg file here.

DayZ Server setup serverDZ cfgGo into the battleye folder and create a file called BEServer_x64.cfg


Change YOURPASSWORDHERE into your RCon password of choice. Save the file.

DayZ Server setup rcon BEServer x64 cfgThis is your RCon password, to see server chat, ban and kick. Having this setup is also crucial if you wanted to use BEC and scheduled restarts.

Opening ports

For your server to be seen in the DayZ ingame server browser network ports need to be open. Good news is when you install DayZ Server it now automatically opens the correct ports. You can check this by going to Windows firewall with advanced security.

Click Inbound Rules in the top left

If you see Dayz Server in the list like here:

DayZ server setup auto portsYour ports have been opened and your server will be visible in the ingame server browser. If not then go to the Ports section here for manually opening the ports.

Starting the server

Test that your DayZ server works by double clicking the start.bat file. You may get some errors such as: VCRuntime140.dll is missing and/or XAPOFX1_5.dll and/or X3DAudio1_7.dll are missing. To fix do the following:

VCRuntime140.dll is missing

For the fix go here and install the x64 bit.

XAPOFX1_5.dll and/or X3DAudio1_7.dll are missing

Install the runtime from here, it takes a couple of minutes to install.

If you get no errors upon launching and you can find your server in the ingame server browser and can join it then well done.


DayZ server setup ingame server browser