sodcalculator

10 Tech How-To

VPN Setup on Windows 10: Step-by-Step Guide

Guide 10-4922 · Updated · Step by step

This guide walks you through setting up a VPN connection on Windows 10, either using the built-in client or a third-party app. You’ll learn the exact steps to connect, what information you need from your VPN provider, and how to fix common issues.

What You’ll Need

  • A Windows 10 PC with administrator access (to install software or change network settings).
  • VPN connection details from your provider: server address (e.g., us.vpnprovider.com), protocol (PPTP, L2TP/IPsec, SSTP, IKEv2, or OpenVPN), and your username/password.
  • If using a third-party VPN service, the app installer or the OpenVPN configuration files (.ovpn) they provide.
  • An active internet connection (the VPN tunnel needs a base connection to work).

Step-by-Step

Method 1: Using Windows 10’s Built-in VPN Client

  1. Open the Settings app (Windows key + I).
  2. Click Network & Internet.
  3. Select VPN from the left sidebar.
  4. Click Add a VPN connection.
  5. Fill in the form:
    • VPN provider: Choose “Windows (built-in)”.
    • Connection name: Any name you’ll recognize (e.g., “Work VPN”).
    • Server name or address: The server address from your provider (e.g., vpn.example.com or an IP).
    • VPN type: Select the protocol your provider uses (e.g., PPTP, L2TP/IPsec, SSTP, or IKEv2). If unsure, check with your provider.
    • Type of sign-in info: Usually “User name and password”.
    • User name and Password: Enter your VPN credentials.
  6. Click Save.
  7. In the VPN settings page, click your new connection and then click Connect.
  8. If prompted, enter your credentials again and click OK. Wait for the connection to establish.

Method 2: Using a Third-Party VPN App

  1. Download the VPN app from your provider’s official website (not from third-party stores unless verified).
  2. Run the installer and follow the on-screen instructions. If Windows asks for permission, click Yes.
  3. Launch the app and log in with the username and password you created when subscribing.
  4. Choose a server location from the list (or let the app pick the fastest).
  5. Click the Connect button. The app will handle the technical details.
  6. Once connected, the app usually shows a status indicator (e.g., a green light or “Connected”).

Method 3: Manual OpenVPN Setup (for .ovpn files)

  1. Install the official OpenVPN client from openvpn.net (the community version is fine).
  2. Right-click the OpenVPN icon in the system tray and select Import File….
  3. Navigate to your .ovpn file and select it.
  4. Right-click the icon again, hover over your imported profile, and click Connect.
  5. Enter your username and password when prompted.
  6. Wait for the status to show “Connected”.

Common Mistakes

  • Wrong protocol selected: Using the wrong VPN type (e.g., PPTP when your server expects IKEv2) will cause connection failures. Always match the protocol your provider supports.
  • Typing the server address incorrectly: A single typo in the server hostname (like “vpn.exmaple.com”) will prevent connection. Copy-paste the address from your provider’s dashboard.
  • Forgetting to change the VPN type after saving: If you edit a connection, double-check the VPN type field—it may reset to Automatic.
  • Using a username with the domain: Some corporate VPNs require the username in the form DOMAIN\username or username@domain.com. Check with your IT department.
  • Not running the VPN app as administrator: Some third-party VPNs need admin rights to install virtual network adapters. Right-click the app and select “Run as administrator” if you see driver errors.
  • Leaving the old connection active: If you have multiple VPN profiles, make sure only one is connected at a time.

Tips

  • Use IKEv2 or OpenVPN when possible: These are more secure and stable than older PPTP. If your provider offers multiple protocols, choose IKEv2 for speed or OpenVPN for maximum compatibility.
  • Enable automatic connection: In Settings > Network & Internet > VPN, click your connection and select “Connect automatically” if you want Windows to reconnect when you’re on untrusted networks.
  • Set up a kill switch (if available): Some third-party VPN apps have a kill switch that blocks internet traffic if the VPN drops. Enable it to prevent data leaks.
  • Test your IP address: After connecting, visit a site like whatismyip.com to confirm your public IP has changed.
  • Use the Windows 10 built-in troubleshooter: If the connection fails, go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Network Adapter and run it.

Troubleshooting

Connection fails with error 809 or 720: This often indicates a protocol mismatch or a firewall blocking the VPN. Try switching to a different VPN type (e.g., from PPTP to L2TP/IPsec) or use the provider’s own app. Also, temporarily disable your third-party firewall or antivirus to test.

VPN connects but no internet access: This usually means the VPN tunnel is up but DNS or routing is misconfigured. Try disconnecting and reconnecting. If the issue persists, check your provider’s support page for DNS settings, or manually set your DNS to 8.8.8.8 and 8.8.4.4 in the VPN adapter’s properties.

VPN disconnects frequently: This can be due to unstable internet or a router that drops long-lived connections. Try changing the VPN protocol to a more stable one (e.g., IKEv2). If using a third-party app, enable the “keep-alive” or “reconnect on drop” feature.

Can’t connect after a Windows update: Windows updates sometimes reset network settings. Reboot your PC and try again. If that fails, remove the VPN connection and recreate it. For third-party apps, reinstall the latest version.

Certificate errors with L2TP/IPsec: If you see a certificate error, you may need to install your provider’s root certificate. Contact your VPN provider for the certificate file and instructions on importing it into the Windows certificate store.

Frequently Asked Questions

Is the built-in Windows VPN secure? Yes, if you use a modern protocol like IKEv2 or SSTP. Avoid PPTP, which is outdated and insecure. The built-in client is generally secure for basic needs.

Can I use a free VPN service? You can, but be cautious—free VPNs often have data limits, slower speeds, and may log your activity. For sensitive tasks, a paid service is safer.

How do I know if my VPN is working? Check your public IP address before and after connecting. If it changes, the VPN is active. You can also use online leak tests to check for DNS or WebRTC leaks.

Why does my VPN keep asking for credentials? This usually means the saved credentials are incorrect or the server requires a different format. Re-enter your username and password, and ensure you’re using the correct domain if required.

Can I set up a VPN on Windows 10 without installing software? Yes, the built-in client supports PPTP, L2TP, SSTP, and IKEv2. You just need the server address and credentials from your provider.

What does “VPN type: Automatic” mean? It lets Windows try to negotiate the protocol with the server automatically. It’s convenient but may not work if the server requires a specific protocol. If it fails, manually select the correct type.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →