VPS & servers4 min read

Install Windows on your VPS: with your own licence and VirtIO drivers

Automatically in about 20 minutes or step by step: your own ISO, VirtIO drivers, UEFI and TPM, network and Remote Desktop.

We do not offer preinstalled Windows, but you can install Windows with your own licence. The quickest way is automatic: load the ISO, choose the edition, set a password, done. If you prefer to click through setup yourself, the manual steps are further below.

We do not provide Windows itself. You need your own Windows licence.

What you need

  • A server with at least 2 cores, 4 GB of memory and 40 GB of storage, 64 GB for Windows 11. 8 GB of memory is recommended.
  • A download link to your Windows ISO (https). Microsoft and most licence portals provide one.
  • Enough ISO storage: a Windows ISO is 5 to 7 GB. You can extend the storage in the Resources tab if needed.

Install automatically

  1. Load your ISO in the ISO / media tab under Load ISO from the web and wait until it is ready.
  2. Scroll to the card Install Windows automatically and choose the ISO, the edition, the ISO language and the keyboard.
  3. Enter your product key. If you leave it empty, Windows installs with Microsoft's public setup key and you activate it with your own afterwards. For an evaluation ISO (Microsoft trial) tick the box instead.
  4. Set the administrator password and confirm with your account password.

The server is stopped, the system disk wiped, UEFI, Secure Boot and TPM are switched on, and Windows installs without further clicks: drivers, network with your addresses, Remote Desktop. With 4 cores this takes about 20 minutes, considerably longer with fewer cores. You can watch the progress in the VNC console. Afterwards connect to your server's address via Remote Desktop, as Administrator for Windows Server or Admin for Windows 11.

We do not store the password. It is only in a small answer file on the server host, which is deleted automatically after two hours.

Install manually

1. Note your network details

Under Windows you will enter the address by hand. Address, prefix and gateway are shown in the Network tab of your server, write them down.

2. Load the ISO

  1. Open the ISO / media tab.
  2. Under Load ISO from the web, paste the link to your Windows ISO and click Load. If a SHA-256 checksum is shown next to the download, enter it as well.
  3. Wait until the ISO is shown as ready. You do not have to keep the window open.
  4. Click Attach next to the ISO.
  5. Under VirtIO drivers for Windows, click Insert drivers. The drivers appear as a second DVD drive and your ISO stays attached.

As long as an ISO is attached, the server boots from it first.

3. UEFI, Secure Boot and TPM

UEFI, Secure Boot and TPM 2.0 are required for Windows 11 and recommended for Windows Server.

  1. Stop the server; the firmware can only be changed while it is stopped.
  2. Open Settings, then Firmware (UEFI, Secure Boot, TPM).
  3. Switch on UEFI instead of BIOS, plus Secure Boot and TPM 2.0.

The preinstalled Linux will no longer boot afterwards, which is intended here: Windows replaces it.

4. Installation in the console

  1. Start the server from the panel.
  2. In the Console tab, click Open VNC console. Allow pop-ups for the page if no window opens.
  3. When "Press any key to boot from CD or DVD" appears, press a key quickly.
  4. At first Windows setup finds no disk. Click Load driver, then Browse, and choose the folder vioscsi on the driver drive, then your Windows version and amd64. The disk then appears.
  5. Install as usual. If the server restarts during installation and asks for a key again, press none: it should now boot from the disk.

5. Set up drivers and network

After logging in, Windows still lacks the network driver.

  1. Open the driver drive in Explorer and run virtio-win-guest-tools.exe. It installs all remaining drivers, including the network card, and the guest agent.
  2. Then enter the noted address manually under Settings > Network & internet > Ethernet > IP assignment: IPv4 address, subnet prefix (for /24 that is 24 or the mask 255.255.255.0), gateway and a DNS server of your choice.
  3. Check in PowerShell: ping example.com

6. Clean up and secure

  • In the ISO / media tab, eject both drives and delete the ISO when you no longer need it. Otherwise it takes up your ISO storage.
  • Restrict the firewall in the customer area: Remote Desktop (TCP 3389) is one of the most common attack targets. Ideally allow the port only from your own address. How to do that is described in Secure your server: combine the panel firewall and UFW.
  • Then connect to your server's address with Remote Desktop.

A reinstall from the panel sets the server back to a Linux system and the firmware back to BIOS without TPM.

Written by TryNxt team

We build and run TryNxt ourselves and write down here what we learn along the way.