Tuesday, 15 April 2014

Remote Desktop Connection Data Encryption Error

Remote Desktop Connection Error
Because of Error in data encryption this session will end 


Cause: This is mostly likely issue with certificates


Solution:
Warning: Before executing below steps you should consider backing up the registry.
To backup registry
1. Start -> Run
2. Regedit
3. Right click on location 
4. Click Export
5. Save .reg file somewhere for future reference

Now follow below steps to modify registry entry which resolves the problem

1. You have to logon to the machine which has this problem.
2. Start -> Run
3. Regedit
4. Hit enter
5. Navigate to  Registry Location
   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TermService\Parameters
6. Delete following values
      - Certificate
      - X509 Certificate
      - X509 Certificate ID
7. Close Registry Editor
8. And restart the server
9.  This should sovle the problem.




Tags:
because of error in data encryption this session will end microsoft, because of error in data encryption this session will end please try connecting to the remote computer again, because of error in data encryption this session will end in xp, because of error in data encryption this session will end in Windows 7



2 comments:

  1. I had this error on my PC running Windows 7, whenever leaving the office domain this error emerged when using RDP.

    For me it seemed to be on the client side, more specific I changed to things and it started working again.

    1. Internet options
    A) Open "Network and Sharing center"
    B) "Internet options" then "Security" tab
    C) There highlight "Internet"
    D) Make shure the option "Enable Protected mode" is not ticked

    2. Firewall settings
    A) Open "Network and Sharing center"
    B) Windows firewall
    C) Make shure everything is green as recommended by Microsoft.

    ReplyDelete
  2. Hi Anonymous. Your tip above worked for me with just the second change to the firewall settings. Didn't have to tough the protected mode

    ReplyDelete