This guide walks through running a multiplayer game server on a Windows VPS: choosing the right specs, opening the required ports in Windows Firewall, tuning the OS for sustained load, and automating restarts and backups. It assumes you already have RDP access to a Windows Server instance with an administrator account, and that your provider gives you a public IPv4 address.
Pick the Right Specs for Your Game
Game servers are single-thread-heavy and RAM-hungry. Choose a plan with a fast CPU clock rather than many weak cores, and confirm the disk is NVMe or SSD – world saves and map loads depend on it. RAM is the number one scaling factor for player slots, so size it for your expected peak population, not your launch-day group.
| Game | Recommended VPS | Default port(s) |
|---|---|---|
| Minecraft (Java) | 2-4 vCPU, 4-6 GB RAM | 25565 TCP |
| Valheim | 2 vCPU, 4 GB RAM | 2456-2458 UDP |
| ARK: Survival Evolved | 4 vCPU, 8 GB RAM | 7777 UDP, 27015 UDP |
| Palworld | 4 vCPU, 8 GB RAM | 8211 UDP |
| Counter-Strike 2 | 4 vCPU, 8 GB RAM | 27015 UDP/TCP |
Check the provider’s CPU policy too: some budget plans throttle sustained 100% CPU usage, which is exactly what a populated game server produces. You can compare Windows VPS providers on our comparison table for CPU allocations, RAM, and network limits before ordering.
Open Ports in Windows Firewall
Windows Server blocks inbound traffic by default. Add rules for your game’s ports, and make sure RDP (3389) is still reachable:
netsh advfirewall firewall add rule name="Minecraft TCP" dir=in action=allow protocol=TCP localport=25565
netsh advfirewall firewall add rule name="Valheim UDP" dir=in action=allow protocol=UDP localport=2456-2458
netsh advfirewall firewall add rule name="RDP" dir=in action=allow protocol=TCP localport=3389
If your provider assigns the VPS an IP behind NAT, enable port forwarding or 1:1 NAT in their control panel and point it at the VM’s private IP. Players connect to the public IP and port, so this step is easy to miss. After adding rules, test from outside the server with a port checker or by joining from a second machine – a rule that only allows traffic on the Public profile while the network is classified as Private is a classic gotcha.
Tune Windows for Sustained Game Load
- Set the High Performance power plan so the CPU does not downclock:
powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c. - Disable visual effects for best RDP responsiveness while you manage the box.
- Exclude the game directory and server process from Windows Defender real-time scanning.
- Install the Microsoft Visual C++ Redistributables (x64) – most game servers need them.
- Give the page file room to grow; a crash-to-desktop on a 4 GB RAM server is often just a full page file.
Add-MpPreference -ExclusionPath "D:\Games"
Add-MpPreference -ExclusionProcess "java.exe", "PalServer-Win64-Test-Cmd.exe"
Monitor the box with Task Manager or Performance Monitor for the first few evenings of real traffic. Note your peak CPU and RAM so you know whether the plan needs an upgrade before players complain about lag – and remember that the game process alone is not the whole story: Windows itself and any monitoring agents consume a slice of the same resources.
Automate Restarts and Backups
Create a scheduled task that restarts the server process if it exits, and mirror world files off the VPS nightly. A simple robocopy job covers the local copy:
robocopy D:\Games\Minecraft\world E:\backup\world /MIR /R:2 /W:5 /LOG:E:\backup\world.log
Before you advertise a public server, confirm your provider’s terms of service allow game hosting. Most Windows VPS providers permit it explicitly, but a few budget brands prohibit game servers or charge extra for sustained CPU. It is much cheaper to verify this before ordering than to have the server suspended mid-season. Also set a static server name and firewall rules for the game ports before sharing the IP with players.
Then upload that backup to object storage or a second VPS so a provider failure does not destroy your players’ progress. Schedule the copy for 4-5 AM local time when the server is quietest, and keep the last seven daily copies so a corrupted world can be rolled back. More Windows VPS setup and administration guides are available on windows-vps.org.
For a budget-friendly start, Database Mart sells Windows VPS plans with dedicated CPU options suited to game hosting.



