[TUTORIAL] Install Windows Server on any VPS or Dedicated Server without KVM/iLO or IPMI

myrlse

Active Member
70
2017
30
995


Hello WJ!

After many days of testing and learning, I managed to install Windows Server on my OVH VPS without KVM/iLO or IPMI and just 4GB of RAM, so here is my tutorial (theoretically it should work for all suppliers who provides a LINUX/UBUNTU RESCUE IMAGE)

NOTE:
I couldn't find a tutorial on the whole internet that could manage to install windows like this, so I think it's the first one.

(I make customs ISO´s and .gz of Windows Server 2025 | 2022 | 2019 | 2016 | 2012R2 Standard with GUI + VirtIO & Intel Drivers. If you want install another version of Windows you can make your own)

Thanks to BonGuides for "How to Add Drivers into a Windows ISO Installation Image"


TESTED IN OVH VPS (Success ✓) HETZNER VPS (Success ✓) AND ONEPROVIDER (Success?)
DISCLAIMER: The installation of the operating system is successful, the problem is at the time of login.
(This configuration from OneProvider has static IP, I tried with a script for the configuration but it does not work, so I suspect it is a blocking on the port "3389" by OneProvider.)



OVH VPS "VLE-4" ~ 11USD/Mo
4 vCore | 4 GB | 80 GB SSD NVMe | 1 Gbps

ONEPROVIDER ~ 10USD/Mo
Atom C2350 1.7 GHz 2c/2t | 4 GB DDR3 | 1× 250 GB (SSD SATA) | 1 Gbps

HETZNER ~ €3.29/Mo (NO VIRTUALIZATION CPU)
2 vCore | 4 GB | 40 GB SSD NVMe | 1 Gbps @ 20TB

HETZNER ~ €6.30/Mo (NO VIRTUALIZATION CPU)
4 vCore | 8 GB | 80 GB SSD NVMe | 1 Gbps @ 20TB


Let's begin the journey!


- Perform a clean installation of Ubuntu on your VPS/Dedicated Server

meeTm4p.jpeg



- Reboot in "Rescue Mode"
Log in with your user and password​
Code:
sudo -i

- In my 2017 tutorial "Install Windows on Online.net Dedibox SC/XC Personal Range with QEMU" I used the RAM as a disk, but in this case we only have 4GB of RAM so we need more space to locate our ISO, then we will use the machine disk.


- sda or sdb? in my case was /dev/sda

Code:
lsblk
cgdisk /dev/sda
DELETE (ALL PARTITIONS) ➤ WRITE ➤ QUITE
Type "reboot" (wait 5 minutes and connect again)
fdisk /dev/sda
type "M" enter protective/hybrid MBR
type "t" change a partition type
Hex code (type L to list all codes): type "7"
"Changed type of partition 'GPT' to 'HPFS/NTFS/exFAT'."
type "w" to save
type "q" to exit
-----------------
lsblk

sda      8:0    0 238,5G  0 disk
└─sda1   8:1    0 238,5G  0 part

fdisk /dev/sda
type "d" to delete
type "n" to create a new one
type "p" - Primary Partition (firs sector - default)
type "+25G" to create a 25GB partition

- We already have our first partition, now we need a second one where we will download our files

type "n" to create a new one
default-default-default-default

sda      8:0    0 238,5G  0 disk
├─sda1   8:1    0    25G  0 part
└─sda2   8:2    0 213,5G  0 part

type "w" to save the changes



- Now we have our second partition ready, you need to format it and mount it. (Only the second one /dev/sda2)


Code:
mkfs.ext4 /dev/sda2
mount /dev/sda2 /mnt

lsblk
sda      8:0    0 238,5G  0 disk
├─sda1   8:1    0    25G  0 part
└─sda2   8:2    0 213,5G  0 part /mnt



- Download the Windows ISO and VirtIO ISO to /mnt (wiki - PROXMOX)

I make customs ISO´s of Windows Server 2025 | 2022 | 2019 | 2016 | 2012R2 Standard with GUI + VirtIO & Intel Drivers
BACKUP: GOOGLE DRIVE

Code:
Windows Server 2012R2
wget -P /mnt https://eu1.vpssh.xyz/Windows_Server_2012R2_x64_VirtIO_Intel.iso
wget -P /mnt https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso

Windows Server 2016
wget -P /mnt https://eu1.vpssh.xyz/Windows_Server_2016_x64_VirtIO_Intel.iso
wget -P /mnt https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso

Windows Server 2019
wget -P /mnt https://eu1.vpssh.xyz/Windows_Server_2019_x64_VirtIO_Intel.iso
wget -P /mnt https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso

Windows Server 2022
wget -P /mnt https://eu1.vpssh.xyz/Windows_Server_2022_x64_VirtIO_Intel.iso
wget -P /mnt https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso

Windows Server 2025
wget -P /mnt https://eu1.vpssh.xyz/Windows_Server_2025_x64_VirtIO_Intel.iso
wget -P /mnt https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso



- Install QEMU-SYSTEM

Code:
apt-get install qemu-system -y

- Launch QEMU (paste the code and tap 2 times to start)
You need to have VNC Viewer installed on your PC to control QEMU environment​

VPS with Virtual Drive (OVH VPS):
Code:
qemu-system-x86_64 \
  -m 1G \
  -cpu host \
  -enable-kvm \
  -boot order=d \
  -drive file=/mnt/WINDOWSISONAME.iso,media=cdrom \
  -drive file=/mnt/virtio-win.iso,media=cdrom \
  -drive file=/dev/sda,format=raw,if=virtio \
  -device usb-ehci,id=usb,bus=pci.0,addr=0x4 \
  -device usb-tablet \
  -net nic,model=virtio-net-pci \
  -net user,hostfwd=tcp::3389-:3389 \
  -vnc :0 \

Dedicated Servers with Physical Drive (OneProvider):
Code:
qemu-system-x86_64 \
  -m 1G \
  -cpu max \
  -boot order=d \
  -drive file=/mnt/WINDOWSISONAME.iso,media=cdrom \
  -drive file=/dev/sda,format=raw \
  -device usb-ehci,id=usb,bus=pci.0,addr=0x4 \
  -device usb-tablet \
  -net nic,model=virtio-net-pci \
  -net user,hostfwd=tcp::3389-:3389 \
  -vnc :0 \



- Write the IP of your server and use "0" as port in VNC Viewer


NBVd7FO.jpeg



- For VPS with virtual drivers you need "Load driver" from mounted virtio-win.iso ➤ go to amd64/yourwinversion


e4A9lHu.jpeg



- Once you are in Windows, open "SERVER MANAGER" and enable "Remote desktop"


CQgSXAq.jpeg



- Now go to your provider's panel and reset the server to "normal mode" and connect via remote desktop.


7x5cSMR.png



INSTALL WINDOWS ON HETZNER VPS


I tried to install windows with the other method, but HETNZER does not have virtualization enabled, so it is impossible.
For this I created custom Windows.gz with VirtIO & Intel Drivers (like in the old days) and it worked!


EDIT: (In this case you can run the code in normal mode or rescue, its the same.)

- Go to the HETZNER control panel ➤ "Rescue"

SkfycyC.jpeg




- Copy the credentials ➤ "Power Off" ➤ "Power On" ➤ Now the system will boot in rescue mode


wJWyRnd.jpeg


Open Putty ➤ Log in with root credentials ➤ paste this code to install Windows ➤ Lets the magic happens


I make customs .gz of Windows Server 2025 | 2022 | 2019 | 2016 | 2012R2 Standard with GUI + VirtIO & Intel Drivers
BACKUP: GOOGLE DRIVE

Windows Server 2012R2
Code:
wget -O- 'https://eu2.vpssh.xyz/Windows_Server_2012R2_VirtIO_Intel.gz' | gunzip | dd of=/dev/sda

Windows Server 2016
Code:
wget -O- 'https://eu2.vpssh.xyz/Windows_Server_2016_VirtIO_Intel.gz' | gunzip | dd of=/dev/sda

Windows Server 2019
Code:
wget -O- 'https://eu2.vpssh.xyz/Windows_Server_2019_VirtIO_Intel.gz' | gunzip | dd of=/dev/sda

Windows Server 2022
Code:
wget -O- 'https://eu2.vpssh.xyz/Windows_Server_2022_VirtIO_Intel.gz' | gunzip | dd of=/dev/sda

Windows Server 2025
Code:
wget -O- 'https://eu2.vpssh.xyz/Windows_Server_2025_VirtIO_Intel.gz' | gunzip | dd of=/dev/sda

bZLxgcN.jpeg


Wait about 15-30 minutes to finish the process, putty should look like this:


a8SMlg2.jpeg



"Power Off" ➤ "Power On" ➤ Connect via remote desktop with these credentials


Code:
USER: Administrator
PASS: MyRLSE2024

QoXpFGA.jpeg



SPECIAL THANKS TO



JOIN MY TELEGRAM GROUP!
Windows without KVM/iLO or IPMI

https://t.me/+-nZfmEQSlfJkM2Q5


IF YOU FOUND THIS THREAD HELPFUL YOU CAN HELP ME MAKING A DONATION
USDT / Network ➤ TRONUSDT / Network ➤ BSC BNB Smart Chain (BEP20)BTC / Network ➤ BSC BNB Smart Chain (BEP20)
TPKZiQmmyzrfn9nGR9zyLJtC7qWQfzmykF0x133879bb1968563a5d72df6f5621d2df98e7ef760x133879bb1968563a5d72df6f5621d2df98e7ef76
 
8 comments
Hello, I'm at Oneprovider and I'm having a lot of trouble with Windows.
I found a solution Windows 2012 server

How to Run the Script​

Just run below five commands one after another :

su -

mkdir /media/script && mount -t tmpfs -o size=1m tmpfs /media/script

wget -P /media/script https://raw.githubusercontent.com/m...ith-QEMU/master/mediabots_Linux-to-Windows.sh

chmod +x /media/script/*

/media/script/mediabots_Linux-to-Windows.sh



The other Windows I can not if someone can help me please
For info the rdp works
 
Last edited:
so i can install it on scaleway dedibox just fine, windows 2025 works ok, but Kimsufi (OVH) is impossible, i tried everything and just after bios while booting it does some hdd check and probably if it wont detect OVH accepted OS it wont boot and what is crazy the HDDs then even disappear from the bios boot menu. Sad, few years ago i had kimsufi server and it worked fine installing windows server there, now its impossible, even if you have full control of bios you just cant override it in any way and it does this check and refuses to boot.
 
so i can install it on scaleway dedibox just fine, windows 2025 works ok, but Kimsufi (OVH) is impossible, i tried everything and just after bios while booting it does some hdd check and probably if it wont detect OVH accepted OS it wont boot and what is crazy the HDDs then even disappear from the bios boot menu. Sad, few years ago i had kimsufi server and it worked fine installing windows server there, now its impossible, even if you have full control of bios you just cant override it in any way and it does this check and refuses to boot.
Sur kimsufi
Il faut mettre le serveur en mode secours (rescue) puis tu passe en root
Et tu colle :
wget -O- 'https://eu2.vpssh.xyz/Windows_Server_2022_VirtIO_Intel.gz' | gunzip | dd of=/dev/sda

Sa télécharge puis te remets en mode normal et reboot
 
Sur kimsufi
Il faut mettre le serveur en mode secours (rescue) puis tu passe en root
thank you, i will try later. The problem is the Kimsufi SoftRaid 1, when i tried the server 2025 images it always failed booting and the drives then even vanished from bios until i reinstalled it back with the ovh ubuntu image.
Post automatically merged:

OVH Kimsufi just does not work, today i ordered a server with just one SSD drive and it gets stuck on this screen
Post automatically merged:

fixed image link:
Post automatically merged:

so looks like it is impossible to install windows there, if you have any more idea what to try i would try it before i cancel the server at the end of the month
 
Last edited:
the atom kimsufi i had years ago worked fine with windows server, but today these new kimsufi servers seems that it does not matter how i install it or what windows server image i use, the new kimsufi has kvm so i can see the booting process, every time it starts with network boot, even if i go to bios and set it to boot from the drive first it starts with network boot, it downloads some boot firmware and then refuses to go further if i have windows server there. I thought the 1x SSD kimsufi would work and it is just the 2x hdd softraid problem, but not even the one drive kimsufi would work this one gets stuck at "Booting from SAN drive" (as you can see on the screenshot from my previous post) and wont go any further if i have windows there.
Post automatically merged:

The two drives softraid kimsufi at boot is downloading some IPXE boot firmware, then it says "pausing before disc scan", then Chain on hard drive failed and gets into bootloop "pausing before disc scan", chain on hard disk failed. Linux boots fine, windows not.

Online.net dedicated servers work fine with windows server using these methods, but kimsufi whatever i tried it just wont get into booting windows.
 
Last edited:


Write your reply...
Back
Top