Skip to content

How to access Windows Instances on Openstack

There are 2 main ways to get access and control a Windows Instance on Openstack. This tutorial will cover both methods.

Prerequesites

  • A newly created Windows Server Instance on Openstack
  • Access to Infra via OpenVPN OR On the Cyberlab Secure Network

Preparation: Recover your Windows Instance Password

For some windows instance images, you will need to retrieve the password so you can set a new administrator password. You will only be able to retrive the password if the instance was created with an SSH key and you have the private key.

The key needs to be an ssh-rsa key
  • Step 1: Access intance (use images from repo)
    1. On the left pane, choose Compute and then Instances. Step2-1
    2. Locate the instance you want to retrive the password from Step2-2
    3. Click on the downwards arrow under the action column of you instance and click on "Retrive Password" Step2-3.png
    4. Now you will upload your private key from the SSH key pair utilized to create the instance. (You can also copy the key into the text box) Step2-4.png
    5. Click on "Decrypt Password" and you should see the password. Step2-5.png

Setting a new password

There are 2 different ways to set a password on your windows instance. For some instances you will be asked to set a new password and for others you will need to retrieve the password first.

Windows instances: New password automatically
  • Windows 2025
  • Windows 2022
  • Windows 2019
  • Windows 2012
  • Windows 2008
Windows instances: Retrieval needed
  • Windows 11
  • Windows 10
  • Windows 8.1
  • Windows 7

New password automatically:

Head over to the console and send a ctrl+alt+delete to the server by pressing the Send CtrlAltDelete button in the upper right hand corner.The Console will receive you with a message “The user's password must be changed before signing in”.

  1. Click on OK winAuto-Infra
  2. Set your new password and you will be done! winAuto-Infra2

Retrieval needed: Please look at the retrieval guide at “Recover your Windows Instance Password

Once you have retrieved your password you may RDP into your virtual machine.

  1. You can go to Settings -> Change Password and then Click on Change winRtrv-Infra1
  2. You may enter the retrieved password winRtrv-Infra2
  3. Finally set your new password and don't forget to use it next time you sign in! winRtrv-Infra3

Method 1: Connect Using the Openstack Console (Must be used for initial Windows Setup)

Openstack has a built-in console viewer for Instances which allows you to get a true console view of the Instance allowing for easier debugging of the Instance. You will have to log in using this method to initially set up any new Windows Instance.

Steps:

  1. On the left plane, choose Compute and then Instances. Step1-1.png
  2. Locate the instance you want to access the console of, and click on its name. Step1-2.png
  3. Select the Console tab under the instance name. Step1-3.png
  4. Send a ctrl+alt+delete to the server by pressing the Send CtrlAltDelete button in the upper right hand corner. Step1-4.png
  5. Log into the instance. If this is your first time, it may ask you to change the password. If it asks you for the pervious password, enter the password you retrieved earlier, then enter in the password you would like, make sure to note it down. Step1-5.png
  6. You may now access the instance through the openstack console normally as you would any other windows device. Step1-6.png

Method 2: Using Remote Desktop Connection (RDP)

Remote Desktop Connection (Also known as RDP somtimes) is a program in Microsoft Windows that allows you to access another Windows computer over a network. Using this method has added benefits such as easy folder sharing, viewing the Instance in full-screen mode, clipboard sharing and more!

By default, Openstack blocks all inbound connections to Instances and therefore we need to make a security group to allow inbound RDP access

Important Note: You cannot directly use this method on the very first time you startup your Instance as Windows requires you to set an Administrator password upon Instance creation. Follow Method 1 to gain initial access to the machine and add a password.

Part 1: Opening RDP Access for your Instance

Step 1: Creating a security group

  1. Connect to Infra via OpenVPN or Cyberlab Secure
  2. Go to horizon.hackucf.cloud and log into your account
  3. Click on Network on the left-hand pane and then Security Groups Instance page
  4. On the right-hand side, click on Create Security Group and give it a name and description, then press Create Security Group Instance page Instance page
  5. On the Manage Security Group Rules screen, click Add rule Instance page
  6. Choose the RDP Rule in the Rule dropdown, leave all other options as default and click Add Instance page

This new group can be applied to any future Windows Instances to quickly allow RDP access

Step 2: Adding the security group to your Instance

  1. On the left plane, choose Compute and then Instances Instance page

  2. Click on the Instance to add the security group to Instance page

  3. Click the dropdown arrow on the right and select Edit Security Groups Instance page

  4. Select the appropriate security group and select Save

Instance page

RDP will now be allowed through the Openstack firewall for the instance!

Part 3: Connecting to your the instance

For the purposes of this guide, we will use the following applications for RDP. * Windows Clients: Open Start Menu > type in "Remote Desktop Connection" * MacOS Clients: Windows App * Linux Clients: Remmina

Connecting from Another Windows Device

This is the most simple way to access a windows instance with RDP, as Windows comes with the needed software pre-installed. Make sure you are connected to the HACK@UCF infrastructure via OpenVPN before attempting to connect

  1. On the left plane, choose Compute and then Instances Step2-0.png
  2. Locate the name of the instance you want to access and note down it IP address. Step2-1.png
  3. Open the Windows Start Menu, type in "Remote Desktop Connection", and open the Remote Desktop Connection application Step2-2.png
  4. In the Computer: field, enter in the IP address of you noted in step 2, and press Connect. Step2-3.png
  5. When windows security prompts you to enter your credentials, select Use a different account. Step2-4.png
  6. In the User name field, enter "Administrator", and in the Password field, enter in the password you set when first logging in to your Windows instance, then select OK. Step2-5.png
  7. If you recieve a warning from windows stating that "The identity of the remote computer cannot be verified", check the Don't ask me again for connections to this computer option, and then select Yes. Step2-6.png
  8. You are now logged into your instsance, and you can navigate as you would any windows device. Step2-7.png

Connecting to your Windows instance from a Linux Device

For connecting to a windows instance with RDP for Linux, we will use the Remmina client. See https://remmina.org/how-to-install-remmina/ for more help with installing the Remmina client.

  1. Open Remmina, either from your applications menu or the console.
  2. Press the + add new connection button in the top left corner. Step4-2.png
  3. In the Name field, enter in what you would like to name the connection to your windows instance. Step4-3.png
  4. Select the Protocol dropdown and select RDP - Remote Desktop Protocol as your protocol. Step4-4.png
  5. In theServer field, enter in your instance's IP address. Step4-5.png
  6. In the Username and Password fields, enter in the username (likely "Administrator") and password you set for the instance earlier. Step4-6.png
  7. Select Save and Connect. Step4-7.png
  8. When prompted to accept the server's certificate, select Yes. Step4-8.png
  9. Verify the authentication credentials, then select OK. Step4-9.png
  10. You should now be logged in to the windows instance and be able to navigate as you would any windows device.

Connecting to your Windows instance from a mac device

For connecting to a Windows intance with RDP from MacOS, we will use the windows app. See here for more information.

  1. Open the Windows App.
  2. Press the + botton in the top right color and then select Add PC. Step5-1.png
  3. In the PC name field enter the IP address of your instance and in the Friendly name enter what you would like to name the connection to the instance. Step5-2.png
  4. Select Add to save the connection. Step5-3.png
  5. Select the new connection with the friendly name you entered previously. Step5-4.png
  6. In the Username and Password field enter in the username (likely "Administrator") and password you set for the instance earlier, and then select Continue. Step5-5.png
  7. When prompted to accept the server's certificate, select Continue. Step5-6.png
  8. You should now be logged in to the windows instance and be able to navigate as you would any windows device.