How to Disconnect a VPN in Windows 10
On a Windows 10 PC you can connect to a VPN (virtual private network) for your work or personal needs. A VPN connection often helps to establish a more secure connection to the Internet, and access internal resources located somewhere else. VPNs are a popular solution when you need to connect your PCs over the Internet, or access your work documents from home.
Virtual private networks (VPNs) are point-to-point connections across a private or public network, such as the Internet. A VPN client uses special TCP/IP or UDP-based protocols, called tunneling protocols, to make a virtual call to a virtual port on a VPN server. In a typical VPN deployment, a client initiates a virtual point-to-point connection to a remote access server over the Internet. The remote access server answers the call, authenticates the caller, and transfers data between the VPN client and the organization's private network. See the following article:
Advertisеment
How To Set Up a VPN Connection in Windows 10
This post will show you how to disconnect a VPN (virtual private network) connection in Windows 10. We will will review different methods. We will start with the Settings app, as it is the easiest method.
To Disconnect a VPN in Windows 10
- Open Settings. E.g. press
Win
+I
to open it quickly. - Navigate to Network & Internet > VPN. There is also an ms-settings command for this page,
ms-settings:network-vpn
. - On the right, select a VPN connection you want to disconnect from.
- Click on the Disconnect button. See the screenshot below.
- You can now close the Settings app.
Alternatively, you can use the classic Control app for the same with the Network Connections applet.
To Disconnect a VPN in Network Connections
- Open the Control Panel.
- Go to Control Panel\Network and Internet\Network and Sharing Center.
- Click on the link Change adapter settings on the left.
- Click on the connected VPN connection you want to disconnect.
- Finally, click on the Disconnect this connection button.
Also, you can use the Remote Access Phonebook app (rasphone.exe).
Disconnect a VPN in Windows 10 using rasphone.exe
- Press the
Win
+R
keys to open the Run dialog. - Type
rasphone.exe
into the Run box. - Select the connected VPN you want to disconnect (it's named Winaero in my case).
- Click on the Hang Up button to disconnect this VPN.
- Click Yes to confirm, and you are done.
You can also use the command line tool rasdial
to disconnect a VPN connection.
To Disconnect a VPN in the Command Prompt
- Open a new command prompt.
- Type the following to see the available VPN connections on your computer:
PowerShell Get-VpnConnection
. - Make note the connection name you want to disconnect. In my case it is "winaero". The Connection status column shows if it is currently connected or disconnected.
- Type
rasdial "vpn connection name" /disconnect
to disconnect it. E.g.rasdial "winaero" /disconnect
. - Alternatively, you can type
rasdial -H "vpn connection name"
. This is similar to the above. - Once disconnected, you can close the command prompt.
That's it.
Related posts
- Disable VPN While Roaming In Windows 10
- Disable VPN Over a Metered Connection in Windows 10
- Remove VPN Connection in Windows 10
- How to Connect to VPN in Windows 10
- How To Set Up a VPN Connection in Windows 10
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment