ACTIVE MALWARE WINDOWS

How to fix
“The Connection was terminated by the remote computer” error
on Windows

Resolve the "Connection terminated by the remote computer" error in Windows 10 and 11 effortlessly. Expert-tested solutions inside for a quick fix!

How to fix “The Connection was terminated by the remote computer” error in Windows?
Quick Summary
Error severity
Medium
Est. time
5 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix “The Connection was terminated by the remote computer” error in Windows?

  • Issues with the router or modem
  • Outdated router firmware
  • Interference from the Windows Firewall
  • Unstable network connection
  • Problems with the VPN server
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hi, I have recently purchased a used laptop, and when I try to connect to the VPN, I receive a message "The Connection was terminated by the remote computer." Could you please advise?

Virtual Private Network (VPN) is a service that allows users to connect to the internet securely and privately. It enables users to access a private network remotely through public networks like the Internet. It creates a secure and encrypted tunnel between the user's device and the VPN server, providing anonymity and confidentiality to the user's online activity.

When Windows tries to establish a VPN connection, it sends a request to the VPN server. The server responds by verifying the user's credentials and creating an encrypted tunnel for the user to access the internet. However, some Windows users experience an error message when trying to establish a VPN connection. The message reads: "The Connection was terminated by the remote computer," and it sometimes comes up with code 628.

The VPN Error 628 is a PPTP error that appears when port 1723 is inaccessible on the user's PC. This error means that the remote computer fails to establish a connection successfully. There are several reasons why this error might occur.

One of the reasons is issues with the router or modem. Outdated router firmware or issues with the router's network connection can affect the connection the system is trying to establish. Another reason is interference from the Windows Firewall. If the Firewall perceives the connection as a threat or malicious activity, it might block the connection, resulting in the error.

How to fix the connection was terminated by the remote computer error in windows
How to fix the connection was terminated by the remote computer error in windows

Additionally, an unstable network connection can cause a "The Connection was terminated by the remote computer" error to occur. Network congestion, slow internet connections, or issues with the network components, like network adapters, can result in an error. In some cases, the error might also be caused by problems with the VPN server.

Below we provide several manual solutions for the "The Connection was terminated by the remote computer" error. If you would rather try the automatic approach, we recommend employing PC repair software [d1] for the job.

Fix 1. Disable proxy

In some cases, users cannot set up a VPN because a proxy is already established. Here's how to disable it:

  • Right-click Start and select Network connections.
  • Click on the Proxy option on the left-hand side of the Network & Internet menu.
  • Under the Manual proxy setup section, turn off the toggle switch for Use a proxy server.
  • If you previously had the Use setup script option enabled, make sure to turn it off as well.
  • Restart your computer for the changes to take effect.

How to fix the connection was terminated by the remote computer error in windows disable proxy
How to fix the connection was terminated by the remote computer error in windows disable proxy

Fix 2. Change security settings

  • Right-click on Start and pick Network connections.
  • Find the Advanced network settings section.
  • Click Change adapter options underneath.
  • Right-click on your VPN connection and click Properties.
  • Go to the Security tab.
  • In the Authentication section, mark the Allow these protocols option.
  • Tick the Challenge Handshake Authentication Protocol (CHAP) and Microsoft CHAP version 2 checkboxes and click OK.

How to fix the connection was terminated by the remote computer error in windows change security settings
How to fix the connection was terminated by the remote computer error in windows change security settings

Fix 3. Run network troubleshooter

Local network issues could cause "The Connection was terminated by the remote computer" error. Check your network using the dedicated troubleshooter:

  • Right-click on Start and pick Settings.
  • Go to Network & Internet section.
  • On the right side, find the Advanced network settings section.
  • Click Network troubleshooter and wait.
  • Apply the recommended fixes.

How to fix the connection was terminated by the remote computer error in windows run network troubleshooter
How to fix the connection was terminated by the remote computer error in windows run network troubleshooter

Fix 4. Reinstall miniports

  • Right-click on Start and pick Device Manager.
  • Expand the Network adapters section.
  • Right-click on WAN Miniport (SSTP) and select Uninstall device.
  • A warning will pop up - click Uninstall.
  • Do the same thing with all the other miniports.
  • Restart your system, and Windows should reinstall the default drivers.
  • If it doesn't, download them from the internet or opt for automatic driver updaters such as [rev id="DriverFix"].

How to fix the connection was terminated by the remote computer error in windows uninstall miniport driver
How to fix the connection was terminated by the remote computer error in windows uninstall miniport driver

Bottom line

To fix the 'The Connection was terminated by the remote computer' error, you can update your router firmware, check your firewall settings, and ensure your network connection is stable. If these solutions do not resolve the issue, consider troubleshooting the VPN server or seeking further technical assistance.

Frequently asked questions

This error typically occurs due to network configuration issues, firewall settings, or problems with the remote server. It may also be triggered by outdated network drivers.

To fix this error, try resetting your network settings or disabling any conflicting firewall or antivirus software temporarily. Additionally, ensure that your VPN or remote desktop settings are correctly configured.

You can prevent this error by keeping your Windows 10 system updated, regularly checking your network drivers, and ensuring that your firewall rules allow for the necessary connections.

Did this fix work for you?
Jake Doevan

Written & verified by

Senior Windows Technician
Windows repair tools SFC and DISM Startup failure recovery Windows Update errors System Restore

Jake Doevan is a senior Windows technician with deep practical knowledge of Windows' built-in repair and recovery tools. He has written extensively about SFC, DISM, CHKDSK, System Restore, and Windows Recovery Environment — the tools that can salvage a failing Windows installation without data loss. Jake's guides are precise and sequenced: each step is ordered to avoid compounding the original problem, and he explains what each command does so readers understand the process rather than following it blindly. His work is particularly valuable for users dealing with corruption, startup failures, and update-induced regressions.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →