How to Install Windows on Any VPS (KVM) – Step-by-Step Guide

If you have a Linux VPS but need Windows for specific applications, you don’t need to buy a new server. With a simple script, you can install Windows 10 Enterprise LTSC 2021 on any KVM-based VPS and enable RDP access in minutes.

This guide walks you through the entire process, from updating your Linux VPS to connecting to Windows via Remote Desktop.


⚡ Why Install Windows on a VPS?

Installing Windows on a VPS can be useful for:

  • Running Windows-only applications or software testing
  • Hosting .NET applications or Windows services
  • Using RDP access for remote work

📝 Requirements

Before starting, ensure you have:

  • A KVM-based VPS (this method does not work on OpenVZ or LXC)
  • At least 20GB of free disk space
  • Root SSH access to your VPS

Step 1: Update Your Linux VPS

Keep your system up to date before installing Windows:

apt update && apt upgrade -y

This ensures all packages are current and reduces potential errors during installation.


Step 2: Install curl (or wget)

We’ll need a tool to download the reinstall script:

apt install curl -y

If curl isn’t available, wget works too.


Step 3: Download the Windows Reinstall Script

Download the script from GitHub using either command:

curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
# OR
wget -O reinstall.sh https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh

This script handles Windows installation, drivers, and RDP setup automatically.


Step 4: Run the Script to Install Windows

Execute the script with your desired Windows image and password:

bash reinstall.sh windows --image-name "Windows 10 Enterprise LTSC 2021" --lang en-US --password 86931changeTHISlater51892

What this does:

  • Installs Windows 10 Enterprise LTSC 2021
  • Creates the Administrator account with your password
  • Enables RDP access
  • Installs drivers automatically

Important: Change the password after the first login for security.


Step 5: Connect to Windows via RDP

Once the script finishes and the VPS reboots, connect using Remote Desktop (RDP):

  • Host/IP: Your VPS IP address
  • Username: Administrator
  • Password: The one you set in Step 4

Now you have a fully functional Windows VPS ready for work or testing. ✅


🔒 Security Tips

  • Change the default password immediately
  • Enable Windows Firewall
  • Consider setting up RDP access over VPN for extra security

Leave a Reply

Your email address will not be published. Required fields are marked *