How to Fix the RDP error "An Internal error has occurred"

This guide will walk you through the you are facing upon trying to login to your remote desktop server. 

If upon login, you are facing the error mentioned in the layout below then this guide is made for you. 

 

On MacOS X Remote Desktop client, the error will be: "Error code: 0x4" while trying to connect. 


The error is due to a Microsoft Soft limit in the number of established connections for your server which is set by default to 2000. Past that amount of connections, all new connections are being rejected by your VPS. The connections could be coming from your very activities on your VPS (applications, web servers) or also intrusion attempts (scanning bots, remote desktop brute forcing, ransomware exploit - such as Wannacry on the port 445) If the latter, we would recommend the add-on RDP Guard which would extend the protection of your Windows Server. You may contact us for further information on this add-on. 

 

NOTE: If your Windows VPS has been installed / reinstalled past the 25th of November 2020. This hotfix has been already applied. You may attempt to restart your Windows VPS from your control panel and open a support ticket if the issue was to persist for us to troubleshoot further.

 

To fix your VPS, you would need to first restart your Windows VPS from your HS control panel. The restart would have the effect of resetting the connections and would allow you to initiate a Remote Desktop connection. The restart is mandatory to apply this fix. 

 

Once, the VPS is back online you may download the following patch onto your Windows VPS:

https://www.host-stage.net/hsmirrors/max.reg.zip

Extract the ZIP file, and run the max.reg script and click OK on the warning. 

 

You would finally need to restart your Windows VPS in order to apply the patch which would increase the allowed connections to 10 000. 

  • 255 Users Found This Useful
Was this answer helpful?

Related Articles

How to activate your Windows VPS Audio

Throughout this tutorial, we will show you how to configure your VPS and your computer so the...

How to Change your Windows VPS IP ?

Throughout this tutorial, you'll learn how to swap your main IP by one of your extra IP....

How to Activate Your Windows VPS License

In order to activate your Windows License on your Windows VPS you have to follow a few steps. Our...

How to Access Your Windows VPS with an Android Device

You may come to the point when you would need to access your windows VPS through an Android...

How to Access Your Windows VPS

In order to access your Windows VPS / Windows Dedicated Server flawlessly from a windows...