Deleting a device tunnel connection presents a unique challenge though. Specifically, there is no VPN connection in the UI to disconnect and remove. To delete an Always On VPN device tunnel, open an elevated PowerShell window and enter the following command.
Get-VpnConnection -AllUserConnection | Remove-VpnConnection -Force
If the device tunnel is connected when you try to remove it, you will receive the following error message.
The VPN connection [connection_name] cannot be removed from the global user connections. Cannot
delete a connection while it is connected.
The device tunnel must first be disconnected to resolve this issue. Enter the following command to disconnect the device tunnel.
rasdial.exe [connection_name] /disconnect
Remove the device tunnel connection using PowerShell once complete.
Windows 10 Always On VPN Device Tunnel Step-by-Step Configuration using PowerShell
What’s The Difference Between DirectAccess and Always On VPN?