Because of an error in data encryption, this session will end

Because of an error in data encryption, this session will end

An aggravating situation with a simple solution. I have a brand new out-of-the-box Windows 2008 server that will not maintain a terminal services RDP session for a lousy two minutes without a “Because of an error in data encryption, this session will end.” error. Rather annoying however I did find a solution to the problem so follow along:

Sponsors, article continues below...

1) Show All Connections
2) Local Area Connection -> Properties
3) Press The Configure Button (for the NIC)
4) Advanced
5) Then Set The following To Disabled: Offload TCP Large Send or IPv4 Large Send Offload (HP)

When Large Send Offload is enabled on a NIC the NIC will handle frame processing rather than the CPU. If disabling it fixes the issue and also improved performance there may be a problem with either the hardware or network topology and you should consider running NIC diagnostics. This solution may also resolve issues after installing Hyper-V or Virtual PC 2007 on a Windows 2008 server.

This entry was posted in Microsoft.

5 Responses to Because of an error in data encryption, this session will end

  1. Leonie says:

    Thanks – this solution saved me in less than a minute!!

  2. Are you running Symantec Endpoint x64. We have just had this problem and the issue appears to be related to the AV – try uninstalling – this should cure your problem.

  3. stephen says:

    I am not running Symantec Endpoint x64, thanks for the tip though!

  4. Cindy says:

    I just want to thank you for this post. I was having this same issue using Remote Desktop to an Windows 2008 server.
    It didn't matter how I was trying to connect, but this solution resolved the issue.

    Thanks

  5. Estopa says:

    also had to disable NIC speed/duplex negotiation to get it to work

Leave a Reply