Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Connect a VPN in Windows 10

· 5 min read · Home Networking

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To connect a VPN in Windows 10, you can either use the built-in VPN client (which supports PPTP, L2TP/IPsec, SSTP, and IKEv2) or install a third-party VPN app from the Microsoft Store or the provider's official website. The built-in method requires you to have VPN server details from your provider or employer. Below are the steps for both approaches, plus troubleshooting and tips.

What You'll Need

  • A Windows 10 PC with administrator rights (to install apps or change network settings).
  • VPN connection details: server address, VPN type, and login credentials (username and password). These are usually provided by your VPN service or IT department.
  • If using a third-party VPN, a subscription to a VPN service and its app (available from the official Microsoft Store or the provider's website).

Step-by-Step

Method 1: Using Windows 10 Built-in VPN Client

  1. Click the Start button and select Settings (the gear icon).
  2. Go to Network & Internet > VPN.
  3. Click Add a VPN connection.
  4. In the "VPN provider" dropdown, select Windows (built-in).
  5. In the "Connection name" field, type a name you'll recognize (e.g., "Work VPN").
  6. In the "Server name or address" field, enter the VPN server address (e.g., vpn.example.com or an IP address).
  7. In the "VPN type" dropdown, select the protocol your provider uses. Common options: Automatic, PPTP, L2TP/IPsec, SSTP, or IKEv2. If unsure, choose Automatic.
  8. In the "Type of sign-in info" dropdown, select User name and password (most common). Other options include certificate or smart card.
  9. Enter your User name and Password (optional - you can leave blank and enter later).
  10. Check Remember my sign-in info if you want Windows to store the credentials.
  11. Click Save.
  12. To connect, go back to Settings > Network & Internet > VPN, click on the connection you just created, and select Connect.
  13. If prompted, enter your username and password, then click OK.

Method 2: Using a Third-Party VPN App

  1. Open the Microsoft Store (or go to your VPN provider's official website).
  2. Search for your VPN provider's official app (e.g., "NordVPN", "ExpressVPN", "Surfshark"). Make sure it's published by the official vendor.
  3. Click Get or Install to download and install the app.
  4. Launch the app, sign in with your VPN account credentials.
  5. Choose a server location (if you want to change your virtual location) and click the Connect button.
  6. The app will show a connected status. You can verify your IP address has changed by visiting a site like whatismyip.com (but note: that's a third-party site, not affiliated with Windows).

Common Mistakes

  • Entering the wrong server address: Double-check the server name or IP. A typo will cause connection failure.
  • Choosing the wrong VPN type: If you select PPTP when your provider expects IKEv2, it won't connect. Use "Automatic" if you're unsure.
  • Forgetting to enter credentials: Some users leave the password blank and then wonder why it fails. Ensure you have the correct username and password.
  • Using an outdated VPN app: If using a third-party app, make sure it's updated to the latest version.
  • Not checking the "Remember my sign-in info" box: This can cause the connection to drop when the PC sleeps, as credentials aren't stored.

Tips

  • If your VPN provider offers a dedicated Windows app, it's usually easier and more reliable than the built-in client, especially for automatic server selection and advanced features like kill switch.
  • For the built-in client, IKEv2 is often the most stable and secure protocol. If your provider supports it, choose it.
  • If you're connecting to a corporate VPN, your IT department may require a specific protocol and may also require a certificate. Follow their instructions.
  • To disconnect, go to Settings > Network & Internet > VPN, click the connection, and select Disconnect.
  • You can also connect via the network icon in the system tray: click the network icon, select the VPN connection, and click Connect.

Troubleshooting

If the VPN connection fails

  1. Check your internet connection first. Make sure you can browse the web without the VPN.
  2. Verify the server address and your login credentials. Re-enter them carefully.
  3. Restart your PC and try again. This resolves many temporary glitches.
  4. Try a different VPN protocol. In the VPN settings, change the "VPN type" to another option (e.g., from PPTP to L2TP/IPsec) and test.
  5. If you're using a third-party app, sign out and sign back in, or reinstall the app.
  6. Check if your VPN provider's servers are down. Visit their status page (if available) or contact support.
  7. If you're behind a firewall or router that blocks VPN traffic, try connecting from a different network (e.g., mobile hotspot) to isolate the issue.

If the VPN connects but you have no internet

  • Disconnect and reconnect. Sometimes the VPN tunnel doesn't fully establish.
  • Try a different server location in your VPN app.
  • Check if your VPN has a "kill switch" feature that might be blocking traffic. Disable it temporarily to test.
  • Run the Windows Network Troubleshooter: Settings > Network & Internet > Status, then click Network troubleshooter.

If the VPN keeps dropping

  • Update your network drivers. Go to Device Manager, find your network adapter, right-click and select Update driver.
  • Change the VPN protocol to a more stable one (e.g., IKEv2 or SSTP).
  • Adjust your power settings to prevent the network adapter from sleeping: Device Manager > Network adapters > your adapter > Properties > Power Management, uncheck "Allow the computer to turn off this device to save power".

Frequently Asked Questions

Can I use a free VPN on Windows 10?

Yes, but be cautious. Free VPNs often have data limits, slower speeds, and may log your activity. Only use reputable free VPNs that are officially available in the Microsoft Store or from the provider's website.

How do I know if my VPN is working?

After connecting, check your IP address using a website like whatismyip.com. If the IP address shown is different from your normal one (and matches the server location you chose), the VPN is working.

Can I use the built-in VPN client with any VPN service?

Only if the VPN service provides the necessary server details and supports one of the protocols Windows 10 supports (PPTP, L2TP/IPsec, SSTP, IKEv2). Many modern VPN services use proprietary protocols (like WireGuard) and require their own app.

Why does my VPN say "Connection failed"?

This usually means the server address is wrong, the protocol is mismatched, or your credentials are incorrect. Double-check those, and try a different protocol or server.

Do I need to turn off my VPN when using Windows Update?

Not necessarily, but some VPNs can slow down downloads. If you experience issues, disconnect temporarily.

Can I connect to a VPN automatically at startup?

Yes, with a third-party app you can often enable auto-connect in its settings. With the built-in client, you'd need to create a scheduled task or use a script, which is more advanced.