VPN (Virtual Private Network) connectivity is essential for secure remote access, especially for users handling sensitive data or working remotely. However, Windows 10 users may sometimes encounter frustrating error messages such as Error 628. This is a common VPN error that indicates the connection was terminated by the remote computer before it could be established. Understanding why Error 628 occurs and how to resolve it can prevent unnecessary downtime and connectivity issues.
What Is VPN Error 628 in Windows 10?
Error 628 occurs when a VPN client on Windows 10 attempts to initiate a connection, but the connection fails prematurely. The explicit error message often states: “The connection was terminated by the remote computer before it could be completed.” While this may seem like a server-side issue at first, various local configurations and conditions on the client machine may actually cause the problem.

Common Causes of VPN Error 628
There are several reasons why users experience this error on Windows 10. Below are the most frequent causes:
- Incorrect VPN Credentials: A wrong username or password can lead to a connection rejection from the VPN server, resulting in Error 628.
- Outdated Network Drivers: Incompatible or outdated drivers may interfere with the VPN connection, causing sudden disconnections.
- Firewall or Security Software: Overprotective security applications or firewalls may block the VPN connection attempt.
- Corrupted TCP/IP Configuration: Misconfigured or corrupted network settings can inhibit VPN operations.
- Poor Internet Connectivity: Unstable or slow internet connections may cause the session to terminate before it is established.
How to Fix VPN Error 628 on Windows 10
Thankfully, Error 628 has several proven solutions. Trouble-shooting step by step increases the chances of successfully resolving the issue.
1. Verify VPN Credentials
Double-check the VPN username and password. If your credentials are saved, try re-entering them manually to ensure accuracy.
2. Update Network Adapter Drivers
Outdated drivers are a common culprit. Follow these steps:
- Right-click the Start button and choose Device Manager.
- Expand Network adapters.
- Right-click your adapter and select Update driver.
- Search automatically for updated driver software.
3. Disable Security Software Temporarily
Some firewalls or antivirus programs might mistake VPN traffic as a threat. Temporarily disable these tools to determine if they are the root cause.
4. Reset TCP/IP Stack
Corrupted network settings can be fixed using the Command Prompt:
- Open Command Prompt as an administrator.
- Type:
netsh int ip reset resetlog.txt
- Press Enter and then restart the computer.

5. Reconfigure VPN Settings
If the VPN server requires specific protocols or security settings, ensure they are correctly configured:
- Go to Settings > Network & Internet > VPN.
- Select your VPN and click Advanced options, then Edit.
- Choose the correct VPN type (e.g., PPTP, L2TP/IPSec, SSTP).
Conclusion
VPN Error 628 in Windows 10 can stem from a variety of causes — from incorrect configuration to outdated software and restrictive security settings. Addressing the issue systematically by verifying credentials, updating software, and reconfiguring settings will significantly improve success rates in connecting to a VPN. Even though this issue can seem daunting at first, the right troubleshooting approach can have the problem resolved efficiently.
Frequently Asked Questions (FAQ)
- Q: Is VPN Error 628 caused by the server or client?
A: While the error message points to the remote computer, it can be caused by misconfigurations or issues on the user’s device as well. - Q: Can switching VPN protocols fix Error 628?
A: Yes, sometimes switching from one protocol (e.g., PPTP) to another (e.g., L2TP/IPSec or SSTP) can resolve compatibility or security limitations. - Q: Will resetting the router help?
A: If the issue is related to network instability or firewall rules on the router, a reset might help, especially if port blocking is involved. - Q: How do I know if my antivirus is blocking the VPN?
A: Temporarily disabling your antivirus and retrying the VPN connection can help identify if it’s the cause of the interference. - Q: Is Error 628 exclusive to Windows 10?
A: No, this error can also occur on earlier or newer versions of Windows, although it’s commonly reported on Windows 10 due to specific update or driver issues.