The steps are as follows:
1. Type cmd in the search bar
2. Right-click on cmd and select Run as administrator
3. Copy and paste the below command line:
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters\ /v AllowEncryptionOracle /t REG_DWORD /d 2
It will say: The operation completed successfully.
You will now be able to connect via RDP with no issues.