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:
- Windows 10 VPN technical guide (Windows 10) | Microsoft Docs
- VPNs for Beginners - What You Need to Know - BestVPN.com
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
- Option Two: To Remove a VPN Connection in Network Connections
- Option Three: To Remove a VPN Connection in Command Prompt
- Option Four: To Remove a VPN Connection in PowerShell
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)
3 Click/tap on Remove to confirm. (see screenshot below)
4 When finished, you can close Settings if you like.
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)
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.
4 Click/tap on Yes to confirm. (see screenshot below)
5 When finished, you can close Network Connections if you like.
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.
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"
4 When completed successfully, you can close the command prompt if you like.
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)
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
4 When completed successfully, you can close the PowerShell if you like.
That's it,
Shawn
Related Tutorials
- How to Set up and Add a VPN Connection in Windows 10
- How to Connect to a VPN in Windows 10
- How to Disconnect a VPN in Windows 10
- How to Turn On or Off Allow VPN over Metered Networks in Windows 10
- How to Turn On or Off Allow VPN while Roaming in Windows 10