FIX: VPN Error 812 in Windows 10

Madalina Dinita
by Madalina Dinita
Managing Editor
Loading Comments
Download PDF
Affiliate Disclosure

  • Any decent VPN service should offer a VPN client that is easy to use and doesn't cause any errors. In case you do have them, see how to fix VPN errors here.
  • The VPN error 812, is both uncommon and a bit technical. Follow the article, take your time and you will solve this and get back online easily.
  • For more guides with step-by-step instructions on common issues check out the How-To VPN section on our website.
  • If you are looking for more specific topics such as streaming or security, look at the general VPN topic and navigate from there.
vpn error 812 fix

Solutions to fix VPN error 812 the connection was prevented

  1. Change your VPN client
  2. How to quickly bypass error 812
  3. Check Tunnel type settings
  4. Contact your network administrator
  5. Create a different authentication protocol
  6. Contact your VPN provider

The VPN Error 812, unlike many other issues,  is not a very common VPN error code. Very few users will actually encounter it as it mainly affects server connections. However, it does not necessarily mean that it cannot be resolved. This error may be encountered after the April Windows upgrade or as a result of an issue between clients and Network Policy Server (NPS).

Here’s the complete VPN error 812 message: The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error.

Why does VPN error 812 appear?

The VPN Error 812 seems to appear for several reasons:

  • When the Server Network Policy and Client Connection Profile don’t match the Authentication Protocol. This is easy to fix.
  • When NPS does not update the value added to Tunnel Type Condition in Network Policy. This is a more complex situation.

Here is an example for the second situation:

  • A new Network Policy is set with Day and time restrictions, Operating system, Windows group and Tunnel type Conditions
  • Tunnel Type is valued with PPTP only and when users are trying to connect to their VPN client, error 812 appears.

How to fix VPN error 812 on Windows 10

Solution 1: Change your VPN client

protect your data with Private Internet Access

Trying a different VPN may solve this problem but you must be sure that you choose the right one. Private Internet Access, or PIA, operated by Kape Technologies,  is one of the best tools that have great support behind and it’s heavily protected against this type of error between SNP and CPP or other of them that could lead to 812 error.

We recommend you switch your provider to PIA because it also comes with a great number of features that will improve your experience:

  • A large number of servers available in many locations around the world
  • Split-tunneling to let certain programs connect directly to the Internet
  • Privacy-focused service with full support for P2P and a no-logs policy
Private Internet Access

Private Internet Access

Need a great VPN without any of the error messages? Check out PIA, now at a discount price for a limited time only!

$2.85/mo. Buy it now!

Solution 2: How to quickly bypass error 812

  • Once you have encountered the error, make sure to change the Primary DNS to Domain Controller at first.
  • After the first step, set up the External DNS by accessing the Secondary DNS.
  • Now select the range of the Primary DNS as 8.8.8.8, check and apply the settings and restart your VPN. It should work properly.

Solution 3: Check Tunnel type settings

If the issue persists, or the above solution doesn’t seem to agree with your system, follow the next steps:

  • Select the additional value to Tunnel type Condition, like L2TP to obtain value L2TP OR PPTP;
  • Apply and close the Network Policy;
  • Connect VPN client. It should work.
  • Revert the Network Policy to the good value for Tunnel type Condition, here it is PPTP only;
  • Apply and close the Network Policy;
  • Connect VPN client, it works and your Network Policy is now well set.

Solution 4: Contact your network administrator

Error 812 may also occur due to insufficient access rights. In this case, the safest approach is to simply contact your network administrator in order to update your permissions and make sure that all the protocol and network authentication permissions are correct.

Solution 5: Create a different authentication protocol

Some users suggested that error 812 occurs when using an Authentication protocol set via NPS (Network Policy and Access Services). The solution suggested involves configuring a different authentication protocol (more secure), such as  MS-CHAPv2 or EAP in order to match the settings on the client-side.

Solution 6: Contact your VPN provider

If Error 812 still appears, you should contact your VPN service provider. Every VPN developer has a list of the most common issues affecting their products as well as the corresponding solutions.

If you come across other workarounds to solve VPN error 812, do let us know in the comments below.


FAQ: Learn more about VPN errors

  • What is a VPN error?

A VPN error is a number representing an error code when the connection to the VPN server failed. This could be for a number of different reasons. Each provider should assist you with the specific error code.

  • How do I bypass VPN blocking?

If you get an error because the VPN is blocked, make sure you check our complete guide on unblocking the VPN anywhere you are.

  • What are VPN services?

It’s a service that lets you connect to the Internet via a secure connection to another network of computers. This offers some protection and some privacy for your online activity.

Editor’s Note: This post was originally published in August 2018 and has been since revamped and updated in May 2020 for freshness, accuracy, and comprehensiveness.