Avatar of byt3
byt3
 asked on

RDP Issue Connecting to Server 2012 R2 in VMWare ESXi 6

I can't remote desktop into my Server 2012 R2 Core. I turned on remote desktop and disabled the firewall. I can ping and even connect to shares on it.

I've found these event log errors, but cannot find a fix on Google for:

--System
The RD Session Host Server has failed to create a new self signed certificate to be used for RD Session Host Server authentication on SSL connections. The relevant status code was Object already exists.

** The Remote Desktop folder in certificates mmc is empty??

--Application and Services Logs > Microsoft > Windows > RemoteDesktopServices-RdpCoreTS > Operational
RDP_TCP: An error was encountered when transitioning from StatePreparingX224C in response to Event_ERROR_SendingX224CC (error code 0x0).

If anyone can help it would be much appreciated.
Windows Server 2012

Avatar of undefined
Last Comment
AmarnadhJ

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Matt Minor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
byt3

ASKER
I did found this solution on google and I swear I tried it, but it didn't help me. Went to try it again, but I get access denied to Copying or Deleting the file in MachineKeys. So I used psexec to run powershell as SYSTEM, then use icacls to give the SYSTEM user access to the file to move it:

psexec -i -s powershell.exe
cd C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
mkdir ..\Old_keys
Get-ChildItem -Path . | % {icacls $_.Fullname /grant "NT AUTHORITY\SYSTEM:F"}
Get-ChildItem -Path . | Move-Item -Destination ..\Old_keys
Restart-Computer

Open in new window


I swear I tried it before and it didn't fix it, but this time it did.
Thanks for the help
Matt Minor

Awesome job!

 I always love when people come back with something more than just "didn't work."
AmarnadhJ

Hi Matt, This worked thanks for the fix, but I could find another issue that within the box where we fixed the Keys, From that box I am unable to take remote for another machine. any Idea...
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck