1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
Since this is an Imported Image, if properly sysprep the Administrator password would match the Console password but in some cases it will not. If there was a local admin account on the Image prior to import to AWS or any user in the Remote Desktop Users group, you can use the same credentials to RDP into the Instance.
Resolution
-
If you have access to the Instance via SSM, connect to the Instance via SSM Session manager. Connect to a Windows instance using Session Manager
-
Use the script below to create a new user and add them to the local administrators group.
net user TestUser Password@123
net localgroup administrators TestUser /add```
- Then try to login with the user ***TestUser*** via RDP
For additional information, see the documentation [How can I reset the administrator password on an EC2 Windows instance](https://aws.amazon.com/premiumsupport/knowledge-center/reset-admin-password/)
Should you need further clarification, reach out to [AWS Premium Support](https://aws.amazon.com/contact-us/)
answered 3 years ago
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- asked 25 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Are you sure you used the Amazon VM Import Service? https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html