Skip to content

Commit 0dc9dd9

Browse files
committed
Retrieve password windows
1 parent ab8e41c commit 0dc9dd9

File tree

4 files changed

+34
-6
lines changed

4 files changed

+34
-6
lines changed

docs/guides/How to access Windows Instances.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

5-
## Prerequesites ##
5+
## Prerequesites ##
66

77
* A newly created Windows Server Instance on Openstack
88
* Access to Infra via OpenVPN OR On the Cyberlab Secure Network
@@ -17,11 +17,11 @@ Openstack has a built-in console viewer for Instances which allows you to get a
1717
1. On the left plane, choose `Compute` and then `Instances`
1818
![Instance page](../img/win-guide/instancespage.png)
1919
2. Click on the Instance to view
20-
![Instance page](../img/win-guide/instancespage2.png)
20+
![Instance page](../img/win-guide/instancespage2.png)
2121
3. Click on the `Console` tab
22-
![Instance page](../img/win-guide/consoletab.png)
22+
![Instance page](../img/win-guide/consoletab.png)
2323
4. You now have a console view of the Instance! From here you can add an Administrator password to Windows and use the Instance!
24-
![Instance page](../img/win-guide/consoleview.png)
24+
![Instance page](../img/win-guide/consoleview.png)
2525

2626
# Method 2: Using Remote Desktop Connection
2727

@@ -34,7 +34,7 @@ Important Note: You cannot directly use this method on the very first time you s
3434
## Step 1: Creating a security group
3535
1. Connect to Infra via OpenVPN or `Cyberlab Secure`
3636
2. Go to `horizon.hackucf.cloud` and log into your account
37-
3. Click on `Network` on the left-hand pane and then `Security Groups`
37+
3. Click on `Network` on the left-hand pane and then `Security Groups`
3838
![Instance page](../img/win-guide/network_secgroup.png)
3939
4. On the right-hand side, click on `Create Security Group` and give it a name and description, then press `Create Security Group`
4040
![Instance page](../img/win-guide/creategroup.png)
@@ -81,4 +81,32 @@ RDP will now be allowed through the Openstack firewall for the instance!
8181

8282
4. You will be successfully connected to the Instance!
8383

84-
![Instance page](../img/win-guide/rdp_final.png)
84+
![Instance page](../img/win-guide/rdp_final.png)
85+
86+
87+
# Retrieving Windows Password
88+
89+
To retrieve the Windows password for an instance in OpenStack Horizon, you need to follow these steps. This process assumes that you have created the instance with an SSH key, which is necessary for decrypting the password.
90+
91+
## Step 1: Creating an Instance with an SSH Key
92+
93+
1. On the left pane, choose `Compute` and then `Instances`.
94+
2. Click on `Launch Instance`.
95+
3. Fill in the necessary details for your instance, such as the instance name and flavor.
96+
4. Under the `Key Pair` section, select an existing key pair or create a new one. This key pair will be used to decrypt the Windows password. **Ensure the key is a RSA key.**
97+
![RSA_key](../img/win-guide/rsa_key.png)
98+
99+
100+
## Step 2: Retrieving the Windows Password
101+
102+
1. On the left pane, choose `Compute` and then `Instances`.
103+
![Instance page](../img/win-guide/instancespage.png)
104+
2. Click on the instance for which you want to retrieve the password.
105+
![Instance page](../img/win-guide/instancespage2.png)
106+
3. Click on the `Actions` dropdown menu on the right and select `Retrieve Password`.
107+
![dropdown password](../img/win-guide/dropdown_password.png)
108+
4. In the `Retrieve Password` dialog, click on `Choose File` and upload the private key file associated with the SSH key pair used during instance creation.
109+
![retrieve password](../img/win-guide/retrieve_password.png)
110+
5. Click on `Decrypt Password`. The decrypted password will be displayed.
111+
112+
You can now use this password to log in to your Windows instance via the OpenStack console or Remote Desktop Connection.
70.5 KB
Loading
105 KB
Loading

docs/img/win-guide/rsa_key.png

61.4 KB
Loading

0 commit comments

Comments
 (0)