To begin with, we need to start the server in Resque mode. Log in.
Go to the /tmp directory:
Download the vKVM software:
wget https://mirror.spacecore.info/software/vkvm-latest.tar.gz && tar xvf vkvm-latest.tar.gz
Download the required OS image:
You can find a full list of operating systems on our mirror:
Next, run the software:
/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 10000M -localtime -enable-kvm -cpu core2duo,+nx -smp 2 -usbdevice tablet -k en-us -cdrom Windows_10_x64_1909.iso -hda /dev/nvme0n1 -vnc :1 -boot d
After the "-cdrom" argument, you need to specify the name of your OS image.
And after "-hda," specify the name of the disk on which the installation will take place.
If you encounter an error like:
"cannot set up guest memory 'pc.ram': Cannot allocate memory"
The solution is to change the "-m 10000M" parameter to a value in megabytes that is available in your system.
If the command is executed successfully, there will be no response, and the KVM process will start in an active window.
Next, install and run the UltraVNC program. In it, specify the server's address in the input field, followed by port "1" in the format: "IP:1."
Connect to the server and begin the Windows OS installation process:
Next, create partitions and install the OS on the main drive with sufficient memory.
After completing the main installation, proceed to user configuration. First, specify the username.
Then, set the user's password.
You must specify a password, otherwise, you won't have access to RDP.
Once the installation is complete, you need to go to the Windows firewall settings and completely disable it to avoid connection blocks.
Next, enable Windows Remote Desktop (RDP) access in the corresponding settings.
Also, don't forget to uncheck the "Allow connections only..." option.
Save the changes. Then shut down your Windows.
When the OS is turned off, the vKVM process will stop on your main server.
Now, boot your dedicated server from the main disk where Windows OS was installed and connect using the created account.