Tutorials  /  Linux Basics

Minecraft Server on Windows Server: Step-by-Step Setup Guide

Ccentron Redaktion · June 2025 ·5 min read ·Linux Basics, Tutorial

Running a Minecraft server on Windows Server can be ideal if you’re more comfortable using a graphical interface. This step-by-step guide shows you how to install and configure a Minecraft server on any version of Windows Server.

Prerequisites: Ensure you have access to your Windows Server through RDP (Remote Desktop Protocol) and that Java is installed before proceeding.

Step 1: Prepare a Directory and Get Minecraft Server Files

You’ll first need a designated folder to store your Minecraft server’s data. A good location might be a sub-directory on your Desktop, such as C:\Users\Administrator\Desktop\Minecraft.

Download the Minecraft server software from the official website. Use the standard Minecraft server version, which is typically listed at the bottom of the page.

If you’re accessing your Windows Server via the default Remote Desktop application on another Windows device, you can simply copy and paste the files. For Mac users using Microsoft’s official Remote Desktop client, you must activate folder redirection. This option creates a shared folder, making it possible to transfer files between your computer and the server.

Move the downloaded .jar file into your Minecraft directory.

VM

Matching infrastructure at centron

No hardware needed to follow along: ccloud³ VMs with full root access start at €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

Step 2: Set Up a start.bat Script

Using a .bat file simplifies the process of launching your server. Each time you open the .bat file, Windows will run the included command to start Minecraft properly. Here's a sample .bat script:

Code
java -Xms1024M -Xmx1024M -jar name.jar -o true
PAUSE

Let’s break down the elements you’ll need to customize:

  • -Xms1024M – This sets the minimum memory your server will use. Replace 1024M with your desired amount, using M for megabytes or G for gigabytes. For instance, 1M allocates 1 MB of RAM, and 1G assigns 1 GB.
  • -Xmx1024M – This defines the maximum memory allocation for the server. The format is the same as for -Xms.
  • name.jar – Replace this with the exact filename of the server’s .jar file you downloaded earlier.

Place both your .jar and .bat files into the same directory (e.g., C:\Users\Administrator\Desktop\Minecraft). You can name your batch file anything—start.bat is a common choice. Simply double-click it to launch your Minecraft server.

Step 3: Agree to the EULA Terms

To proceed, you must indicate that you accept the End User License Agreement. Open the eula.txt file and modify the line from eula=false to eula=true. This action confirms your acceptance of the EULA terms.

Step 4: Configure Server Port and Additional Settings

Once you've accepted the EULA by updating the eula.txt, restart the server using your .bat script. The server will now generate essential folders and files, including server.properties.

In the server.properties file, locate this line:

Code
server-port=25565

This value specifies the port used by your Minecraft server. If you opt to change it, you’ll have to enter the new port when connecting via the Minecraft client using the format [YourServerIP]:Port. For instance, if the port is changed to 25569, you'd connect using [YourServerIP]:25569. Keeping the default port 25565 lets Minecraft connect automatically without entering a port. Alternatively, you can configure a DNS SRV record and use a custom domain name instead of an IP address.

Unless you have a specific requirement—like operating multiple servers on the same VPS—it’s best to leave the port set to the default 25565.

Step 5: Allowing the Server Port Through the Firewall

The next step is to make sure the firewall permits traffic on the port you selected. To learn how to open a port on Windows Server 2012, refer to the tutorial Open a Port in Windows Firewall on Server 2012, and configure the chosen port accordingly.

At this stage, your Minecraft server is fully operational. You can now log in using the official Minecraft client.

Conclusion: Running a Minecraft Server on Windows Server

Setting up a Minecraft server on a Windows Server environment is a straightforward process if you follow the correct steps—from downloading the necessary files and configuring memory usage to adjusting network settings and firewall rules. Once complete, your server will be up and running, ready to host custom multiplayer sessions. With Windows' intuitive interface and powerful configuration options, you can efficiently manage your Minecraft server with ease and flexibility.

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Linux Basics
Teilen
Noch offene Fragen?

Our team will help you with your specific setup - in German or English, by people who run the platform themselves.

War dieses Tutorial hilfreich?

Your answer is stored anonymously and helps us improve our tutorials.

Kommentare

No comments yet - be the first to ask a question about this tutorial.

Sign in to comment

Comments are open to centron customers. Sign in to your account to ask a question about this tutorial.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren