Business IT problems
VPN Error 789
VPN error 789 means your computer reached the VPN server, but the two could not agree on the security settings for an L2TP/IPsec connection.

Last updated 21 November 2026
Short answer
VPN error 789 means your computer reached the VPN server but the first IPsec security handshake failed, before your password was even checked. A mismatched pre-shared key or the wrong VPN type is the usual cause. Get the current key from whoever manages the VPN and re-enter it carefully. If it still fails, ask them to compare settings.
Windows VPN error 789 reads: The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer. Put simply, your computer found the VPN server, but the first security handshake, which happens before your username and password are checked, did not work. That handshake is handled by IPsec, the encryption layer under L2TP.
Because it happens so early, error 789 is almost never about your password. It is about the shared secret or certificate, the encryption settings, or something blocking part of the exchange. A single wrong character in a pre-shared key is enough to cause it, as is a mismatch after the office firewall was replaced or reconfigured.
- Price agreed before work starts
- Onsite across Auckland & Hamilton
- Job by job or on a care plan
Common causes
The most frequent is a pre-shared key that does not match the one on the VPN server, often typed by hand or changed at the office end. A connection set to the wrong type, such as Automatic instead of L2TP/IPsec with a pre-shared key, can also fail this way. Certificates that have expired or are not trusted cause it where certificate authentication is used. Windows' IPsec services being stopped, or encryption settings on a new firewall that the Windows client does not support, are other documented causes.
Steps worth trying
Get the current pre-shared key from whoever manages the VPN rather than guessing. Typing it again carefully fixes many cases.
- Open the VPN properties and confirm the type is L2TP/IPsec
- Re-enter the pre-shared key under the advanced settings
- Restart the computer so Windows' IPsec services start fresh
- Try from another network, such as a phone hotspot
- Ask whether the office firewall was changed recently

How we resolve it
We compare the VPN server's settings with the client's, confirm the key or certificate, and check the encryption options match what Windows supports. Where certificates are involved, we renew or reissue them properly. If many staff use the built-in Windows L2TP connection, we usually suggest moving to the firewall's own VPN client or a modern IPsec setup with multi-factor sign-in, which is easier to manage and less fragile than a shared key typed into every laptop.
Before we arrive
- A screenshot of error 789
- The VPN connection properties screen
- The current pre-shared key from your IT contact
- Whether the office firewall was replaced or updated
- Whether other staff can connect
Related services
Remote IT SupportSoftware, email, printing and account problems fixed over a secure remote connection, with an onsite visit booked if needed.Firewall & Network SecurityBusiness firewalls, VLANs and VPNs configured and documented onsite.Onsite IT SupportA tech at your workplace when something's not working.We come to you across Auckland and Hamilton - areas we cover
What a visit looks like
When you book VPN error 789, you tell us what's going on and we reply with a time that suits you and a price. Nothing starts until you're happy with both.
On the day, the technician arrives, looks at the problem in person and confirms the plan with you before starting. If something turns out different from what was expected - a part is needed, or the cause is somewhere else - we stop and agree the change with you first.
When the work is done we test it with you, show you what was changed, and leave the area tidy. For business jobs we note what we did, so there is a record for whoever looks after your IT next.
Pricing
| Charge | Price | Incl. GST |
|---|---|---|
| Call-out, per onsite visit | $26.09 + GST | $30 |
| First hour on site | $135 + GST | $155.25 |
| Each half hour after the first hour | $60 + GST | $69 |
| Remote help session (no call-out) | $60 + GST | $69 |
| SuperGold card holders - first hour at home | $116 + GST | $133.40 |
VPN error 789 is charged at our standard rates: a $30 call-out, the first hour, then half-hour blocks. We never charge by the minute or in 15-minute steps, and there are no hidden extras.
Larger jobs - a new network, a run of cabling, a server or a camera system - get a free quote before any work starts, so you know the cost up front. Parts and equipment are quoted and agreed before we order them.
There is no lock-in contract. Book a single job and pay for that job, or - for a business - choose a monthly care plan, quoted to you and stopped whenever you like.
VPN Error 789: common questions
Is my password wrong?
Unlikely. Error 789 happens before your username and password are checked. It is the shared key, certificate or encryption settings that are not matching.
What is a pre-shared key?
It is a secret phrase set on the VPN server and entered in each computer's VPN settings. Both must match exactly, including capital letters and symbols, for the connection to start.
Why did it stop after a firewall change?
A new or reconfigured firewall may use a different key or stronger encryption settings than the old one. The Windows connection then needs updating to match.
Should we keep using L2TP?
It works, but many businesses now prefer a firewall vendor's VPN client or IKEv2 with certificates, which are easier to secure with multi-factor sign-in and connect from more networks.
