- Discover how to add a VPN connection to your Windows PC in three ways: using the built-in VPN provider, PowerShell, or a commercial VPN service.
- If you use the integrated VPN provider, you don't have to install anything else. But it doesn't support modern VPN protocols like OpenVPN or WireGuard.
- PowerShell requires expert computer skills because you have to use a special cmdlet and enter the parameters correctly.
- Using a commercial VPN service is the simplest way. Plus, you can benefit from advanced settings and easily customize preferences.
A VPN creates a secure tunnel to divert your network traffic to another service. It can be used for two main reasons: to remotely connect to another LAN or to secure your Internet access.
In this article, we’re showing you how to set up a VPN connection on a Windows 10 desktop, laptop or tablet for both reasons.
How do I add a VPN connection on Windows 10?
Use the Windows 10 built-in VPN client
- Right-click the Windows 10 Start button and select Network connections
- In Settings, select VPN
- Click Add a VPN connection
- Set the following properties
- VPN provider to Windows (built-in)
- Connection name to a display name of the VPN connection
- Server name or address to the remote VPN server address or domain
- VPN type to Automatic (unless you have specific instructions about the VPN protocol)
- Type of sign-in info to User name and password (usually)
- User name (optional) and Password (optional) to the login credentials provided by your VPN service
- Check the Remember my sign-in info box
- Click Save
Windows 10 has a built-in VPN provider, which means that you don’t have to install anything to connect to a VPN. However, keep in mind that it doesn’t support modern protocols like OpenVPN or WireGuard.
If your office administrator shared VPN connection details for OpenVPN or WireGuard, then you have to separately install the OpenVPN or WireGuard clients.
Use the Add-VpnConnection cmdlet in PowerShell
You can also set up a VPN connection on your Windows 10 PC by adding it to the Connection Manager phone book.
To do this, you need PowerShell and advanced computer skills:
- Right-click the Windows 10 Start button
- Select Windows PowerShell (Admin) and click Yes if prompted by UAC
- Paste the following code
- Fill out the parameters by following the Microsoft instructions.
Use a commercial VPN service
If you’re looking for a solution to change your IP address, protect your online privacy, and remain anonymous when browsing the Internet, use a commercial VPN service.
It’s the easiest way to not only set up a VPN connection on your Windows 10 computer but also to change VPN servers. Plus, you can benefit from advanced security settings and effortlessly customize your options.
For example, if you want to change the VPN server location or protocol, you have to go through multiple steps using the Windows 10 built-in VPN provider. But a commercial VPN service simplifies everything.
And we can’t think of a better VPN for the job than Private Internet Access. It’s compatible with Windows, Mac, Android, iOS, Linux, and even routers. And it allows 10 simultaneous device connections through the same account.
PIA comes with some awesome advanced options that can be easily explored: OpenVPN and WireGuard protocols and Shadowsocks proxy (which Windows 10 lacks), split tunneling, kill switch, private DNS servers, and native port forwarding.
Here’s how you can add a VPN connection on Windows 10 using PIA:
- Get a PIA subscription plan
- Download and install PIA for Windows 10
- Launch PIA and log in with your credentials
- Press the big power button to connect to a VPN server
More about PIA:
- More than 23,500 VPN and proxy servers across 77 countries
- No logs or leaks
- 24/7 live chat support
- 30-day money-back guarantee (no free trial)
- Pay with a credit card, PayPal, crypto
Private Internet AccessEasily connect to a VPN and change settings on your Windows 10 PC using this reliable VPN service.
We firmly believe that Private Internet Access is the best VPN for Windows 10.
To sum up, you can easily add a VPN connection using the Windows 10 built-in provider, without having to install any software.
Or, you can use the Add-VpnConnection cmdlet in PowerShell to achieve the same results, although this requires expert skills.
The fastest way for casual users to secure their Internet connections is by turning to a reliable commercial VPN service like Private Internet Access (buy here). It’s easy to install, set up, and customize preferences.
FAQ: Learn more about VPN
- How do I add a VPN connection in Windows 10?
You can seamlessly add a VPN connection on Windows 10 using the built-in VPN provider. Alternatively, you can use the Add-VpnConnection cmdlet in PowerShell. But the easiest way is to get a commercial VPN service.
- Should I set up a VPN at home?
You should set up a VPN at home on a Windows 10 PC if you want to remotely access your home network resources from anywhere in the world. Or you can use a paid VPN solution at home for secure browsing.
- Is Windows 10 VPN any good?
The Windows 10 built-in VPN provider is easy to use, but it only acts as a client. You still need to get VPN connection details from somewhere before adding them to Windows.Editor's Note: This article was originally published in September 2014 and was revamped and updated in January 2021 for freshness, accuracy, and comprehensiveness.