How to determine default password of an EC2 Windows Server Core instance?

Solution 1:

I've not actually used a windows instance myself, however i found this link:-

  • Right-click an instance and click Get Windows Password. The Retrieve Default Windows Administrator password dialog box appears.
  • Paste your private key into the provided field and click Decrypt Password. Amazon EC2 returns an encrypted version of the Windows Administrator password. Your private key is used to decrypt the password locally. Your private key will never be transmitted over the network.

Can't verify this though.

The amazon docs themsels have this:

Which means you can get it using

ec2-get-password i-2574e22a -k windows-keypair.pem

using the developer api tools.

Solution 2:

I solved the problem by terminating the instance and launching a new one. Now, the password was easily retrievable.

Whether this is a problem that can occur to anywone, or exists because the AMI is really new and still under supervision, I don't know, but this solved it.


Amazon Ec2