You can set up a VPN on Windows in two ways: install the provider's own app (easiest, works on Windows 10 and 11), or add the connection manually under Settings > Network & internet > VPN using details from your VPN provider. The app route is the right choice for most people because it handles the protocol, encryption and reconnection for you. The manual route works when your provider gives you a server address, a VPN type and credentials, or when you are connecting to a work VPN. Exact labels vary slightly by Windows version, edition and region, so treat the menu names below as a guide rather than gospel.
What You'll Need
- A Windows 10 or Windows 11 PC with an administrator account (installing a VPN app or adding a connection requires admin rights).
- An active subscription or account with a VPN provider, plus its official app downloaded from the provider's own website or the Microsoft Store. Avoid third-party download sites.
- If you are setting up a manual connection: the server address, the VPN type (for example IKEv2, L2TP/IPsec or SSTP), and your username and password or pre-shared key from whoever runs the VPN.
- A working internet connection to test the setup afterwards.
Step-by-Step
Option A: Use the provider's app (recommended)
- Download the Windows app from your VPN provider's official site or from the Microsoft Store. Check that the publisher name matches the provider before you install.
- Run the installer and accept the prompt. Windows will ask for permission to make changes; approve it. If the app asks to install a network adapter or driver, allow it, because that is how the tunnel is created.
- Open the app and sign in with your account email and password. If your provider offers two-factor authentication, complete that step.
- Choose a server location. Pick one close to you for speed, or a specific country if you need it for a service that checks your location.
- Select the protocol if the app exposes a choice. Automatic is fine for most people; if you have connection trouble, try a different protocol in the app's settings.
- Turn on the connection with the main connect button. The app should show a connected state and your PC's network icon may show a shield or a second adapter.
- Enable auto-connect and a kill switch in the app's settings if you want the VPN to start with Windows and to block traffic if the tunnel drops. Names differ by provider, so look for wording like "auto-connect", "launch at startup" and "kill switch" or "network lock".
- Verify it works: open a browser and check your public IP address on a site that shows it. It should show the VPN server's location, not your home address.
Option B: Add a connection manually in Windows
- Open Settings > Network & internet > VPN and click Add VPN.
- In the provider dropdown, choose Windows (built-in).
- Give the connection a name you will recognise, such as "Work VPN".
- Enter the server address or hostname exactly as your provider or IT team gave it.
- Choose the VPN type. If you are unsure, pick Automatic, which tries the types Windows supports. Your provider must tell you which type to use; guessing usually fails.
- Select the sign-in type, usually username and password, and enter your credentials. If your provider uses a pre-shared key for L2TP/IPsec, you will enter it in the connection's advanced properties after saving.
- Save the connection. It now appears in the VPN list and in the network flyout on the taskbar.
- Click the connection and choose Connect. Enter credentials again if prompted, and tick remember me if you trust the device.
- Check the connection status shows Connected, then confirm your IP address has changed in a browser.
Common Mistakes
- Downloading an installer from an ad or a lookalike site. Always use the provider's official domain or the Microsoft Store.
- Choosing the wrong VPN type in a manual setup. If the connection fails immediately, the type or the server address is usually the culprit, not your password.
- Forgetting the pre-shared key for L2TP/IPsec connections, which causes an authentication error even when the username and password are correct.
- Leaving the kill switch off and assuming all traffic is protected. If the tunnel drops without a kill switch, apps can fall back to your normal connection.
- Expecting a VPN to hide you from your employer or ISP entirely. A work VPN routes traffic through the company, and the company can see it.
- Assuming a VPN replaces antivirus or a password manager. It encrypts traffic between you and the server; it does not stop malware you download.
Tips
- Keep the app updated. Updates often fix connection failures after Windows updates.
- Use split tunnelling if your provider offers it, so only chosen apps go through the VPN and local devices like printers stay reachable.
- If you use a metered connection, turn off auto-connect so the VPN does not start on mobile hotspots.
- For a work VPN, ask IT which protocol and server to use rather than experimenting; they may also require a certificate.
- Test the connection after every Windows feature update, since network drivers and settings can reset.
Troubleshooting
Work from simplest to most disruptive. First, restart the PC and the router, then check whether the VPN provider reports a service issue on its status page. Sign out of the app and back in, and update the app and Windows.
If the connection hangs at "connecting", try a different server and, in the app, a different protocol. For manual connections, re-check the server address, VPN type and credentials, and delete and re-add the connection if you changed any of them.
If it connects but pages will not load, the VPN's DNS settings may be the problem: disconnect, reconnect, and try another server. If only some apps fail, check whether split tunnelling is excluding them.
If Windows reports that the connection was blocked by a firewall or antivirus, allow the VPN app through the firewall rather than disabling the firewall entirely. As a last resort, uninstall the app and reinstall it from the official source; this removes saved settings but not your account. Do not factory reset Windows for a VPN problem.
Frequently Asked Questions
Do I need a VPN app, or is the built-in Windows VPN enough?
The built-in client is enough if you have server details and credentials, such as for a work VPN. For commercial VPN services, the provider's app is the supported route and handles configuration for you.
Does a VPN slow down my internet?
It usually adds some overhead because traffic is encrypted and routed through another server. Distance to the server and the protocol affect how much; a nearby server is generally faster.
Can I use the VPN on more than one device?
That depends on your plan's device limit, which the provider states in your account. Windows itself does not restrict this.
Is a VPN enough to stay private on public Wi-Fi?
It protects traffic between your PC and the VPN server, which helps on untrusted networks. It does not protect you from phishing or malicious downloads, so keep normal caution.
Why does my VPN disconnect when the PC sleeps?
Windows drops network connections during sleep. Enable auto-connect in the app so it reconnects when the PC wakes.
Can I set up a VPN without admin rights?
Installing a VPN app or adding a system connection normally needs an administrator account. Without one, ask the PC's administrator to set it up.