The error you encountered while making an RDP connection may have been caused by the CredSSP encryption oracle fix. You can follow the steps below to resolve this issue:

Click the Start menu and open the command prompt by typing “cmd”.
Enter the following command and press Enter:

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /f /v AllowEncryptionOracle /t REG_DWORD /d 2

After running the command, try the RDP connection again.