You connect to a VPN in Windows through Settings > Network & internet > VPN, where a saved profile gets a Connect button; if no profile exists, you must add one first. The built-in client works in Windows 11 and Windows 10, but personal VPN services usually expect their own app instead.
Add a VPN Profile and Connect in Windows 11
-
Open Settings with
Win + I, then go to Network & internet > VPN. If the VPN entry is missing entirely, type "VPN" into the Settings search box to reach the same page. -
Select Add VPN and fill in the profile fields: a Name you'll recognize, the Server name or address your provider or IT team gave you, and the VPN type (usually Automatic). Choose the Type of sign-in info that matches your credentials, enter a username and password if required, then select Save.
-
Return to the VPN page and find your new profile under VPN connections. Select Connect. For a faster route on later sessions, open Quick Settings with
Win + Aand use the VPN toggle if your profile appears there. -
Confirm success by opening the profile's Advanced options or checking the network icon in the taskbar—Windows shows the VPN as connected with its assigned address. If the connection drops immediately, jump to the error-code section before retrying repeatedly.
-
To make it automatic later, open the profile's Advanced options and turn on Connect automatically only on trusted networks; leave it off for public Wi-Fi so the tunnel doesn't stall captive-portal sign-ins.
-
To remove or rebuild a broken profile, select it on the VPN page and choose Remove, then add it again with fresh credentials. Save the server address and settings first—removal deletes them.
Windows 10 Differences
The path is Settings > Network & Internet > VPN > Add a VPN connection, with the same server, type, and sign-in fields under slightly different labels. Connection happens on the same VPN page, and Win + A opens the Action Center where the VPN quick action lives. Older builds may hide the quick action until a profile exists, so create the profile first.
Choose the Right Connection Method First
Most failed attempts happen because the method doesn't match the account type. Use this table before changing settings.
| Situation | Method | Where to start |
|---|---|---|
| Company laptop with IT-issued profile | Built-in Windows client | Settings > Network & internet > VPN |
| Personal VPN subscription | Provider's own app | Provider's site or Microsoft Store |
| Work account that provisions VPN automatically | Add a work or school account | Settings > Accounts > Access work or school |
| Corporate gateway with a config file (e.g., AWS Client VPN) | Vendor client with imported profile | Vendor app's Add profile option |
For a subscription service, confirm the provider offers a Microsoft Store or desktop app before hunting through settings; a manual profile built from partial instructions rarely works with commercial services. Microsoft's own walkthrough for the built-in client is a solid reference for the profile fields at Connect to a VPN in Windows.
On Android, the equivalent path is Settings > Network & internet > VPN, where you either add a saved network with details from your administrator or install the required app; if VPN isn't listed, search for "VPN" in Settings.
Fix Connection Errors and Post-Setup Blockers
When Connect fails or the profile vanishes, work from cheapest to deepest.
- Wrong VPN type. A profile set to Automatic that fails repeatedly often needs an explicit type such as IKEv2 or L2TP/IPsec with pre-shared key, matching what your provider documents. Changing it costs nothing and fixes many mismatches.
- Error 691 or 812. Bad credentials or an account lockout. Re-enter the username and password, confirm the domain prefix if your organization uses one, and stop retrying after two failures—repeated attempts deepen lockouts on managed accounts.
- Error 868 or name-resolution failures. The server name isn't resolving. Switch the network adapter's DNS to automatic, or test the server address by pinging it; if it fails on every network, the endpoint is down or retired—contact the provider.
- Error 789 or 809. Typically a firewall, router, or ISP blocking the protocol (L2TP or IKEv2 ports). Try a different network or a different protocol before touching firewall rules.
- Connect button grayed out. Another connection or policy is holding the profile. Disconnect other tunnels, sign out and back in, and on managed devices check with IT rather than editing policy keys yourself.
- Captive portals. Hotel and airport Wi-Fi require browser sign-in before any tunnel forms. Connect to Wi-Fi, complete the portal page, then start the VPN.
If the failure persists across networks and protocols, treat it as an account or server-side issue. On a company device, stop troubleshooting and contact IT support—policy and certificate problems can't be fixed from the client side, and editing registry keys to bypass them risks breaking required security controls.
Keep It Working After the First Connection
The tunnel dropping mid-session usually traces to power management or network switching. Open Device Manager, expand Network adapters, open your adapter's Properties, and on the Power Management tab clear Allow the computer to turn off this device to save power—a reversible change you can re-enable anytime. Disable Connect automatically for networks you don't trust, since auto-connect on a flaky hotspot creates reconnect loops that look like disconnections.
If only some sites fail while the VPN is active, ask whether your organization uses split tunneling; the tunnel may deliberately route corporate traffic only. Confirm with IT before changing routes. For "VPN connected but internet is dead," disconnect, reconnect, and check the profile's Advanced options for a leftover proxy setting—clear it and retry.
On metered connections, VPN overhead can throttle video calls. Windows 11's Quick Settings lets you disconnect with one click, and a wired connection beats Wi-Fi for stability during long sessions on hotel networks.
Frequently Asked Questions
Why don't I see a VPN option in Settings at all?
Your build may have the page hidden behind a search-only entry, or a policy removed it. Search "VPN" in Settings first; if nothing appears on a work device, the organization likely manages VPN through its own app or account provisioning, so contact IT.
Can I use the built-in Windows client with a paid VPN service?
Only if the provider publishes manual server addresses, protocol, and credentials. Most services push their own app instead, which handles server choice and updates; check the provider's setup page before building a manual profile.
The VPN connects but my company intranet still won't load.
The tunnel may be up while split-tunneling rules exclude that resource, or your device needs a certificate update. Disconnect, reconnect, and if it persists, ask IT to verify your access group rather than rebuilding the profile.