The Honest Answer First: Windows 11 Has a VPN Client Built In — But It Is Not a VPN Service
Setting up a VPN on Windows 11 confuses people for one simple reason: the thing called “VPN” in Settings is not a VPN service. It is a client — a tool that connects to a VPN service you already have. Windows gives you the tool for free, but you still need the service: a VPN subscription from a provider, a VPN server at your workplace, or a server you run yourself. Without one of those, the VPN settings page is an empty form with nowhere to connect to.
Once you understand that, the setup is straightforward. If you have a VPN subscription, you have two choices: install the provider’s own app, which is easier and gives you extra features, or add the connection manually in Windows Settings, which keeps things tidy and uses no extra software. If your workplace gave you a VPN, the manual method is usually the only one available, and this guide covers it in full.
This guide walks you through both paths, step by step: how to add a VPN connection manually in Windows 11 Settings, how to connect and disconnect, how to check that the VPN is actually working, and how to fix the errors that appear most often. As of November 2026, the steps cover Windows 11 versions 23H2 and 24H2, and they work on Home, Pro, Enterprise, and Education editions.
What You Need Before You Start
Before you open Settings, gather the details your VPN connection needs. If you are using a commercial VPN provider, you will find these in your account dashboard on the provider’s website, under “Manual setup” or “Windows setup”. If your workplace gave you the VPN, your IT department should have sent them.
You need four things. First, the server address — a hostname like vpn.example.com or an IP address. Second, the VPN type — the protocol, usually IKEv2, L2TP/IPsec, SSTP, or PPTP. Third, your sign-in details — a username and password, a smart card, or a certificate. And fourth, if your VPN type is L2TP/IPsec, a pre-shared key, which is a short password that authenticates the connection itself.
If you are using a commercial provider and you cannot find these details, check whether the provider offers its own Windows app first. Most providers — NordVPN, ExpressVPN, Surfshark, Proton VPN, Mullvad — have a Windows app that sets everything up for you with one click, and it is the better choice for most people. The manual method is worth learning when your provider does not offer an app, when you want the VPN in Windows Settings alongside your other networks, or when your employer requires the built-in client.
One more thing to check before you start: make sure you are signed in as an administrator, or at least have the administrator password. Adding a VPN connection changes network settings, and Windows will ask for administrator approval on some systems.
How to Add a VPN Connection Manually in Windows 11
This is the core of the guide. Work through it slowly the first time — the form has several fields, and one wrong entry means the connection will fail with an unhelpful error message.
Step 1: Open Settings by pressing the Windows key and I together, or by clicking the Start button and choosing Settings. Click “Network & internet” in the left-hand menu.
Step 2: Click “VPN” in the list. You will see the VPN page, which shows any connections you already have and an “Add VPN” button at the top.
Step 3: Click “Add VPN”. A form opens with several fields. The first field is “VPN provider” — click it and choose “Windows (built-in)”. This is the only option for a manual connection.
Step 4: In “Connection name”, type a name you will recognise, such as the name of your VPN provider or your company. This is just a label — it can be anything, but a clear name helps when you have more than one connection.
Step 5: In “Server name or address”, type the server address exactly as your provider or IT department gave it. Copy and paste it if you can, rather than typing it by hand — a single wrong character here is the most common reason a new VPN connection fails.
Step 6: Click “VPN type” and choose the protocol your provider specified. The options are Automatic, IKEv2, L2TP/IPsec with pre-shared key, L2TP/IPsec with certificate, PPTP, and SSTP. If your provider did not say, choose Automatic and let Windows negotiate — but note that Automatic does not always pick the best option, so use the specified protocol whenever you have it.
Step 7: If you chose L2TP/IPsec with pre-shared key, a new field appears for the pre-shared key. Type or paste the key exactly as given. This is not your account password — it is a separate shared secret for the connection itself.
Step 8: Click “Type of sign-in info” and choose the method your provider uses: “User name and password” is the most common. Other options are “Smart card” and “Certificate”. Choose the one that matches what you were given.
Step 9: Type your username and password into the fields that appear. These are the credentials for your VPN account, not your Windows login. If your provider gave you separate VPN credentials from your account login, use the VPN ones.
Step 10: Check the box “Remember my sign-in info” so you do not have to type the password every time you connect. Then click Save. The connection now appears in the VPN list with the name you chose.
How to Connect, Disconnect, and Manage Your VPN
Adding the connection is only half the job. Now you need to connect to it, and know how to tell whether it is working.
Step 11: Go back to Settings, then Network & internet, then VPN. Find your connection in the list and click Connect. Windows will show “Connecting”, then “Connected”, and a small VPN icon may appear in the system tray.
Step 12: Alternatively, connect from Quick Settings: click the network, volume, or battery icon in the bottom-right corner of the taskbar to open Quick Settings, click the VPN tile, and choose your connection. If the VPN tile is not there, click the pencil icon in Quick Settings and add it.
Step 13: To check that the VPN is actually working, open your browser and search for “what is my IP”. The result should show the IP address and location of the VPN server, not your real location. If it shows your home city, the VPN is not routing your traffic — disconnect, reconnect, and check again.
Step 14: To disconnect, go back to the VPN page in Settings and click Disconnect, or use the VPN tile in Quick Settings. Disconnecting returns your traffic to your normal connection immediately.
Step 15: To change the connection later — a new server address, a new password, a different protocol — go to Settings, then Network & internet, then VPN, click the arrow or the three-dot menu next to your connection, and choose Edit or Advanced options. You can also delete the connection from the same menu.
Step 16: To make a connection start automatically, or to allow it on metered networks, open the advanced options for the connection. The useful toggles are “Connect automatically”, “Allow VPN over metered networks”, and “Allow VPN while roaming”. Turn on “Connect automatically” only for a VPN you trust completely, because it will route all your traffic through it whenever it is available.
A practical note: Windows 11 does not have a built-in kill switch in the manual VPN client. A kill switch blocks all internet traffic if the VPN drops, so your real IP is never exposed. If that matters to you — and it should if you use the VPN for privacy — use your provider’s app, which almost always includes a kill switch, instead of the manual connection.
How to Set Up a VPN Using Your Provider’s App Instead
For most people, the provider’s app is the better choice. It is easier, it has more features, and it handles the technical details for you.
Step 17: Go to your VPN provider’s website and download the Windows app. Download it from the provider’s own site, not from a third-party download site, and check that the site address is correct — fake VPN apps are a real problem, and they do the opposite of protecting you.
Step 18: Install the app and sign in with your VPN account. The app will ask for permission to install a network adapter and to change network settings — this is normal and necessary, so accept it.
Step 19: Choose a server. Most apps offer a “Quick connect” button that picks the fastest nearby server, and a server list where you can choose a specific country or city. Pick the nearest server for speed, or the country you need for accessing content from that location.
Step 20: Click Connect. The app will show your new IP address and location, and most apps let you check the connection status from the system tray icon. The app also usually includes a kill switch, split tunnelling, and a choice of protocols — turn the kill switch on in the app’s settings.
Step 21: If you use both the app and a manual connection, do not run both at once. Two VPN connections layered on top of each other will slow your connection to a crawl and can cause errors. Use one or the other, and remove the manual connection if you switch to the app permanently.
The provider’s app also has one advantage the manual method does not: it updates itself. VPN protocols change, servers change, and the app handles all of that silently. A manual connection is frozen in time — if your provider changes its server address or retires a protocol, your manual connection stops working until you update it by hand.
Advanced Settings Worth Knowing About
Once your VPN is working, a handful of extra settings make it safer and more convenient. None of them are required, but each one solves a problem that appears sooner or later.
The first is split tunnelling. In your provider’s app, split tunnelling lets you choose which apps use the VPN and which use your normal connection. A common setup is to route your browser through the VPN while letting your banking app use the normal connection, because some banks block logins from VPN addresses. Another is to route everything except a game through the VPN, so the game keeps its low ping. With the manual Windows client, split tunnelling is not available in Settings — you need the provider’s app, or a PowerShell command that adds a route exception, which is a job for advanced users only.
The second is the kill switch, which your provider’s app almost certainly has in its settings. Turn it on. A kill switch watches the VPN connection and blocks all internet traffic the instant it drops, so your real IP address is never exposed, even for a second. Without it, a dropped VPN connection silently returns you to your normal connection, and you may not notice for hours. The manual Windows client has no kill switch, which is one more reason to prefer the app when you can.
The third is the protocol choice inside the app. Most provider apps let you pick the protocol in their settings: WireGuard is the fastest and the best default in 2026, OpenVPN is the most widely supported, and IKEv2 is the best for a phone or laptop that changes networks often, because it reconnects almost instantly. If your app offers WireGuard, use it. If your manual connection is the only option, IKEv2 is the closest equivalent.
The fourth is DNS. Some VPN providers run their own DNS servers, which is good — it means your DNS requests go through the VPN too. If your provider does not, your DNS requests may leak to your internet provider even while the VPN is on, revealing which sites you visit. You can check for a leak by searching for “DNS leak test” and running one while connected. If it shows your internet provider’s DNS servers, switch your DNS to your provider’s servers or to 1.1.1.1 in the app’s settings.
Finally, check the “start on login” and “connect on untrusted networks” options in your provider’s app. “Connect on untrusted networks” is the most useful of all: it connects the VPN automatically whenever you join a Wi-Fi network you have not marked as trusted, which is exactly the protection you want in a cafe, a hotel, or an airport. Set your home network as trusted and every other network as untrusted, and the VPN becomes something that simply happens, without you remembering to switch it on.
Troubleshooting: The Errors You Will Actually See
VPN errors on Windows have cryptic numbers, but they almost always mean one of a few things. Here are the ones you are most likely to meet.
Step 22: If you see “Error 809 — The network connection between your computer and the VPN server could not be established”, the problem is usually your router or firewall blocking the VPN protocol. IKEv2 needs UDP ports 500 and 4500 open; L2TP needs UDP 500, 4500, and 1701. Restart your router first — that fixes it more often than it should — then check your router’s firewall settings, or try a different network such as a mobile hotspot to confirm the problem is your network and not the VPN.
Step 23: If you see “Error 691 — Access denied because the username or password is invalid”, your credentials are wrong. Double-check them against your provider’s dashboard, and remember that VPN credentials are often different from your account login. Copy and paste both the username and the password rather than typing them.
Step 24: If you see “Error 789 — The L2TP connection attempt failed because the security layer encountered a processing error”, the pre-shared key is wrong or missing. Go to the connection’s advanced options, re-enter the pre-shared key exactly as your provider gave it, and try again. This error also appears when the registry setting for L2TP behind NAT is missing on some corporate networks — in that case, ask your IT department.
Step 25: If you see “Error 868 — The remote connection was not made because the name of the remote access server did not resolve”, the server address is wrong or your DNS cannot resolve it. Check the server address for typos, try the IP address instead of the hostname if your provider gave you one, and check that your internet connection itself is working.
Step 26: If the VPN connects but websites do not load, or load very slowly, the problem is usually DNS. Open the connection’s advanced options and check the DNS settings, or try changing your DNS to 1.1.1.1 or 8.8.8.8 in Settings, then Network & internet, then your network adapter, then DNS server assignment. A VPN that connects but does not resolve names is almost always a DNS issue.
Step 27: If the VPN connects and then drops every few minutes, the cause is usually an unstable network or a protocol that does not suit it. Try a different protocol — IKEv2 is the most stable on most networks, while SSTP works better on networks that restrict VPN traffic, because it looks like normal web traffic. If you are on a hotel or office network that blocks VPNs, SSTP or your provider’s app with obfuscation is the better choice.
Step 28: If a specific website or service says you are in the wrong country even though the VPN is connected, the site may be detecting your location from a leak or a cached location. Clear your browser’s location data, turn off location services for the browser, or try a different server in the same country. Some streaming services also block known VPN server addresses — try another server, and if the provider offers dedicated streaming servers, use one of those.
Step 29: If Windows says “A connection to the remote computer could not be established” with no error number, check that the VPN service is running. Press the Windows key and R, type services.msc, find the Remote Access Connection Manager and the IKE and AuthIP IPsec Keying Modules services, and make sure they are running. If they are stopped, right-click each one and choose Start, then try the VPN again.
Step 30: If you have tried everything and the manual connection still fails, remove it and start again from scratch — Settings, then Network & internet, then VPN, then the three-dot menu, then Remove — and re-enter the details by copying and pasting from your provider’s dashboard. A connection that was created with one wrong character will fail forever, and rebuilding it takes two minutes.
Frequently Asked Questions
Does Windows 11 include a free VPN? No. Windows 11 includes a VPN client that can connect to a VPN service, but it does not include the service itself. You need a subscription from a VPN provider, a workplace VPN, or your own server. There is no free VPN built into Windows.
Should I use the manual setup or my provider’s app? Use the provider’s app unless you have a specific reason not to. The app is easier to set up, includes a kill switch and split tunnelling, and updates itself when servers change. Use the manual setup when your provider has no app, when your workplace requires the built-in client, or when you want the connection in Windows Settings without extra software.
Which VPN protocol should I choose? IKEv2 is the best default for most people: it is fast, secure, and reconnects quickly when your network changes. L2TP/IPsec is an older fallback. SSTP is useful on networks that block other VPN traffic. PPTP is outdated and insecure — do not use it unless your provider gives you no alternative, and change providers if you can.
Will a VPN slow down my internet? Yes, a little. Routing your traffic through a VPN server adds distance and encryption, so expect a speed drop of roughly 10 to 30 percent. Connecting to a server near you keeps the drop small; connecting to a server on the other side of the world makes it bigger. If your speed drops by more than half, try a different server or a different protocol.
Does a VPN make me anonymous? No. A VPN hides your traffic from your internet provider and changes your visible IP address, but it does not make you anonymous. Your VPN provider can see your traffic, websites can still track you with cookies and fingerprinting, and you still need to sign in to services with your real account. A VPN is a privacy tool, not an invisibility cloak.
Can I use a VPN on a public Wi-Fi network? Yes, and you should. Public Wi-Fi is exactly where a VPN earns its keep: it encrypts your traffic so that other people on the same network cannot read it. Connect to the VPN before you open any app or website on public Wi-Fi, and keep it on until you leave the network.
Why does my VPN disconnect when my laptop sleeps? When a Windows laptop sleeps, it drops the network connection, and the VPN disconnects with it. This is normal. The VPN will not reconnect automatically unless you set the connection to connect automatically or use a provider app with auto-connect. Wake the laptop, reconnect, and check the IP before doing anything sensitive.
Can I use a VPN and still access my local network, like a printer? Usually yes, but it depends on the VPN. Some VPNs route all traffic through the server, which can block access to local devices. Your provider’s app may offer split tunnelling, which lets you choose which apps or traffic use the VPN and which use your normal connection. With the manual Windows client, local network access depends on the server’s configuration — ask your provider or IT department if it is blocked.
Is it legal to use a VPN? In most countries, yes. VPNs are legal in the United States, the United Kingdom, the European Union, Australia, and most of Asia. A few countries restrict or ban them, including China, Russia, and Iran. If you travel to one of those countries, check the local rules before you use one.
What should I do if my VPN provider’s app will not install? First, download it again from the provider’s official website and run the installer as an administrator by right-clicking it and choosing “Run as administrator”. If it still fails, check that your Windows is up to date and that your antivirus is not blocking the install. If the app truly will not install, the manual setup in this guide is your fallback — it needs no app at all.
Final Thoughts
A VPN connection on Windows 11 is a fifteen-minute job the first time and a two-second job after that — once the connection exists, connecting is a single click in Quick Settings. The part that takes the time is getting the details right: the server address, the protocol, the credentials. Copy them from your provider’s dashboard instead of typing them, choose IKEv2 unless you were told otherwise, and verify the connection with an IP check before you trust it.
And keep the perspective right: the manual client is a solid, no-extra-software option, but for most people the provider’s app is the better tool — it has the kill switch, the server list, and the automatic updates. Whichever path you took, do the final check now: connect, search for your IP, and confirm it shows the VPN server’s location. If it does, you are done — and the next time you sit down on a public Wi-Fi network, connecting will be a reflex.

Facebook comments