Description
of the Problem: One server in the Citrix farm, suddenly stops
accepting new ICA connections and RDP Connections.
Symptoms:
1) No new Citrix connections.
2) No new RDP connections.
3) Resource utilization on the server is normal.
4) Event ID 50 is observed in the event viewer with following error
message
Source: TermDD
with the following error message:
"The RDP protocol
component WD detected an error in the protocol stream and has disconnected the
client."
5) Rebooting the server resolves the issue.
Cause:
1) Possibility is that the TS encryption certificate is out of sync or
invalid.
2) Another possibility is that Rdpwd.sys (RDP WinStation driver) has
crashed or got corrupted.
3) RDP TCP listener which represents the RDP-TCP protocol is down.
Solution:
Although the problem may resolve by restarting the server
but you may try the following solution if you don’t want to restart sever.
Without restarting
the server.
A) Resetting the RDP-TCP and ICA-TCP listener.
1) Take the console session of the server (through RSA/ILO management card
or through VCMS if it is a virtual server)
2) Login to the server with admin credentials.
3) I received this suggestion from Microsoft:
4) Launch TSCC.MSC and disable the RDP-TCP listener. (Right click on
RDP-TCPà
All Tasksà
Disable)
5) Enable the RDP listener again.
6) Similarly do with ICA-TCP listener.
You may alternatively try the below two steps to recover
from the situation. (Server restart needed)
B) Deleting Registry
settings
1. Start Registry Editor.
2. Locate and then click
the following registry subkey:
“HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TermService\Parameters”
* Certificate
* X509 Certificate
* X509 Certificate ID
4. Quit Registry Editor,
and then restart the server.
1. Launch TSCC.MSC
and delete the RDP-tcp listener.
2. Reboot.