How to Remove a VPN Connection in Windows 10


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.

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







OPTION ONE

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)

Remove a VPN Connection in Windows 10-remove_vpn_connection_settings-1.jpg

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

Remove a VPN Connection in Windows 10-remove_vpn_connection_settings-2.jpg

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






OPTION TWO

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)

Remove a VPN Connection in Windows 10-remove_vpn_connection_in_network_connections-1.jpg

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.

Remove a VPN Connection in Windows 10-remove_vpn_connection_in_network_connections-4.jpg

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

Remove a VPN Connection in Windows 10-remove_vpn_connection_in_network_connections-5.png

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






OPTION THREE

To Remove a VPN Connection in Command Prompt


1 Open a command prompt.

2 Copy and paste 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

Make note of the Name (ex: "MPN") of the disconnected VPN you want to remove.

Remove a VPN Connection in Windows 10-get_vpn_command-1.png

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

rasphone -R "Name"

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"

Remove a VPN Connection in Windows 10-remove_vpn_command-2.png

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






OPTION FOUR

To Remove a VPN Connection in PowerShell


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


1 Open PowerShell.

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

Get-VpnConnection

Make note of the Name (ex: "MPN") of the disconnected VPN you want to remove.

Remove a VPN Connection in Windows 10-get-vpnconnection_powershell.png

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

Remove-VpnConnection -Name "Name" -Force

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

Remove a VPN Connection in Windows 10-remove-vpnconnection_powershell.png

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


That's it,
Shawn