Info Security Memo
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org

Build Confidence

Focusing on Information Security 

Info Security Notes

Some Ways to Get a Free Temporary Windows Virtual Machine in the Cloud

6/6/2022

0 Comments

 
Some Ways to Get a Free Temporary Windows Virtual Machine in the Cloud

Sometimes, you might need a remote Windows desktop environment for your testing or lab. Microsoft Learn program provides remote desktop virtual machine for its learning lab but it also can be easily used for your own testing purpose, although time is limited. It is much better machine than free tier. Here summarize a couple of ways to use this kind of free temporary virtual machine.


All following methods are not allowing any mining or invalid usage. Please use them wisely. 

Microsoft Learn VM (6 vCPU, 12GB RAM, 126GB Disk) - 2 Hours

VM Mode provides a free, web-based virtual machine environment to complete the steps in this unit.

Microsoft provides this lab experience and related content for educational purposes. All presented information is owned by Microsoft and intended solely for learning about the covered products and services in this Microsoft Learn module.

  • Click this page or this backup page.

Steps:

1 Click "Sign in to launch VM  mode"

2 Sign in with your Microsoft account as prompted from the screen

3 Click next 



4 Click skip to create your profile, or choose I'm not sure yet to skip all option windows. You will be prompted You are all set and your profile has been successfully created.

5 Click to button "Launch VM mode" to start to use your VM


6 Final verification to verify you are actually a real person before build your environment. 

7 Log in using password shows at Resources tab. Countdown time will be shown on the top left of the screen.

Or you can let browser to automatically type the password in from right top light icon.


You will get a Six core virtual processors CPU, 12GB Memory, 126 GB Hard Drive virtual machine to use for two hours. 


The countdown for this vm is at the top left of your screen to show you how many minutes left for you to use this machine. 


Microsoft Learn Sandbox (2vCPU, 7GB RAM, 64GB Disk) - 4 Hours   

A sandbox gives you access to free resources. The Microsoft Learn sandbox (sometimes called the Azure sandbox) is a free environment that you can use to explore Azure through Microsoft Learn content. Your personal subscription will not be charged. The sandbox may only be used to complete training on Microsoft Learn. Use for any other reason is prohibited, and may result in permanent loss of access to the sandbox. You will not need an Azure account to use a sandbox. All you need is a Microsoft account (such as Office 365 account or Outlook account) to sign in with

Limitation: 10 Sandbox / day / account
Duration: 4 Hours
No multiple sandbox environments to be created. If you do so, you will be prompted to discard the active Sandbox.

Steps:

1 Open this page

2 Click button "Sign in to activate sandbox" to start activate your Sandbox.

Enter your Microsoft Account to start the process. 

3 It might need your permission to create Azure resources


Click Accept to continue


4 Once permission granted, your sandbox will be activated for 4 hours

You will also be notified  how many sandboxes left for today in the next line.


4 On the left side of the page, you will see a couple Azure CLI scripts for the tasks. 

But we will not using those commands to create our VM.

5 Copy and paste following command to left panel:

curl -skLO bit.do/azurewin11vm ; chmod +x azurewin11vm ; ./azurewin11vm

Note: the code is from Github page: https://github.com/kmille36/Windows-11-VPS. This script is only for create a Windows 11 machine. The whole creating process will take 10+ minutes. For other Windows version, please use following updated script:

6 Checking creating process


At the same time, you can check out your Azure portal under the same login user to see if there is a new VM created 



7 For Win2022/Win10/Win11, we are going to run a different script

curl -skLO bit.do/azurewinvmplus ; chmod +x azurewinvmplus ; ./azurewinvmplus





This is how the Azure Cloud Shell looks like once the VM in sandbox environment created:

You also can have multiple VMs in your sandbox at the same time, but those VMs have to come from different script:
If you are trying to use same VM to create a Windows 10 or Windows 11, it will prompt you there is an existing VM, do you want to keep it or delete it?

8 Log in using MSTSC - Microsoft Remote Desktop Connection with following credential

  • Username: azureuser
  • Password: WindowsPassword@001

You will get a 2 vCPU , 7GB memory and 64GB disk Windows virtual machine free to use for at most four hours. 

OPTIONAL Sandbox for 2 Hours or 1 Hour:

2H: https://docs.microsoft.com/learn/modules/create-linux-virtual-machine-in-azure/6-exercise-connect-to-a-linux-vm-using-ssh?activate-azure-sandbox=true

1H: https://docs.microsoft.com/learn/modules/build-a-web-app-with-mean-on-a-linux-vm/3-create-a-vm?activate-azure-sandbox=true




Instruqt Windows Sandbox (2vCPU, 7.5GB RAM, 64GB Disk) - 5 Minutes

 This one is even simpler. No need to have any account. What you need is just a browser. 

Steps:

1 Open this page

2 Click "Start track" button to start learning. No need to login.


3 Click Start button




4 In less than one minute, you will be presented with a 2vCPU, 7.5GB RAM, 100GB Disk, Windows 2019 Datacenter server. 


Based on the system properties, it seems from Google Compute Engine .

Unfortunately, it only gives you to use for about 5 minutes. 


5 There are other tabs on top of this session, Powershll and Editor. The browser is connecting to remote Apache Guacamole server to show you the destination server's desktop.


Once 5 minutes limitation reached, your session will be dropped and all changes will be lost. You can restart track to play with this 5 minutes Windows 2019 server again. 



Clean Up Remote VM Environment

 
Here are some commands you can paste into a CMD window running as administrator to clean up your C drive.


taskkill /f /im sqlservr.exe
taskkill /f /im Batch.exe
taskkill /f /im w3wp.exe
cd C:\
rmdir /s /q AOSService
rmdir /s /q DumpPath
rmdir /s /q DynamicsDiagnostics
rmdir /s /q DynamicsSDK
rmdir /s /q DynamicsTools
rmdir /s /q EmptyDataset
rmdir /s /q FinancialReporting
rmdir /s /q Labs
rmdir /s /q PerfSDK
rmdir /s /q RetailSDK
rmdir /s /q RetailSelfService
rmdir /s /q RetailServer
rmdir /s /q RetailStorefront








References

  • 微软Microsoft Learn临时Windows远程桌面
  • Microsoft Learn的Azure 临时RDP远程桌面
  • Instruqt临时Windows远程桌面白嫖教程










via Blogger http://blog.51sec.org/2022/06/some-ways-to-get-free-temporary-windows.html
June 06, 2022 at 04:14PM Cloud, Windows
0 Comments



Leave a Reply.

    Categories

    All
    Architecture
    Blog
    Checkpoint
    Cisco
    Cloud
    CyberArk
    F5
    Fortigate
    Guardium
    Juniper
    Linux
    Network
    Others
    Palo Alto
    Qualys
    Raspberry Pi
    Security
    SIEM
    Software
    Vmware
    VPN
    Wireless

    Archives

    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    October 2019
    September 2019
    June 2019
    July 2018
    May 2018
    December 2017
    August 2017
    April 2017
    March 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015

    Print Page:

    RSS Feed

    Email Subscribe
Powered by Create your own unique website with customizable templates.
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org