Symptom: The client encountered an error when connecting to the Remote Desktop Server "This session will end due to data encryption errors." Please reconnect to the remote computer. "
Cause: Potential race conditions between Icaapi.dll and Rdpwsx.dll dynamic-link libraries (DLLs) may cause the certificate private key on the Terminal Services server to be out of sync.
Solution:
To resolve this issue, follow these steps:
1) Start Registry Editor.
2) Locate and click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
3) Under this registry subkey, remove the following values:
Certificate
X509 Certificate
X509 Certificate ID
4) Quit Registry Editor, and then restart the server.
About Remote Desktop appears: "This session will end due to data encryption errors." Please reconnect to the remote computer. ”