Remote desktop connection: An internal error has occurred

Lê Phùng Hiến 61 Reputation points
2021-03-05T04:23:48.597+00:00

Hi guys,

I have problem with RDP when connect to my Server (Windows 2016 std OS)

Some time, remote desktop faild with message: An internal error has occurred (please see more detail in video link)

  • RDP client: Windows server 2016 or windows 10 pro
  • Target: windows server 2016 std
  • firewall off
  • McAfee Enterprise antivirus unlocked all connection
    Could you please help me to resolve this problem?

Regards,

Hien Le

Link video: https://youtu.be/BPirG4F8KhU

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,253 questions
{count} votes

Accepted answer
  1. Grace HE 1,241 Reputation points
    2021-03-08T09:51:19.22+00:00

    Hi,
    Thank you for your reply. Here are some suggested solutions.

    1. Change Remote Desktop Connection Settings
      Go to the Start Menu, search for Remote Desktop Connection, and open it up.
      Click on Show Options to unveil all the settings.
      Switch to the Experience tab and then make sure ‘Reconnect if the connection is dropped’ box is checked
      Try connecting again.
    2. Changing MTU Value
      To change your MTU value, you will have to download a tool called TCP Optimizer. You can download it from https://www.speedguide.net/downloads.php.
      Once downloaded, open up TCP Optimizer as an administrator.
      At the bottom, select Custom in front of Choose settings.
      Change the MTU value to 1458.
      Click Apply Changes and then exit the program.
      Check if it fixes the issue.
    3. Changing Security of RDP in Group Policy Editor
      Go to the Start Menu, search for Local Group Policy and open up ‘Edit group policy’.
      Navigate to the following directory:
      Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security
      On the right-hand side, locate the ‘Require use of specific security layer for remote (RDP) connections’ and double-click it to edit it.
      If it is set to ‘Not configured’, select Enabled and then in front of Security Layer, choose RDP.
      Click Apply and then hit OK.
      Restart your system so that the changes take effect.
      Try connecting again.
    4. Disabling Network Level Authentication
      Go to your Desktop, right-click on This PC and select Properties.
      Click on Remote Settings.
      Under Remote Desktop, un-tick the ‘Allow connections only from computers running Remote Desktop with Network Level Authentication’ box.
      Click Apply and then hit OK.
      See if it isolates the issue.

    ---If the suggestions above are helpful, please ACCEPT ANSWER. Really appreciate. This will also help others with similar issue to find this post quickly. ---

    10 people found this answer helpful.

11 additional answers

Sort by: Most helpful
  1. Simon Kravis 1 Reputation point
    2021-10-04T22:41:12.643+00:00

    Not an answer but I often get the Internal Error message from RDP at various stages when accessing my VPS - sometimes before showing the login screen, sometimes after supplying credentials. If I try making the connection multiple times it usually works eventually.

    0 comments No comments

  2. YaroC 311 Reputation points
    2022-10-20T20:15:02.183+00:00

    In my case it was caused by changes in registries specifically to do with SCHANNEL. For instance RDS requires TLS1.0 client enabled. In my case I found that setting was fine but I had TLS1.1 and 1.2 disabled. 1.1 doesn't matter but when I re-enabled 1.2 the error went away.

    0 comments No comments

  3. Sachin Kumar 0 Reputation points
    2023-01-17T18:49:30.8633333+00:00

    I found the same issue. While trying to login in the server 2019. Suddenly, I start facing the issue "an error occurred" & the session hardly take 1 ms to response.

    After investigation I found that the server port was hung & even after reboot something was blocking the server to get RDP. Even, mstsc /admin was also not working.

    During the investigation it was detected that the server was throwing some incorrect errors also like certificate issue & throw some Schannel errors too.

    Renaming the folder c:\ProgramData\Microsoft\Crypto\RSA\MachineKeys & changing the port of RDP 3389 to 3388 in my case it helps. Later on you can roll back it to 3389 .

    Port change reg path :- HKLM\system\CCS\Control\terminal server\winstations\RDP-TCP\ then navigate to port number (default value d3d) d3c means 3388.

    Note:- TLS1.2 should be enabled.

    Enjoy the fix.


  4. Greg McFarlane 0 Reputation points
    2023-02-10T17:23:46.3933333+00:00

    I would like to follow up on @Mitch Steinsberger answer.

    I usually find it necessary to SAVE AS to a new RDP file.

    Then go to OPTIONS -> Experience and save something.

    The next time i hit connect, it blanks out the user name. Usually, when this happens, whatever issue has been avoided and your connection will work.

    this always catches me when Im super slammed and dont have the 40 minutes it takes to remember how to get around this!

    hope it helps

    0 comments No comments