Responsive Ads Here

Monday, November 9, 2020

How to Fix the RDP internal error on windows server 2012/2016/2020

 How to Fix the RDP internal error has occurred on windows server 2012/2016/2020


An internal error has occurred error for Remote Desktop Connection is a very vague error message. It occurs mostly when a user is trying to connect to a remote computer. This could be caused by a weak network connection, an invalid configuration of the remote connection, and more.



To fix the issue, you need to add some windows registry. Before performing registry changes, make sure to follow the below prerequisites.

Step 1) Take Server Backup. Using the windows restore point or any third-party tool.

Step 2) Check the server, the RDP services are running or not. 

After performing the above steps, the issue persists, then go with adding the below registry values on your server. It will fix the completely the issue.

Open the Windows registry, you can open while searching the registry on the search bar or open the Run utility and type as per the below image.

After opening the registry window, go to the below path.

"HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server"

Add the dword registry as a name.

"MaxOutstandingConnections"

Add Value:

"3000"

 

OR Just run the below mention PowerShell script. The Script will add the above-mentioned entry automatically.

$registryPath = "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server"
$Name = "MaxOutstandingConnections"
$value = 3000
IF(!(Test-Path $registryPath))
  {
    New-Item -Path $registryPath -Force | Out-Null
    New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null}
 ELSE {
    New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null}

And, Restart the server once the above-mentioned steps are performed.

Hola!!!! I hope this article helps you. Leave a Comment and don't forget to check our website. 



No comments:

Post a Comment