Topics Map > Platform X
Topics Map > User Guides

Platform X: Logging in to Windows VM

Windows Virtual Machines (VM)

The Azure Portal can be used to log into Windows Virtual Machines. The portal also allows you to monitor status of your virtual machine, and allows you to start and stop the machine with the user friendly interface.

You can also use the command line prompts to login to Windows machines

Linux VM will require use of command prompts. You will need to follow the instructions for using the command line prompts here:.


First time logging in to your VM

You will receive a message from security operations staff with login information for platform x.

The message will contain a new username with 'platformx' added:

Username: {NetID}@platformx.wisc.edu

Password: {randomly generated 16-char password}

Set up your account with the temporary password provided in the message and follow steps below to login to Azure Portal.

  1. Navigate to https://portal.azure.com
    1. Image of login screen
  2. Enter the Username provided in message from security.
  3. On the following screen enter the temporary Password provided from security
  4. Once successfully logged in using the temporary credentials you will then be prompted to change your password and then register additional security information, select Next to proceed.
    1. image prompting user for more information for security
  5. The next step is setting up multi-factor authentication to improve security.
    1. You can choose to use Microsoft Authenticator and download app to your phone.
    2. Alternatively, you you can choose 'I want to use a different authenticator app' and use Duo (this is used for NetID multi-factor authentication at UW-Madison).
    3. Screen shot of multi-factor authenticator choice
    4. Then set up in your app on phone and click 'Next'
    5. Screen shot of setting up account Scan QR code Screen shot of QR Code
    6. Then enter code shown in app
    7. Screen shot of entering code from app

To the top


Login to Azure Portal

  1. Navigate to https://portal.azure.com
  2. Login with username originally provided by security for Platform X.
    1. This is your NetID@platform.wisc.edu 
    2. Then enter the password you created when you first logged in to Platform X.
    3. Screen shot of Sign in for Platform X
    4. Open authenticator app on your phone (below is screen shot of Duo authenticator from phone app)
    5. Screen shot of application screen on phone

To the top


Start VM

  1. From Azure Services select Virtual Machines
    1. screenshot of azure portal
  2. From List of VM select machine with wn-prod to open VM Details 
    1. screenshot of azure portal VM
  3. VM Details will open
    1. To start the VM click on start
    2. screenshot of azure virtual machine details 
    3. This will take a minute or two screenshot of VM starting pop up
    4. Your machine will then show status of Running screenshot of status running
  4. The next step is to login to the VM using Bastion
    1. This will set up a connection between your computer and the virtual machine

To the top


Login to VM using Bastion

  1. From the main Azure Portal window go to Operations > Bastion
  2. A window will open and you will need to enter your credentials adding azuread\ before your login username:
    • Username: azuread\NetID@platformx.wisc.edu
    • Authentication Type: VM Password
    • VM Password: password from platform x login
    • screenshot of connecting to bastion
  3. Click Connect 
  4. VM will start up and log you in to your Windows Machine on a new browser tab

    To the top


    Log out of VM

    1. From start menu select Power > Disconnect
      1.  screenshot of Disconnect
      2. This will disconnect you from the VM, but does not stop the VM.
        1. Click Close  screenshot of disconnect from virtual machine
      3. You will need to use Azure Portal to Stop VM
        1. This is an important step to save resources and keep costs down for your project.
      4. If you have analysis to run you can disconnect and leave VM running to continue processing data

    To the top


    Stop VM

    1. Navigate to Azure Portal again https://portal.azure.com
    2. Login with username originally provided by security for Platform X.
    3. From your VM Details page select Stop
      1. screenshot of home page to stop vm
    4. Select Yes
      1. screenshot of yes to stop machine then wait a minute or two
    5. Window will pop up to confirm machine is stopped
      1. Status will update to Stopped 
      2. screenshot of stopped machine

    To the top


    Restart VM

    You may want to restart the VM

    You can also do this from the Azure Portal

    screenshot of details page to restart

    To the top



    Keywords:
    Virtual Machine Px Azure Portal 
    Doc ID:
    131654
    Owned by:
    Sheri A. in SMPH Research Informatics
    Created:
    2023-09-22
    Updated:
    2024-01-12
    Sites:
    SMPH Research Informatics