How to Set Up VPN on Windows 10 (Built-In & Third-Party)
In this article
Setting up a VPN on Windows 10 lets you encrypt your internet traffic and hide your IP address, which is useful for privacy, security on public Wi-Fi, or accessing region-restricted content. You can use Windows' built-in VPN client (for manual connections to a VPN server you already have access to) or install a third-party VPN app from the Microsoft Store or the provider's official website. This guide covers both methods, with steps for the built-in client first.
What You'll Need
- A VPN subscription or access to a VPN server (company, school, or personal). You'll need the server address, connection name, and your login credentials.
- For third-party VPNs: an account with a VPN provider (e.g., NordVPN, ExpressVPN, ProtonVPN) and their app downloaded from their official site or the Microsoft Store.
- Administrator rights on your Windows 10 PC (to install software and change network settings).
Step-by-Step
Method 1: Using Windows 10's Built-In VPN Client
- Click the Start button, then type VPN settings and press Enter. (Alternatively, go to Settings > Network & Internet > VPN.)
- Click Add a VPN connection.
- In the “VPN provider” dropdown, leave it as Windows (built-in).
- In the “Connection name” field, type a name you'll recognize (e.g., “Work VPN”).
- In the “Server name or address” field, enter the VPN server's IP address or hostname (e.g.,
vpn.example.com). This is provided by your VPN service or IT department. - Choose the VPN type from the dropdown. Common options are Automatic, PPTP, L2TP/IPsec, SSTP, and IKEv2. If you're not sure, select Automatic – Windows will try to negotiate the protocol. (Note: PPTP is outdated and insecure; avoid it if possible.)
- Choose the Type of sign-in info – usually User name and password. Some VPNs use a certificate or smart card; select the appropriate option.
- Enter your User name and Password (optional – you can leave blank and type them each time).
- Click Save.
- To connect, go back to Settings > Network & Internet > VPN, click your new connection, and click Connect. You can also click the network icon in the system tray (bottom-right), then click the VPN name and choose Connect.
Method 2: Using a Third-Party VPN App
- Download the VPN app from the provider's official website or from the Microsoft Store. Avoid third-party download sites.
- Run the installer and follow the on-screen instructions. You may need to allow the app to make changes to your device (click Yes on the User Account Control prompt).
- Open the VPN app and sign in with the account you created with the provider.
- Choose a server location (e.g., a country or city) from the list or map, then click the Connect button.
- Once connected, the app typically shows a status like “Connected” and displays your new IP address. You can verify by visiting a site like
whatismyip.comin your browser.
Common Mistakes
- Entering the wrong server address – double-check for typos, especially if you're copying from an email or document.
- Selecting the wrong VPN type – if you choose PPTP when your server expects IKEv2, the connection will fail. Use Automatic if unsure.
- Forgetting to save the VPN connection before trying to connect.
- Using a third-party VPN app from an unofficial source – this can install malware or be a phishing attempt. Always download from the provider's official website or the Microsoft Store.
- Not checking if the VPN is actually connected – sometimes the icon shows connected but the tunnel is not active. Check your IP address after connecting.
Tips
- For the built-in client, use IKEv2 if your VPN provider supports it – it's fast and stable on Windows 10.
- Set up a VPN connection on the lock screen if you want to connect before logging in (useful for domain-joined PCs). Go to Settings > Network & Internet > VPN, click your connection, then Advanced options and check “Allow VPN over metered networks” and “Connect automatically”.
- If you're using a third-party VPN, enable the kill switch feature (if available) to block internet traffic if the VPN drops – this prevents your real IP from leaking.
- For privacy, choose a VPN that has a no-logs policy and uses strong encryption (like AES-256).
Troubleshooting
If the VPN won't connect:
- Check your internet connection – make sure you can browse normally without the VPN.
- Restart your PC and router – this clears temporary network glitches.
- Verify your credentials – re-enter your username and password. Some VPNs require a domain prefix (e.g.,
DOMAIN\username). - Try a different VPN protocol – if you used Automatic, try IKEv2 or SSTP specifically.
- Check the server address – ping the server from Command Prompt: type
ping vpn.example.comand see if it responds. - Disable your firewall or antivirus temporarily – some security software blocks VPN traffic. If it connects after disabling, add an exception for the VPN app or protocol.
- Update your network drivers – go to Device Manager > Network adapters, right-click your adapter, and choose Update driver.
If the VPN connects but you have no internet:
- Right-click the network icon in the system tray and select Open Network & Internet settings.
- Click Change adapter options.
- Right-click your VPN connection and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Make sure “Obtain DNS server address automatically” is selected (or use the DNS provided by your VPN).
- If that doesn't help, try disabling IPv6 on the VPN adapter (uncheck “Internet Protocol Version 6 (TCP/IPv6)” in the same list).
Frequently Asked Questions
Can I use a free VPN on Windows 10?
Yes, but free VPNs often have data limits, slower speeds, and may log your activity. If you use one, choose a reputable provider like ProtonVPN's free tier or Windscribe's free plan, and avoid unknown free services.
Does Windows 10 have a built-in VPN client?
Yes, Windows 10 includes a built-in VPN client that supports PPTP, L2TP/IPsec, SSTP, and IKEv2. You need to have the server details from a VPN provider or your network administrator.
How do I know if my VPN is working?
After connecting, visit a website like whatismyip.com – it should show a different IP address and location than your actual one. Also check for the “VPN” icon in the system tray (a small shield).
Why does my VPN disconnect frequently?
This can be due to unstable internet, your router's firewall, or the VPN protocol being blocked. Try switching to a different protocol (e.g., IKEv2 instead of PPTP), or connect to a different server.
Can I set up a VPN on Windows 10 without installing software?
Yes, using the built-in client as described above. You only need the server address, protocol, and login credentials – no extra software is required.
Is it legal to use a VPN?
In most countries, yes. However, some countries restrict or ban VPN usage. Check your local laws before using one, especially if you're traveling.