Windows server 2003 Clients cannot Remote Desktop to Windows Server 2012 Session Hosts

Recently I have faced a Problem that all of the Windows Server 2003 Clients cannot Remote Desktop to Windows server 2012 Session host server. They have prompted with following error.

“The remote session was disconnected because the remote computer received an invalid licensing message from this computer”


I have two Windows server 2012 session host servers and this issue only occur to one of the servers. I have tried to solve this by adding different settings that have suggested in blogs and articles but nothing helps. After getting Microsoft support, they have suggest a solution that helps to resolve the issue.

Please use following steps to resolve this issue.

  1. Login to the Session Host server (Server 2012)
  2. Backup the registry
  3. Find the following registry key
  4. Delete following registry keys
  • X509 Certificate
  • X509 Certificate ID
  • X509 Certificate2
  • rds1
    5. Restart the server

If the issue is on this, deleting these registry entries will make windows server 2003 clients successfully login to windows server 2012 session hosts.

Hope this information is useful.