RDP: An Internal Error Has Occurred

In some cases, when connecting to remote computers/RDS server via RDP, users may encounter an “An internal error has occurred” error. This error may appear due to various reasons related to both the settings of the RDP/RDS server and the client (Windows settings, or settings in the Remote Desktop Connection window).

The error “An internal error has occurred” usually appears after user credentials is entered in the mstsc.exe window or immediately after clicking the Connect button.

rdp an internal error has occurred

Since there may be several causes for this RDP error, try to use the following tips one by one until you find a solution that helps you.

The easiest way to fix the problem is to reboot the remote RDP/RDS server and your computer from which you are establishing RDP connection. If you cannot restart the server right now, you should try to restart the Remote Desktop Service. You can do this with the following commands running in the elevated cmd.exe:

net stop termservice

net start termservice

Or you can restart Remote Desktop Services from the services.msc console.

remote desktop an internal error has occurred

Open the properties of your RDP connection in Remote Desktop Connection windows and make sure the ‘Reconnect if the connection is dropped‘ option is enabled on the Experience tab

READ ALSO  How to Allow Saved Credentials for RDP Connection?

remote desktop connection an internal error has occurred

Next, try to recreate the RDP certificate:

  1. Open local computer certificates MMC snap-in, by running the certlm.msc command;
  2. Go to the following certificate section: Remote Desktop > Certificates;
  3. Right click your self-signed certificate RDP cert and delete it (if there are several RDP certs, remove them all); an internal error has occurred rdp
  4. Restart the Remote Desktop Services as described above.

You can try to change the maximum outstanding connections limit on your RDP server via the registry. Set the following registry value via regedit.exe:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

DWORD: MaxOutstandingConnections

VALUE: 10000

Or with PowerShell:

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server"

-Name MaxOutstandingConnections -Value 10000 -PropertyType DWORD -Force

Check the current MTU size oy your Windows with the command:

netsh interface ipv4 show subinterfaces

an internal error occurred rdp

If the current MTU size for your network interface is equal or more than 1500 (default Windows value), reduce it by using the command:

netsh interface ipv4 set subinterface "vEthernet (vSwithcExternal)" mtu=1452 store=persistent

Try to change some Group Policy setting using the Local GPO editor (gpedit.msc) or domain Group Policy Management Console (gpmc.msc).

  1. Disable UDP protocol for RDP connection on clent side: Computer configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client > Turn Off UDP on Client = Enabled; rdp an internal error has occurred server 2016
  2. Enable FIPS compliant algorithms: Computer configuration > Windows Settings > Security Settings > Local Policies > Security Options > System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing = Enabled; rdp an internal error has occurred windows 10
  3. Disable the hardware encoding and enforced AVC:444 mode on the RDP server side: Computer configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment > Prioritize H.264/AVC 444 Graphics mode for Remote Desktop Connection = Disabled; an internal error has occurred remote desktop windows 10
  4. Try to change the RDP security level to RDP mode (use the policy ‘Require use of specific security layer for remote connections’ according to the article.

After changing the policy settings, you need to apply them on the client and server using the gpupdate command.

READ ALSO  To Sign in Remotely, You Need the Right to Sign in Through Remote Desktop Service

Now check that your RDP client connects without errors.

Cyril Kardashevsky
Latest posts by Cyril Kardashevsky (see all)

One comment

  1. I have had this issue. I had to turn off the server authentication warning under advanced of my client RDP connection.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.