EC2 RDP connection failed. An internal error has occured

0

Hi,

I lost my RDP connection to my web server EC2 today. It was working fine yesterday. I don't know what happened. windows might update itself or something else.

I run all the steps stated below the links. I detach my disk and updated the necessary registry setting to disable my firewall and check the rdp service status. and reattach my root volume to my server gain. but did not help.

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/troubleshoot-connect-windows-instance.html https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/troubleshoot-connect-windows-instance.html#rdp-issues

I can see my destkop screenshot on login screen and I checked my RDP port is returning true to the below command server screenshot

Test-NetConnection -ComputerName my.server.com -Port 3389 TCP response

any welp will be appreciated. Thanks in advance.

ypbr
已提問 1 年前檢視次數 395 次
1 個回答
0
已接受的答案

Hi,

Removing all files in "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" folder solved the issue.

In case I copied them to a different folder then delete them all.

To delete them I shut down my server. create another dummy instance and attach my volume to the dummy instance as a secondary disk. then I changed security settings from Properties > Security> Advance section. You need to change the ownership and enable inheritance.

Then simply reattach my volume to my original server as /dev/sda1 (do not forget to enter this device name section).

I guess the system has just updated itself and it caused an issue.

Thanks anyway

ypbr
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南