经验分享 · 2024年3月2日

A Guide to Fix RDP Error: An Internal Error has Occurred

RDP Connection “An internal error has occurred.”

An internal error has occurred

You generally see this error message on a Windows PC running RDP Client. This is the result of modifications done to RDP settings. You might see this error when someone changes the local group policy’s security settings. This is a common error.

We believe the probable reasons for this issue are related to RDP connection settings, RDP security, and Computer Domain connectivity. We have created a complete list of solutions to fix this issue.


PLUS: If you see this error when connect with domain name, try use IP address first!!

Solution 1: Restarting the RDP (Remote Desktop Service)

Sometimes restarting a service or a process removes the glitch. The same works for RDP connectivity. You can try restarting it when you face an internal error in RDP.

Try the following steps:

  1. Press the Win+R combination to open the Run command.
  2. Type the command Services.msc and press OK.Win plus
  3. This will open the Services (Local) console. Search for Remote Desktop Services and select it. Stop and Restart the Remote Desktop Services.Remote Desktop Services
  4. Try reconnecting the RDP.

Also Read: How to Access your Windows VPS using RDP on Apple Mac?


Solution 2: Allow Remote Connections

Try the following steps:

  1. Locate the This PC icon on your computer’s desktop. Alternatively, click on Start >> Windows System >> File Explorer.
  2. In the File Explorer window, locate This PC from the left panel.File Explorer
  3. Right-click on This PC icon and select Properties. This will open your computer’s settings window.

Also Read: How to restart the RDP without rebooting the windows server?


Solution 3: Ensure Remote Desktop Connection settings are correct

A little tweak to the RDP settings would prove good enough to fix this issue the RDP internal error.

Try the following steps:

  1. Press the Win+R combination to open the Run command. Type the command MSTSC and press Enter key.command MSTSC
  2. A dialogue box will appear when you click on the Show Options button.Show Options button
  3. Click on the Experience Tab and make sure the “Reconnect if the connection is dropped” option is selected.Reconnect if the connection is dropped
  4. This calls for a reconnection. Reconnect the RDP.Reconnect the RDP
  5. Locate and click on Remote Desktop from the left panel.
  6. For this step, you must be logged in with admin privileges. Please ensure that Enable Remote Desktop is ON.

Enable Remote Desktop


Also Read:How to Connect to FTP Using FileZilla on Windows


 Solution 4: Disable the Network Level Authentication

When it comes to network security, Network Level Authentication plays an important role. Let us consider the Network Level Authentication as a temporary tool to resolve the RDP Internal Error.

The steps mentioned here will deliver temporary relief. By default, the Network Level Authentication should remain Enabled. Re-reverting to the default settings is recommended once the issue is resolved.

Try the following steps:

  1. Go to the control panel on your PC.
  2. Click on the System and Security >> System >> Advanced System Settings >> Remote settings >> Go to RDP Tab.Go to RDP Tab
  3. Uncheck the “Allow connection only from computers running Remote Desktop with Network Level Authentication (recommended).”Network Level Authentication


  4. Click on the OK button and try reconnecting the RDP. 

Also Read:A Simple Guide To Connect Your cPanel Email to Gmail


Solution 5: Modify the Startup of Services

You can configure the RDP Services to start automatically.

  1. Press the Win+R combination to open the Run command.
  2. Type the command Services.msc and press OK.Winplus
  3. From the Services console, locate Remote Desktop Services.locate Remote Desktop Services
  4. Right-click on it and select Properties.Select Properties
  5. Go to the Startup Type, select the Automatic option from the drop-down,  and click the OK button.Automatic Option
  6. Verify if your RDP connection has been established.

Also Read: move an email account from one cPanel server to another


 Solution 6: Disabling static IP on your Computer

If you configure your Remote Desktop Connection to use a static IP address, your computer’s network adapter will not synchronize properly with the Remote Desktop Connection. It may further cause an internal RDP error on your computer.

Try the following steps to disable the static IP address and allow the system to obtain it dynamically.

  1. Press Start and type Settings in the search bar. This will open the Windows Settings console.Windows Settings Console
  2. Click on Network and Internet.
    Click on Network and Internet
  3. Select and click on Ethernet from the left panel.Ethernet left Panel

     

  4. Select the name from the right panel. This will open the Metered Connection page. Press Edit under IP settings.
    IP Settings
    This will open the Edit IP settings pop-up. Click on the 1st drop-down, select Automatic (DHCP) instead of Manual and click on Save.Instead click On Save
  5. Restart your computer for this modification to take effect.

Also Read:What is FTP & How to Create an FTP Account In cPanel?


 Solution 7: Disabling the VPN Settings

     We will use the command inetcpl.cpl over here.

  1. Press the Win+R combination to open the Run command.
  2. Type the command inetcpl.cpl and press OK.Command Inetcpl
  3. This will open the Internet Options window. Click on the Connections Button, followed by the LAN Settings button.LAN Settings
  4. Uncheck the “Use a proxy server for your LAN” checkbox and press OK.Proxy Server for LAN
  5. Restart your computer for this modification to take effect.

Also Read: Is Your Cpanel Not Receiving Emails-What to Do?


Solution 8: Modifying Your Local Security Policy

Modifying your computer’s local security policy might come as a solution to your Internal RDP issue.

We will use the command Secpol.msc over here.

  1. Press the Win+R combination to open the Run command.
  2. Type the command Secpol.msc and press OK.Command Secpol msc
  3. In the Local Policies, go to Security Options.Local Policies
  4. Scroll down & locate the Policy: “System Cryptography: Use FIPS compliant cryptographic algorithms, including encryption, hashing, and signing algorithms option.”locate the Policy

     

  5. Restart your computer. Double-click on it and checkmark on Enable.

Also Read:How to upload Laravel Project on Shared Hosting With cPanel?


 Solution 9: Modifying RDP Security in Group Policy Editor

We will use the command gpedit.msc over here.

  1. Press the Win+R combination to open the Run command.
  2. Type the command gpedit.msc and press OK.Command gpedit msc
  3. Now, you will see a Directory Structure. Navigate to Computer Configuration > Administrative Templates > Windows Components.Windows Components

    Remote Desktop Services > Remote Desktop Session Host > Security.

    Session Host Security

    security layer for remote

     

  4. You must right-click on Require use of specific security layer for remote (RDP) connections. Select the Edit button.
  1. Click on the Enable radio button to set RDP at Security Layer.
  2. Click on the OK button. Restart your computer for this modification to take effect.

Also Read:How to Redirect HTTP to HTTPS in htaccess?


Solution 10: Tune the Computer’s Firewall for RDP connection

There are major chances that the firewall on the Server might be blocking your RDP connection. Ports are a great help in establishing connections. Hence, you must ensure that the inbound rules on the server permit the RDP traffic received through Port #3389.

If you use a port other than 3389, you must mention it in your Windows Firewall.

Try the following steps:

  1. Press Start and type Administrative Tools in the search bar.Administrative Tools
  2. Locate Windows Firewall with Advanced Security and double-click to open it.Windows Firewall
  3. Select and click on Inbound Rule >> New Rule >> select port. Specify the New Port to be used.Inbound Rule

    Inbound Rule select Port

  4. From the Action Tab, permit the connection to Domain, private and public.Inbound Rule select Port
  5. Name this New Rule and click on Finish.Inbound Rule select Port
  6. Verify if your RDP connection has been established.

Also Read: How to Add a New Domain To Cpanel?


Solution 11: Modifying MTU Value

The Maximum Transmission Unit, or MTU, is the packet size value transmitted through the network. Changing the MTU value should resolve your issue.

Try the following steps:

  1. Download the TCP Optimizer and use it to alter the MTU value.
  2. Run the downloaded TCP Optimizer as an administrator.
  3. Move to the bottom of the dialogue box, and select custom.
  4. Set the MTU value to 1658.
  5. Click on Apply and Exit for changes to take effect.
  6. Reconnect your computer.

Also Read: How to Create a Subdomain For Your Website


Solution 12: Enabling Persistent Bitmap Caching

We will use the command MSTSC over here.

  1. Press the Win+R combination to open the Run command.
  2. Type the command MSTSC and press OK.command MSTSC
  3. Click “Show Options.”Show Options connection
  4. Go to the Experience Tab and checkmark the “Persistent bitmap caching.”Persistent bitmap caching
  5. Reconnect your computer.