How to Set Up a VPN Manually on Windows 11
Add a VPN connection by hand in Windows 11 settings. Each field explained, where to get the values, how to connect from Quick Settings, and what the common errors mean.
9 min readUpdated Oct 15, 2026By XPASS Editorial Team

Windows 11 can create a VPN connection without installing any extra software. The option sits in Settings, it takes a few minutes, and it gives you a connection that behaves like any other network item on your taskbar. It is also easy to get wrong, because every field must match what your VPN service expects, down to the last character.
This guide explains how to set up a VPN manually on Windows 11: what each field means, where the correct values come from, how to connect and disconnect, how to confirm it worked, and what the usual error numbers are telling you. It does not list server addresses or connection types for any service, because those must come from your own provider.
When a manual setup makes sense
There are two ways to run a VPN on a Windows 11 PC. You can install an app, or you can add a connection to the operating system's own VPN client. The manual route is a good fit in a few situations.
- Your service supplies manual details for Windows: a server address, a connection type and a sign-in method.
- You do not want to install anything, for example on a locked-down laptop where you cannot add programs, or on a device you only use briefly.
- You want the VPN as a system network item, one you can switch on from Quick Settings like Wi-Fi.
- You already follow an IT checklist that tells you to configure the built-in client.
It is a poor fit if you do not know where the details come from. Guessing a server address or connection type wastes time and, worse, can send your sign-in details to the wrong place. For XPASS customers the source is the My Pass page: it shows setup instructions and the connection methods available for your account. If it does not list a manual method for Windows, use the free VPNclient app, which you can get from the download page. Our shorter guide to setting up a VPN on Windows covers the app route.

Gather what you need first
Collect the following before opening Settings. Having it all in front of you avoids half-finished entries.
- Server name or address. Often a hostname such as one that ends in a domain, or a numeric address. Copy and paste it, do not retype it.
- VPN type. Windows offers a list, including Automatic, PPTP, L2TP/IPsec (with a certificate or a pre-shared key), SSTP and IKEv2. Your service tells you which one to pick. The specification for IKEv2 is RFC 7296, and NIST SP 800-77 gives general guidance on IPsec VPNs. If the type you were given is PPTP, be aware that it is an old design with known weaknesses; prefer another type if the service offers one.
- Type of sign-in info. Usually user name and password. Some setups use a certificate or a one-time password.
- Username and password. The VPN credentials, not the website email. See where are my VPN login details if you are not sure where they are.
- A pre-shared key or certificate, only if your service says one is needed.
- A stable network for the first connection, preferably home Wi-Fi.
Keep the credentials in a password manager rather than in a note on the desktop.
Step by step: add the connection
Windows wording varies a little between builds, so treat the labels below as typical rather than exact.
- Open Settings. Press the Windows key and I together.
- Go to Network & internet, then VPN.
- Choose Add VPN. (On some builds the button reads "Add a VPN connection".) A form opens.
- VPN provider: choose Windows (built-in).
- Connection name: type a label you will recognise, for example "Work trip" or "My pass". It is only a label on your PC.
- Server name or address: paste the value from your service.
- VPN type: select the type given to you. If you were not given one, do not pick "Automatic" and hope. Go back and read your instructions.
- Type of sign-in info: choose the method your service uses, usually User name and password.
- User name and Password: enter them. The fields are marked optional, which means Windows will ask when you connect if you leave them blank.
- Remember my sign-in info: tick it only on a PC that only you use.
- Select Save. The new entry appears in the VPN list.
What each field really does
| Field | What it controls | Typical mistake |
|---|---|---|
| Connection name | A label shown in Settings and Quick Settings | Using a name that already exists |
| Server name or address | Where Windows sends the connection request | A typo, extra space or missing part of the address |
| VPN type | Which method Windows uses to build the tunnel | Choosing a type the service does not offer |
| Type of sign-in info | How you prove who you are | Choosing certificate when the service uses a password |
| User name | The account on the VPN side | Entering the website email by mistake |
| Password | The matching secret | Pasting with a trailing space |
| Remember my sign-in info | Whether Windows stores the credentials | Leaving it on for a shared PC |
If you ever need to change something, open the entry in Settings and use the Edit option. You can also delete the entry and recreate it, which is often faster than hunting for a bad character.
Connect, disconnect and use Quick Settings
- Connect from Settings. In Network & internet, VPN, select your entry and choose Connect. If you did not save the sign-in info, Windows asks for it.
- Wait for the status. It changes from Connecting to Connected. If it ends in an error, jump to the next section.
- Use Quick Settings. Click the network, speaker and battery icons at the right of the taskbar. If a VPN tile is missing, use the pencil icon to edit the quick actions and add it. The tile lets you connect and disconnect without opening Settings.
- Disconnect by selecting the entry again and choosing Disconnect. For broader instructions on stopping a VPN safely, see how to turn off a VPN on any device.
Two advanced options live under "Advanced options" for VPN connections. Allow VPN over metered networks and Allow VPN while roaming are off or on by default depending on your build. Turn them on only if you need the VPN on a phone hotspot or a roaming connection, and remember that a metered link can cost money for the data used.
Confirm that it worked
Do not stop at the word Connected.
- Check your public address. Before connecting, note the address shown by an IP-checking page. After connecting, check again. It should change. See how to check if your VPN is working for a fuller routine.
- Check that pages load. If the status says Connected but nothing opens, the tunnel exists but traffic is not flowing. Disconnect and try again, then see the troubleshooting list below.
- Look at the adapter. In Settings, Network & internet, Advanced network settings, the list of adapters includes your VPN entry while connected.

Understanding the common error numbers
| Error | What it usually means | What to try |
|---|---|---|
| 691 | Sign-in was refused | Retype username and password, check the pass is active, confirm you are using VPN credentials |
| 809 | Windows could not reach the server through the network | Check the server address, try a different network, check firewall and router settings |
| 789 | The security layer failed during setup | Check the connection type and any pre-shared key |
| 800 | Windows could not establish the connection | Check the address and the network; try again later |
| 628 or 629 | The connection closed before it finished | Test on another network and retry |
The Windows VPN errors guide at fix common Windows VPN errors goes through them in more detail. An error rarely means that Windows is broken. It usually means one value does not match what the server expects, or a network along the path will not let the connection through.
Troubleshooting in a sensible order
- Re-read your instructions and compare each value. Most failures are one wrong character or one wrong choice.
- Delete and recreate the entry. Starting from a blank form is faster than finding a typo.
- Try another network such as your phone's hotspot. Public and managed networks often block certain connection types.
- Turn off other VPNs and security tools while you test. Two VPN clients on one PC conflict.
- Restart Windows after changes to networking components.
- Check the clock. A wrong date or time can break secure connections.
- Look at the basics: is the internet working without the VPN, and is your pass still active?
- Switch to the app route if the manual method keeps failing. The VPNclient app usually avoids the typing problems that cause manual errors.
For a wider checklist, our guide to when a VPN will not connect applies on any platform.
Limits and cautions of the manual route
- You are responsible for every value. A typo or a wrong type fails silently or noisily, and no app is there to help you.
- The built-in client has fewer conveniences. There is no location list, no automatic reconnect to a different place and no extra tools such as split tunneling in the simple form. Behaviour such as which traffic goes through the tunnel depends on adapter settings. Do not change the "use default gateway on remote network" option in the adapter's advanced TCP/IP settings unless your service tells you to, because it decides whether all traffic or only some goes through the VPN.
- Credentials are stored by Windows. If you tick Remember, anyone who uses your Windows account can connect. Lock the PC when you leave it.
- Some networks refuse certain types. If a connection works at home but not at a hotel, the hotel network is the likely cause.
- A VPN does not fix everything. It does not stop phishing or malware, and some sites object to VPN traffic. See what a VPN protocol is for how the connection types differ.
Summary
Setting up a VPN manually on Windows 11 means collecting the exact server address, connection type, sign-in method and credentials from your service, then entering them under Settings, Network & internet, VPN, Add VPN. Every field must match. Connect from Settings or Quick Settings, check that your public address changed, and read error numbers as clues: 691 points to sign-in, 809 to reaching the server. If the manual route becomes frustrating, the free VPNclient app does the same job with less typing.
If you would like a prepaid pass to use with Windows 11, you can look at the options on the pricing page when it suits you.
Frequently asked questions
When should I set up a VPN manually instead of using an app?
Use the manual route only when your VPN service gives you connection details for Windows, such as a server address, connection type and sign-in method, and you prefer not to install an app. For most people an app is easier because it supplies the location list and handles the details.
Where do I get the server name and VPN type?
From your VPN service, not from a guess or a forum post. With XPASS, check your My Pass page for the setup instructions and connection methods it lists for your account. If a manual Windows method is not listed there, use the VPNclient app instead.
What does error 691 mean on Windows 11?
Error 691 means the server refused the sign-in. Check the username and password for typos, make sure you are using the VPN credentials rather than your website login, and confirm the pass is still active. Then try again.
Why do I get error 809 when I connect?
Error 809 means Windows could not establish a connection to the VPN server. Typical causes are a wrong server address, a firewall or router blocking the connection type, or a network such as a hotel or campus Wi-Fi that does not allow it. Test on another network, such as a phone hotspot.
Is it safe to tick Remember my sign-in info?
It is convenient on a personal PC that only you use, because Windows stores the credentials for that account. On a shared or work computer, leave it off and type the password each time, or ask the owner of the device first.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Device Guides
How to Set Up a VPN on Windows
Step by step: download VPNclient for Windows, install it, answer the Windows security prompts, sign in with your My Pass details and connect.
7 min read

Troubleshooting
How to Fix Common Windows VPN Errors (809, 789, 691)
A step-by-step guide to the most common Windows VPN error codes: what they mean, the usual cause of each and the safest fix to try first.
7 min read

Device Guides
Where Are My VPN Login Details?
Your username and password appear only in My Pass after you sign in. Here is how to open the page, copy the details, fix a sign-in loop and what to do if they are missing.
7 min read

VPN Basics
What Is a VPN Protocol?
A VPN protocol sets the rules for how your device and a VPN server connect and protect traffic. Here is what that means in plain language, with the main trade-offs.
9 min read

Device Guides
How to Turn Off a VPN on Any Device
How to disconnect the VPN in VPNclient on each device, turn off settings that keep it on, and connect again later.
6 min read