Unable to RDP into Windows Instance

0

We had access to one of our Windows 2008 R2 machines until recently, we can't figure out what the issue is with RDP, but we are unable to access from Mac or Windows machines.

On a Mac with RDP Version 10, I get the error
"Your session ended because of an error. If this keeps happening, contact your network administrator for assistance.

Error code: 0x4"

With RDP Version 8, I get the error:
"Security negotiation Error: TLSRequired(1)"

Launching a new instance from a saved AMI gives the same results.

질문됨 5년 전1179회 조회
1개 답변
0

With the help of Louis T. at Amazon tech support we discovered that it was corrupted RSA Machine Keys.

Steps are:

  • Access corrupt drive via another EC2 instance
  • Rename MachineKeys folder for back-up
  • Create a new empty MachineKeys folder
  • Assign permissions to new folder
  • Reattach to original EC2 intstance

Instructions for the EC2 instance/folder naming are in this pdf: https://drive.google.com/open?id=1glgqgHm6SycPKPlV__WcQzWg1AeJMs78

Set permissions via CMD with "Run as Administrator"
takeown /f "D:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" /a /r
icacls D:\ProgramData\Microsoft\Crypto\RSA\MachineKeys /t /c /grant "NT AUTHORITY\System:(F)"
icacls D:\ProgramData\Microsoft\Crypto\RSA\MachineKeys /t /c /grant "NT AUTHORITY\NETWORK SERVICE:(R)"
icacls D:\ProgramData\Microsoft\Crypto\RSA\MachineKeys /t /c /grant "BUILTIN\Administrators:(F)"

답변함 5년 전

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

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

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

관련 콘텐츠