RDP does not work in a container. Similar errors can be found in the Event Viewer dump:
wmic ntevent where "EventType<3" get logFile,sourceName,eventType,message
The RDP protocol component "DATA ENCRYPTION" detected an error in the protocol stream and has disconnected the client
The issue is caused by corrupted encryption settings.
Edit the container registry and remove the corrupted data:
- On the Hardware Node, open the Registry Editor.
- Navigate to HKEY_LOCAL_MACHINE\vzCTIDMACHINE\System\CurrentControlSet\Services\TermService\Parameters
Remove the below subkeys:
- X509 Certificate
- X509 Certificate ID
- Close the Registry Editor and restart the container.
112775 Cannot connect to a container using RDP
MS KB#323497 "The RDP Protocol Component 'DATA ENCRYPTION' Detected an Error..." error message