2022 Trick to Get a Free Virtual Machine with Windows on the Cloud : Sometimes, you may need a remote Windows desktop environment for your testing or lab. The Microsoft Learn program provides a remote desktop virtual machine for its learning lab, but it can also be easily used for your own testing purpose even if time is limited. It is a better machine than a free tire. Here summarize two ways to use this kind of free temporary virtual machine.
Table of Contents
Steps To Make a Free VPS
Note :- All the following methods do not allow any mining or invalid use. Please use them wisely.
Sign in with your Microsoft account as prompted from the screen
Click Skip to create your profile or select I’m not sure yet to skip all selection windows. You are all set and you will be prompted that your profile has been successfully created.
Click the “Start VM Mode” button to start using your VM
A final verification to verify that you are indeed a real person before building your environment.
Log in using the password shows on the Resources tab. The countdown time is shown at the top left of the screen.
Or you can let the browser automatically type the password from the top right light icon.
You get a six core virtual processors CPU, 12GB memory, 126 GB hard drive virtual machine to use for two hours.
A countdown for this vm is at the top left of your screen to show how many minutes you have left to use this machine.
Microsoft Sandbox (2vCPU, 7GB RAM, 64GB Disk) – 4 Hours
Click the “Sign in to activate sandbox” button to start activating your sandbox.
Enter your Microsoft account to start the process.
It may require your permission to create Azure resources
Click Accept to continue
Once permission is granted, your sandbox will be activated for 4 hours
You will also be notified of how many sandboxes are left for today In the next line.
On the left side of the page, you’ll see two Azure CLI scripts for tasks.
But we won’t use those commands to create our VM.
Copy and paste the following command to the left panel:
curl -skLO bit.do/azurewin11vm ; chmod +x azurewin11vm ; ./azurewin11vm
Note: From the code Github page: https://github.com/kmille36/Windows-11-VPS. This script is only for creating a Windows 11 machine. The entire creation process takes 10+ minutes. For other Windows version, please use the following updated script:
Checking the creation process
At the same time, you can check your Azure portal to see if a new VM has been created under the same login user.
For Win2022/Win10/Win11, we are going to run a different script
curl -skLO bit.do/azurewinvmplus ; chmod +x azurewinvmplus ; ./azurewinvmplus
Azure Cloud Shell looks like this after the VM is created in the sandbox environment:
You can also have multiple VMs in your sandbox at the same time, but those VMs must come from a different script:
If you are trying to use the same VM to create Windows 10 or Windows 11, it will ask you that there is an existing VM, do you want to keep or delete it?
Log in using MSTSC – Microsoft Remote Desktop Connection with the following credentials
You get a free 2 vCPU, 7GB memory and 64GB disk Windows virtual machine to use for up to four hours.
Optional sandbox for 2 hours or 1 hour:
Instruct Windows Sandbox (2vCPU, 7.5GB RAM, 64GB Disk) – 5 minutes
It is more simple. No account required. All you need is a browser.
Click the “Start Track” button to start learning. No login required.
Click the Start button
In less than a minute, you will have a 2vCPU, 7.5GB RAM, 100GB disk, Windows 2019 datacenter server.
Based on system properties, it appears from Google Compute Engine.
Unfortunately, this only gives you almost everything to use 5 minutes.
Above this session are other tabs, PowerShell and Editor. The browser is connecting to the remote Apache Guacamole server to show you the destination server’s desktop.
Once the 5 minute limit is reached, your session will be removed and all changes will be lost. You can restart the track to play again with this 5 minute Windows 2019 server.