• Home
  • Disclaimer
  • Contact
  • Archives
  • About
  • Subscribe
  • Support
  • Advertise

Kernel Talks

Unix, Linux, & Cloud!

  • How-to guides
    • Howto
    • Disk management
    • Configurations
  • OS
    • HPUX
    • Linux
  • Commands & tools
    • Commands
    • Software & Tools
    • System services
  • Cloud computing
    • AWS CSA preparation guide!
    • Cloud Services
  • Tips & Tricks
  • Linux commands
You are here: Home / Cloud Services

How to connect Windows EC2 AWS server using RDP?

Published: November 20, 2018 | Modified: June 24, 2020 | 725 views



Quick post explaining how to connect Windows EC2 AWS server using RDP.

Connecting AWS Windows server using RDP

Step 1. Get windows password in AWS

Retrieve administrator password from the Windows EC2 server.  Login to the EC2 dashboard from the AWS console. Select your Windows server EC2 instance and choose ‘Get Windows password‘ from the Actions menu.

Get windows password in AWS

Sometimes you may see below error complaining that Windows password is not available –

Windows password not available in AWS

Error is self explanatory. You are seeing it because –

  1. You need to wait for your server to properly boot and module to start which decrypt windows password and share with you.
  2. You spun windows server from AMI which does not have a module which could retrieve administrator password from Windows.

In the case of the first situation wait for few minutes and again try to ‘Get Windows Password‘. In the case of the second situation, you need to spin up EC2 with proper AMI.

Also read : How to deploy Linux server in AWS

Once the above issue is resolved, you will see the next window which asks for key pair you used while deploying the Windows server. This is AWS authenticating you again before it releases administrator password to you.

Key pair required to get windows password in aws

Browse key pair on your local machine and then hit the ‘Decrypt Password‘ button. If you have supplied proper key pair you will be presented with a password window like below –

Windows password in aws

That’s it. You have the administrator password for your Windows server on AWS.

Step 2 : Login to Windows AWS server using RDP

Logged in to Windows AWS server

Open remote desktop connection on your local machine. Punch in details that are given to you by AWS in the above window. Public DNS is the hostname you should use to connect to the server followed by the user name and password.

And you are in !

⇠ Previous article
How to configure proxy for YUM in RHEL, CentOS ?
Next article ⇢
What’s new in RHEL 8

Related stuff:

  • Creating Application Load Balancer in AWS
  • Creating first AWS Lambda function
  • Benefits of cloud computing over the traditional data center
  • Amazon ECS basics for beginners
  • Complete AWS CSA Associate exam preparation guide!
  • Journey to AWS Certified Solutions Architect – Professional Certification SAP-C01
  • How to configure service in Amazon ECS?
  • Know different Load Balancers in AWS
  • How to open port on AWS EC2 Linux server
  • Datacenter presence of top Cloud providers
  • How to assign Elastic IP to EC2 Linux instance
  • How to create S3 bucket in AWS

Filed Under: Cloud Services Tagged With: connect aws windows, get aws windows admin password, how to connect windows on aws

If you like my tutorials and if they helped you in any way, then

  • Consider buying me a cup of coffee via paypal!
  • Subscribe to our newsletter here!
  • Like KernelTalks Facebook page.
  • Follow us on Twitter.
  • Add our RSS feed to your feed reader.

Share Your Comments & Feedback: Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get fresh content from KernelTalks

  • Email
  • Facebook
  • RSS
  • Twitter

Popular posts

  • How to start, stop & restart MariaDB server in Linux
  • How to reset iptables to the default settings
  • 4 ways to check the size of physical memory (RAM) in Linux
  • How to rescan disk in Linux after extending VMware disk
  • How to list YUM repositories in RHEL / CentOS
  • How to remount filesystem in the read-write mode under Linux
  • mount.nfs: requested NFS version or transport protocol is not supported
  • How to configure login banners in Linux (RedHat, Ubuntu, CentOS, Fedora)
  • MobaXterm X11 proxy: Authorisation not recognised
  • How to setup domain name in Linux server

Get Linux & Unix stuff right into your mailbox. Subscribe now!

* indicates required

This work is licensed under a CC-BY-NC license · Privacy Policy
© Copyright 2016-2020 KernelTalks · All Rights Reserved.
The content is copyrighted to Shrikant Lavhate & can not be reproduced either online or offline without prior permission.