In this video, you are going to learn how to turn Linux into Windows. You can convert your Linux VPS server into a Windows 10 machine.
You can also establish a reliable RDP connection to your remote server. You can use this method for Google Cloud Platform, Oracle Cloud, Azure, Microsoft Cloud, Alibaba Cloud, and OVH.
Today, I demonstrate it on a free Oracle Cloud VM instance. So you can get a Windows VPS with RDP access with Oracle Cloud.
This process is done using a fully automated script, so you don’t have to worry about your coding knowledge. If you follow all the steps correctly, you will not get any errors during the process. If you’d like to know how to use this method for other cloud providers as well, watch this video until the end.
Create Free Server on Oracle Cloud
First, you have to deploy the server with Ubuntu, Debian, or CentOS. After registering for the Oracle Cloud free tier, you can proceed with the following steps: Register on Oracle Cloud.
In your Oracle Cloud dashboard, click the “Create a VM instance” button to start. You will be redirected to the setup page for the instance. Here you can customize the server profile.
Change the name of the instance. Use any name you want. Then under “Image and Shape,” click the “Edit” link at the corner. After that, click the “Change image” button to select a favorable image for this process.
Here, you can select Canonical Ubuntu 20.04 as your operating system. You can select CentOS as well, but Ubuntu is very easy to control, so use Ubuntu.
Then check whether you selected a virtual cloud network, subnet, and assist IP address for your instance. If it has, you can leave these settings as defaults.
Then you have to add SSH keys for this instance to connect remotely. I’m going to generate an SSH key pair using PuttyGen. You have to download the Putty App, check the article in the description for the download link.
Tick on paste public key option and open Puttygen to generate new key pair. Click the “Generate” button and move your cursor in this area to generate SSH credentials.
Copy the public key and paste it into the text box. After these configurations, click the “Create” button to deploy the server. While deploying this server, save your SSH private key. It is necessary to connect the VM instance.
Note: This is not applicable to the new ARM framework models.
Install Windows on Linux Server
Now your server is up and running. Copy the public IP address of the server and open the Putty app. Paste the public IP as the hostname. Under “SSH” click “Auth” to add to your private key saved in the previous step. If you want, you can save the session and then open the terminal.
Login as “ubuntu”. Now you are connected to the server using an SSH terminal. You don’t need to type the commands; just copy and paste them.
First, get root access using this command.
If you are using an old version of Ubuntu, you have to update all the packages before running the installation command.
For Ubuntu/Debian Systems;
apt-get install -y xz-utils openssl gawk file
For RedHat/CentOS Systems;
yum install -y xz openssl gawk file
Here we don’t have to update packages, so I am going to run the auto script directly. Enter this long command; this will install the DD image of Windows on this server.
wget --no-check-certificate -qO InstallNET.sh 'https://s-mx.cc/WrmBe' && bash InstallNET.sh -dd 'https://s-mx.cc/OXoOz'
During this installation process, the terminal will close automatically, but the process will run in the background. Give 20 to 30 minutes for this installation and configuration.
Open Firewall Port for RDP
We have to open the RDP port at the firewall to allow the remote desktop connection. On your instance page, right-click on the subnet name and open it in a new tab. Then click on the name of the security list.
Add the ingress rule and change the protocol type to RDP. This opens a 3389 TCP port in the firewall, so we are able to connect to the server using any remote desktop application.
Remote Desktop Access to New Windows Server (RDP)
After 20 minutes, we can connect to the server. Open the “Remote Desktop Connection” app. Enter the public IP address of the remote server. After that, you have to enter this default username and password. You can change this and your password later.
- Username: Administrator
- Password: nat.ee
Okay, you can see the installation was successful; the Windows operating system is now installed on the server. You can use this free Windows server.
This Windows Server has a low CPU and RAM, it is a little bit laggy. But you can use this server for your work.
Change Administrator Password
If you want to change the administrator’s password, run this tool file. Then you can make changes here.
You can also follow the same process for other cloud providers that I mentioned earlier in this article, but you will have to use different DD OS files for those platforms. Use the below DD Windows OS file for that.
Windows DD OS for GCP/Azure/Alibaba Cloud/OVH
You have to replace the relevant DD OS link according to your needs. This is the automated script that you can use for all of the installations. Replace the “RED” area with the DD OS link.
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd '[Windows DD OS Link]'
Google Cloud Platform (GCP) Windows DD OS
Google Cloud Platform (GCP) and OVH cloud servers need to specify the network parameter installation method; an example is GCP Google Cloud.
Replace X.X.X.X with your own network parameters.
--ip-addr :IP Address --ip-mask :Netmas --ip-gate :Gateway
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask X.X.X.X --ip-gate X.X.X.X -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'
X.X.X.X for your own intranet IP, pay attention to check
ip-gate Whether the gateway information is the same as the gateway of your machine;
Google Cloud on GCP
Ubuntu Test success,
CentOS not tested;
Azure Microsoft Cloud Windows DD Images
Install Windows 10 on the Azure Microsoft Cloud using this script.
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2019LTSC_64_Administrator_Vicer.gz'
Alibaba Cloud Windows DD Images
Use this script to install Windows 10 on Alibaba Cloud.
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win10_2021LTSC_64_Administrator_nat.ee.gz'
OVH Cloud Windows DD Image
OVH needs to be installed using network parameters before installing Windows. Follow the GCP guide.
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask X.X.X.X --ip-gate X.X.X.X -dd 'https://oss.sunpma.com/Windows/win/OVH_Win7_64_administrator_www.80host.com.gz'