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
질문됨 일 년 전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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠