Windows Servers

How to Install Windows Server 2019 on a Server or VPS

By NileVPS Team · Published · 5 min read

اقرأ المقال بالعربي

Windows Server 2019 is still widely used, mainly because many line-of-business applications were certified on it and organizations prefer not to change a stable platform. Installing it takes less than an hour, but a few choices during setup, such as the edition and the installation option, cannot be undone without reinstalling. This guide explains those choices, covers the extra step needed on KVM-based virtual servers, and lists the configuration tasks to complete right after the first login.

Is Windows Server 2019 the right version?

Windows Server 2019 left mainstream support in January 2024 and receives security updates under extended support until January 9, 2029. That is enough runway for existing applications, but for a brand-new project with no compatibility constraint, a newer release such as Windows Server 2022 gives you a longer support window. Choose 2019 when your software vendor requires it or when you need to match existing servers.

Minimum requirements

Microsoft's published minimums are low, but they are not realistic for production:

ComponentOfficial minimumPractical starting point
CPU1.4 GHz 64-bit2 vCPU
RAM512 MB (Server Core), 2 GB (Desktop Experience)4 GB for Desktop Experience
Disk32 GB60 GB or more, ideally on NVMe or SSD
NetworkGigabit-capable adapterAny adapter with drivers for your platform

Updates, page files and application logs consume disk space quickly, so a 32 GB system drive fills up within months.

Choosing the edition and installation option

Standard vs Datacenter

Both editions share the same core features. The main differences are virtualization rights and some advanced features such as Storage Spaces Direct and Shielded VMs, which are Datacenter only. For a single VPS running applications, Standard is the usual choice. Your license key or provider image determines which edition you can activate.

Server Core vs Desktop Experience

  • Server Core has no graphical shell. It uses less RAM and disk, has fewer components to patch, and is managed with PowerShell, sconfig, Windows Admin Center or remote MMC consoles.
  • Desktop Experience includes the familiar desktop and Server Manager. It is easier for teams used to the GUI and required by some applications.

You cannot switch between them later in Windows Server 2019, so decide before installation.

Installation on a VPS: image or ISO

If your provider supplies a ready Windows image, the setup wizard is skipped and you can jump to the first configuration tasks below. If you install from an ISO instead, you mount the installation media and work through the browser console. You can compare Windows VPS sizes on the pricing page before you start.

The VirtIO driver step

On KVM-based virtual machines the disk and network adapters are usually VirtIO devices. The Windows installer does not include drivers for them, so the disk selection screen shows no drives. The fix:

  1. Attach the virtio-win driver ISO in addition to the Windows ISO.
  2. On the "Where do you want to install Windows?" screen, click Load driver.
  3. Browse to the storage driver folder for your OS, for example vioscsi\2k19\amd64 or viostor\2k19\amd64, depending on the controller type.
  4. After the disk appears, continue normally. Install the network driver (NetKVM) from the same ISO after setup, or run the guest tools installer included on it.

Step-by-step setup

  1. Boot from the installation media and choose language, time format and keyboard layout.
  2. Click Install now and enter the product key, or choose to enter it later if you have one ready for activation.
  3. Select the edition and installation option, for example Windows Server 2019 Standard (Desktop Experience).
  4. Accept the license terms and choose Custom: Install Windows only.
  5. Select the disk, loading drivers if needed, and click Next. Setup copies files and reboots a few times.
  6. Set a strong password for the built-in Administrator account and log in.

First configuration tasks

Do these before installing any application:

# Rename the server (reboots)
Rename-Computer -NewName "APP01" -Restart

# Set the time zone, for example Egypt
Set-TimeZone -Id "Egypt Standard Time"

# Check activation status
slmgr /dli

On Server Core, the text menu sconfig covers renaming, network settings, Remote Desktop, updates and time zone in one place.

Networking

If your provider assigns the address by DHCP, you can usually keep it. If you need a static configuration, copy the exact IP, prefix length, gateway and DNS servers from your provider's panel, because a typo here cuts off remote access and leaves you with only the console.

Remote Desktop

Enable RDP with Network Level Authentication:

Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections -Value 0
Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

Then restrict port 3389 to your own IP addresses in the cloud firewall. Open RDP ports are among the most attacked services on the internet.

Updates

Run Windows Update until no updates remain, rebooting between rounds. A freshly installed 2019 image may need several cycles. After that, take a snapshot so you have a clean, patched baseline to return to.

Hardening

Create a separate admin account, enable an account lockout policy, keep Microsoft Defender on, and install only the roles you need. Our guide on Windows Server security best practices covers these steps in depth.

FAQ

Can I upgrade Windows Server 2019 to a newer version in place?

Yes, in-place upgrades from 2019 to 2022 are supported, but a clean installation with application migration is usually safer. Always take a full backup or snapshot before attempting an in-place upgrade.

Why does the installer not show any disk?

On virtual machines this almost always means the storage controller needs a driver, typically VirtIO on KVM. Load the driver from the virtio-win ISO with the Load driver button and the disk will appear.

Is Server Core suitable for beginners?

It is manageable, especially with Windows Admin Center, but if your team relies on graphical tools or your application requires a desktop, start with Desktop Experience. Choose carefully, because you cannot switch later.

Related guides