Also if can point me how to set default password for administrator user.
that would be helpful too.
I am not sure if that is possible. The EC2 Windows Security guide [1]
says that, during initial install, it "generates and sets a random
password on the Administrator account", but with your own AMIs you may
be able to do something different.
As regards retrieving the Administrator credentials: have you been
able to try getting the WindowsApi [2] from the EC2Api [3] and using
that? If you are working with a ComputeService view, you will need to
"unwrap" the view to access the underlying API first [4].
Regards
ap
[1] https://aws.amazon.com/articles/1767
[2]
http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/features/WindowsApi.html
[3]
http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/EC2Api.html#getWindowsApi()
[4] http://jclouds.apache.org/start/concepts/#apis