When the Remote Desktop Protocol (RDP) client is unable to establish a connection with an RDP server, the notice “Remote Desktop Connection: an internal problem has occurred” may appear on a Windows PC. One or more setup problems with RDP and security are the cause of the error.
In this manual, we’ll walk you through the process of troubleshooting this problem. We’ll be looking at the most crucial RDP settings you may check on your Windows PC as we go through the various phases.
Table of Contents
Steps to Solve Remote desktop connection an internal error
Letâs go through the most common RDP settings and configuration snafus that can cause the âRemote Desktop Connection: an internal error has occurredâ message to appear. Then, weâll show you how to solve them!
Allow remote connections
This is perhaps the most fundamental setting you will need to verify â checking your remote settings. You need to verify if âRDP is enabledâ. Again, this can be discovered by clicking Start -> Settings -> Remote Desktop and verifying that âEnable Remote Desktopâ is on.
Change Remote Desktop connection settings
There are some basic settings related to RDP that are crucial, at the lowest layer of the TCP/IP stack. The default TCP port that Remote Desktop Host (RDH) listens on is â3389.â
To run a simple test from your client machine, run the Test-NetConnection command from a PowerShell prompt to test connecting to the serverâs name or IP address on port 3389. I will test the connection to one of my Windows Server 2022 domain controllers (DCs).
We can check more âbasicsâ on the server side by going to Start -> Settings -> Remote Desktop. Here, I can click Advanced Settings and see a few more settings. I highly recommend keeping the âRequire computers to use Network Level Authentication to connect (recommend)â checked. Definitely a wise and secure setting.
Allow the Windows Firewall to connect to RDP
One of the reasons the âTest-NetConnectionâ from item #2 may fail is that the Windows Defender Firewall may be blocking TCP traffic. We need to make sure the inbound rules on the server allow for Remote Desktop Protocol traffic (port 3389).
- On the server, click the Start menu, and search for âfirewallâ to open âFirewall & network protection.â
- At the bottom, scroll down and click on âAllow an app through firewall.â
- In the âAllow apps to communicate through Windows Defender Firewallâ screen, scroll down and make sure âRemote Desktopâ has a checkmark in the specific network type you are using (should be Domain).
Leave and re-join a domain
You do have the option of disjoining your client PC from the Active Directory domain, rebooting, and then re-joining it. This doesnât necessarily solve a lot of problems in this area, but, like rebooting, it can clear up innocuous issues.
I wonât go through the steps here, but you can use the Remove-Computer cmdlet in PowerShell to accomplish this task.
Restart the Remote Desktop Services service
There are times when you just need to ârebootâ in a way. There are several methods you can use to restart the Remote Desktop Services service: the Services MMC snap-in, PowerShell, etc. Iâll show you the Computer Management way.
- Right-click the Start button and click on Computer Management.
- Expand Services and Applications, and click on Services.
- Find the Remote Desktop Services service and Restart it.
You may not be able to restart the service if you are logged into it remotely, of course. You may need to log in interactively to the Console session of the server (KVM).
Change Remote Desktop Protorocl security in Group Policy Editor
There are some cases where the security settings for the Remote Desktop Protocol are not behaving correctly. In that case, we can edit the group policy on the server.
You can open the local Group Policy Editor to do some trial and error in this realm.
- Press âWindows key + Râ and type in âgpedit.mscâ.
- Navigate to this location:Â Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Security.
- If the âRequire use of specific security layer for remote (RDP) connectionsâ parameter is set to Not Configured, select Enabled, and in Security Layer, choose RDP.
- Close all programs, reboot your server and attempt to reconnect your RDP connection.
Change the local security policy
Another potential security issue can be looked into and resolved using the local security policy. Letâs follow through with these steps to gain more insight:
- Press Windows key + âRâ to open the Run dialog.
- Type in âsecpol.mscâ to open the local security policy utility.
- Click on âLocal Policiesâ and select the âSecurity Optionâ on the left side.
- Scroll down and double-click on the âSystem cryptography: Use FIPS compliant algorithms for encryption, having, and signing.â
- Select âEnabledâ and click OK.
- Exit your programs and reboot the server.
- Attempt to connect via the Remote Desktop Protocol again.
Also Read
A Step-by-Step guide to fix Roblox error code 403
How to fix an error connecting to iCloud on Mac
How to Fix Pandora Error 3002 using 2 Easy and Quick Methods
A Step-by-Step guide to fix Roblox error code 403
FAQs
Q. How do I fix Remote Desktop error internal error has occurred?
- Allow remote connections.
- Change Remote Desktop connection settings.
- Allow the Windows Firewall to connect to RDP.
- Leave and re-join a domain.
- Restart the Remote Desktop Services service.
Q. How do I reset Remote Desktop Connection?
To reset a remote desktop, use the Reset Desktop command. Select Options > Reset Desktop from the menu bar. Right-click the remote desktop icon and select Reset Desktop. To reset published applications, use the Reset button in the desktop and application selector window.
Q. Why can’t I access my Remote Desktop?
âRemote Desktop can’t connect to the remote computer for one of these reasons:Â Remote access to the server is not enabled. The remote computer is turned off. The remote computer is not available on the network.
Comments are closed.