3 Easy Ways to Add a VPN Connection to Windows 10

A VPN secures your device and protects it from prying eyes

by Elena Constantinescu
Elena Constantinescu
Elena Constantinescu
VPN Expert & Privacy Advocate
Elena started writing professionally in 2010 and hasn't stopped exploring the tech world since. With a firm grasp of software reviewing and content editing, she is always trying... read more
Reviewed by Edgar Nicov
Edgar Nicov
Edgar Nicov
Privacy & VPN Expert
Since the dial-up Internet era, Edgar was interested in online resources. From forums to e-commerce websites, he started digging into how those resources could generate revenue. Today he... read more
Affiliate Disclosure
  • 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.
  • However, 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.
how to add VPN connection to Windows 10

You can add a VPN connection to Windows 10 in several ways, whether you’re a seasoned computer user or just a casual home user.

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?

1. Press the Windows + X keys at the same time to bring up the WinX menu.

2. Select Network connections from the menu.

access Network Connections from the Windows 10 Start menu

3. You are now in the Network & Internet center. Select the VPN tab from the left pane.

access the VPN section from Windows 10 Settings

4. Click on Add a VPN connection.

add a VPN connection to Windows 10

5. 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

6. Check the Remember my sign-in info box.

7. 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. All you need to do is navigate to the Network & Internet settings menu and configure your VPN.

However, keep in mind that the built-in VPN provider 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:

  1. Right-click the Windows 10 Start button
  2. Select Windows PowerShell (Admin) and click Yes if prompted by UACaccess PowerShell with admin rights from the Windows 10 Start menu
  3. Paste the following codeuse the add-vpnconection cmdlet in Windows 10 PowerShell
    • Add-VpnConnection
      • [-Name] <String>
      • [-ServerAddress] <String>
      • [-RememberCredential]
      • [-SplitTunneling]
      • [-Force]
      • [-PassThru]
      • [-ServerList <CimInstance[]>]
      • [-DnsSuffix <String>]
      • [-IdleDisconnectSeconds <UInt32>]
      • [-PlugInApplicationID] <String>
      • -CustomConfiguration <XmlDocument>
      • [-CimSession <CimSession[]>]
      • [-ThrottleLimit <Int32>]
      • [-AsJob]
      • [-WhatIf]
      • [-Confirm]
      • [<CommonParameters>]
  4. 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.

Private Internet Access helps you unblock Netflix

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:

PIA is connected to a US VPN server
  1. Get a PIA subscription plan
  2. Download and install PIA for Windows 10
  3. Launch PIA and log in with your credentials
  4. 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 Access

Private Internet Access

Easily connect to a VPN and change settings on your Windows 10 PC using this reliable VPN service.

Check priceBuy it now

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.

We hope that our article helped you set up a VPN connection on your device. Let us know in the comments section below if you have any questions.

Your connection is not secure - websites you visit can find out your details:

  • Your IP
  • Your IP Address:

Companies can sell this information, alongside your location and internet provider name, and profit from it by serving targeted ads or monitoring your data usage.

Use a VPN to protect your privacy and secure your connection.

We recommend Private Internet Access, a VPN with a no-log policy, open source code, ad blocking and much more; now 79% off.

This article covers:Topics: