FIX: Windows 10 VPN error 789 connection failed due to security issues

Elsie Otachi By: Elsie Otachi
3 minute read
vpn not working virgin media

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

If you’re using a VPN, and get prompted with the Windows 10 VPN error 789 that states: “The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer” the causes may be within your system.

This error pops up when your system is not properly set up to connect to an L2TP server, thus the connection attempt fails even before you establish a connection with the server.

It is also linked to incorrect configuration of your operating system like Windows 10 in this case. This generic error is thrown when the IPSec negotiation fails for the L2TP/IPSec connections.

Other possible causes include:

  • L2TP based VPN client (or VPN server) is behind NAT.
  • Wrong certificate or pre-shared key is set on the VPN server or client
  • Machine certificate or trusted root machine certificate is not present on the VPN server.
  • Machine Certificate on VPN Server does not have ‘Server Authentication’ as the EKU

Here are solutions you can use to fix Windows 10 VPN error 789 on your computer.

FIX: Windows 10 VPN error 789

  1. Reset network adapter
  2. Check the certificate
  3. Re-enable IPSec on your computer

Before trying any of these solutions, ensure that L2TP and IPSec pass-through options are enabled from your router. If you configured your VPN service manually, then make sure you use the preshared key 12345678.


Trusted by 15milion users worldwide, CyberGhost VPN is recommended for its good performance and has a highly responsive support team. You can rely on one of the leaders on the VPN market.


1. Reset network adapter

  • Right click Start and select Device Manager

 Windows 10 VPN error 789

  • Find Network adapters and click to expand the list

 Windows 10 VPN error 789

  • Identify your network adapter and right click on it then select Uninstall
  • Click OK
  • Restart your computer. The device will reinstall and should reset it to default settings

If this doesn’t fix Windows 10 VPN error 789, try the next solution.

2. Check the certificate

Ensure the correct certificate is used both on the client and the server side. In case Pre Shared Key (PSK) is used, ensure that the same PSK is configured on the client side, and the VPN server machine.

3. Re-enable IPSec on your computer

  • Right click Start and select Run

 Windows 10 VPN error 789


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

  • Type services.msc
  • Find ‘IKE and AuthIP IPSec Keying Modules’

 Windows 10 VPN error 789

  • Find IPSec Policy Agent’

 Windows 10 VPN error 789

  • Check the status. If it says ‘started’ click to restart. If the ‘started’ option is disabled, enable it
  • Double click on each of the two
  • Select Startup type

 Windows 10 VPN error 789

  • Change it to Automatic

 Windows 10 VPN error 789

  • Save the changes
  • Restart your VPN service

Once you have done all the steps above carefully, the VPN should work smoothly as the protocol settings have been reset to default. If, however, it doesn’t work, you have to manually set the encryption method both for the server and the client side, in order for them to be compatible.

In case you have a user-specific issue on your computer yet you still get Windows 10 VPN error 789 after trying any of the above solutions, you can also contact the customer care or tech support team for your specific VPN provider and share the details for further assistance.

Do let us know if any of these solutions fixed the Windows 10 VPN error 789 by leaving a comment in the section below.

RELATED STORIES TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Discussions

Next up

Windows 10 KB4467708, KB4464455 fix black screen and camera issues

Giles Ensor avatar. By: Giles Ensor
3 minute read

In this article, we are going to be talking about two November 2018 Patch Tuesday updates – KB4467708 and KB4464455. Both these updates are quality improvement […]

Continue Reading

Surface Pro 3 gets new security updates, install goes smoothly

Giles Ensor avatar. By: Giles Ensor
2 minute read

After recent bad news stories about updates released by Microsoft for Windows 10, that you can read here and here, it is refreshing to read (or […]

Continue Reading

Best Windows 10 antivirus software to use in 2018

Radu Tyrsina By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading