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 年前

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

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

回答問題指南