Windows 10 (1809) - RDP failed with Internal Error: 4360
Symptom
On a Windows 10 client, All PSM-RDP failed with Internal Error: 4360. Applies to both ActiveX and RDP file scenario. When user is trying to connect to target, the connection will fail immediately with error shown on PVWA:
An Internal error has occurred. Error Code: 4360
Performing a direct RDP from the client to the PSM Server will also fail with the same error message.
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8
Cause
Windows 10 – 1809 update is causing RDP problems to hosts with GPO Setting “Hardware Encoding and enforced AVC:444 mode is enabled”
Resolution
Disabling the GPO will work, but it also disables all Hardware Encoding. Which cannot be done for some of the customer’s environment.
The next option is to disable UDP for RDP on client. This can be done through:
1. GPO, navigate to computer configuration\Admin Templates\ Windows Components\Remote Desktop Services\Remote Desktop Connection Client -> Enable “Turn Off UDP On Client”
2. Registry, HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client -> Set “fClientDisableUDP” to “1”
Ensure that KB4482887 is installed, as it is supposed to address the issue that causes TerminalServices to stop working when Hardware Encoder is configured for AVC (Advanced Video Coding)
Additional Information
Details
SYMPTOM:
On a Windows 10 client, All PSM-RDP failed with Internal Error: 4360. Applies to both ActiveX and RDP file scenario. When user is trying to connect to target, the connection will fail immediately with error shown on PVWA:
An Internal error has occurred. Error Code: 4360
Performing a direct RDP from the client to the PSM Server will also fail with the same error message.
PROBLEM:
Windows 10 – 1809 update is causing RDP problems to hosts with GPO Setting “Hardware Encoding and enforced AVC:444 mode is enabled”
SOLUTION:
Disabling the GPO will work, but it also disables all Hardware Encoding. Which cannot be done for some of the customer’s environment.
The next option is to disable UDP for RDP on client. This can be done through:
1. GPO, navigate to computer configuration\Admin Templates\ Windows Components\Remote Desktop Services\Remote Desktop Connection Client -> Enable “Turn Off UDP On Client”
2. Registry, HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client -> Set “fClientDisableUDP” to “1”
Ensure that KB4482887 is installed, as it is supposed to address the issue that causes TerminalServices to stop working when Hardware Encoder is configured for AVC (Advanced Video Coding)
If above does not work, and client is using Internet Explorer with ActiveX and the issue only arises after more than a number of concurrent connection are in place (about 10 or so):
Look for this Registry Entry:
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main]
"TabProcGrowth"="1"
Delete this entry from the registry and reboot the client.
The connection should work normally after that.