Darryn helps you retrieve a
Windows administrator password

darryn_retrieve_windows_admin_password

How do I retrieve my Windows administrator password after launching an Amazon Elastic Compute Cloud (Amazon EC2) instance?

You can retrieve your initial administrator password by using the Amazon EC2 console or the AWS Command Line Interface (AWS CLI).

Note: This method requires an EC2 Key Pair.

Retrieve your initial administrator password by using the EC2 console:

  1. Open the Amazon EC2 console, and then choose Instances.
  2. Select the instance, choose Actions, and then choose Get Windows Password.
    Note: It can take a few minutes for this option to be available after first launching a new instance.
  3. Choose Browse, select your key pair file, and then choose Open.
    Or:
    Paste the contents of your key pair into the text box.
  4. Choose Decrypt Password.

Retrieve the initial administrator password by using the AWS CLI

Note: This solution requires that you installed the AWS CLI.

Use the get-password-data command. For example syntax, see Examples.  


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center.

Published: 2016-08-16

Updated: 2018-11-14