Published by


Brink's Avatar
Administrator

Posts: 25,175

Show Printable Version 


How to Remove a VPN Connection in Windows 10

information   Information
Whether it's for work or personal use, you can connect to a VPN (virtual private network) on your Windows 10 PC. A VPN connection can help provide a more secure connection to your network and the Internet.

A virtual private network (VPN) allows you to connect to the internet via a server run by a VPN provider. A VPN extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network. ("In the simplest terms, it creates a secure, encrypted connection, which can be thought of as a tunnel, between your computer and a server operated by the VPN service." Applications running across the VPN may therefore benefit from the functionality, security, and management of the private network.

For more information about a VPN, see:

This tutorial will show you different ways on how to remove a VPN (virtual private network) connection in Windows 10.
Note   Note
Before you can remove an added VPN connection, the VPN must be disconnected.

You will not be able to remove a VPN if it is currently connected.

CONTENTS:





Remove a VPN Connection in Windows 10 OPTION ONE Remove a VPN Connection in Windows 10
To Remove a VPN Connection in Settings

1. Open Settings, and click/tap on the Network & Internet icon.

2. Click/tap on VPN on the left side, click/tap on the disconnected VPN (ex: "MPN") on the right side you want to remove, and click/tap on the Remove button. (see screenshot below)

Name:  Remove_VPN_connection_Settings-1.jpg
Views: 416
Size:  52.2 KB

3. Click/tap on Remove to confirm. (see screenshot below)

Name:  Remove_VPN_connection_Settings-2.jpg
Views: 402
Size:  51.2 KB

4. When finished, you can close Settings if you like.






Remove a VPN Connection in Windows 10 OPTION TWO Remove a VPN Connection in Windows 10
To Remove a VPN Connection in Network Connections

1. Open the Control Panel (icons view), and click/tap on the Network and Sharing Center icon.

2. Click/tap on the Change adapter settings link on the left side of Network and Sharing Center. (see screenshot below)

Name:  Remove_VPN_connection_in_Network_Connections-1.jpg
Views: 417
Size:  53.8 KB

3. Perform one of the actions below: (see screenshot below)

A) Select the disconnected VPN (ex: "MPN") you want to remove, and click/tap on Delete this connection on the toolbar.

OR

B) Right click or press and hold on the disconnected VPN (ex: "MPN") you want to remove, and click/tap on Delete.

Name:  Remove_VPN_connection_in_Network_Connections-4.jpg
Views: 398
Size:  47.5 KB

3. Click/tap on Yes to confirm. (see screenshot below)

Name:  Remove_VPN_connection_in_Network_Connections-5.png
Views: 403
Size:  8.1 KB

4. When finished, you can close Network Connections if you like.






Remove a VPN Connection in Windows 10 OPTION THREE Remove a VPN Connection in Windows 10
To Remove a VPN Connection in Command Prompt

1. Open a command prompt.

2. Enter the command below into the command prompt, and press Enter to see details about all available added VPN connections. (see screenshot below)

PowerShell Get-VpnConnection

Note   Note
Make note of the Name (ex: "MPN") of the disconnected VPN you want to remove.
Name:  Get_VPN_command-1.png
Views: 408
Size:  25.7 KB

3. Enter the command below into the command prompt, and press Enter. (see screenshot below)

rasphone -R "Name"

Note   Note
Substitute Name in the command above with the actual name of the disconnected VPN (ex: "MPN") you want to remove.

For example: rasphone -R "MPN"
Name:  Remove_VPN_command-2.png
Views: 399
Size:  9.0 KB


4. When completed successfully, you can close the command prompt if you like.






Remove a VPN Connection in Windows 10 OPTION FOUR Remove a VPN Connection in Windows 10
To Remove a VPN Connection in PowerShell

Note   Note
To see more information and usage options for the Remove-VpnConnection command, see: Remove-VpnConnection - Microsoft Windows IT Center

1. Open PowerShell.

2. Enter the command below into PowerShell, and press Enter to see details about all available added VPN connections. (see screenshot below)

Get-VpnConnection

Note   Note
Make note of the Name (ex: "MPN") of the disconnected VPN you want to remove.
Name:  Get-VpnConnection_PowerShell.png
Views: 411
Size:  23.5 KB

3. Enter the command below into the PowerShell, and press Enter. (see screenshot below)

Remove-VpnConnection -Name "Name -Force"

Note   Note
Substitute Name in the command above with the actual name of the disconnected VPN (ex: "MPN") you want to remove.

For example: Remove-VpnConnection -Name "MPN -Force"
Name:  Remove-VpnConnection_PowerShell.png
Views: 399
Size:  9.7 KB


4. When completed successfully, you can close the PowerShell if you like.



That's it,
Shawn