- Newest
- Most votes
- Most comments
I understand you're experiencing RDP connection issues with your EC2 Windows instance. Based on the error you're receiving about license servers not being available, this appears to be related to Remote Desktop licensing configuration rather than the typical connection issues.
To help troubleshoot your RDP connectivity, I recommend using the AWSSupport-TroubleshootRDP automation document through AWS Systems Manager. This tool can help you:
- Verify that Network Level Authentication is properly configured
- Ensure the Remote Desktop Service (TermService) Startup Type is set to Automatic and the service is running
- Confirm you're connecting to the correct RDP port (default is 3389)
- Verify that Remote Desktop connections are allowed on your instance
- Check the Windows Firewall settings
- Restore default RDP configurations if needed
The licensing error you're encountering suggests that your instance may be configured to require a Remote Desktop Licensing server, but it cannot locate one. This could have happened if changes were made to the RDP licensing mode or configuration during your troubleshooting attempts.
If your instance is managed by AWS Systems Manager, you can run the AWSSupport-TroubleshootRDP automation to help restore proper RDP functionality. If the instance becomes completely unreachable, the AWSSupport-ExecuteEC2Rescue automation document is available, though note this requires stopping and restarting the instance, which will result in data loss from instance store volumes and a change in the public IP address.
I recommend starting with the AWSSupport-TroubleshootRDP automation to attempt to restore your RDP access without requiring an instance restart.
Sources
Troubleshoot issues connecting to your Amazon EC2 Windows instance - Amazon Elastic Compute Cloud
