Check VPN Connection Status From Command Line In Windows

Windows 10 does not show the status of VPN connections directly in system tray. The user has to click on the network icon to see if a particular VPN connection is active…

Table of contents

Windows 10 does not show the status of VPN connections directly in system tray. The user has to click on the network icon to see if a particular VPN connection is active or not. If you have multiple VPN connections, especially the ones like Cisco Anyconnect or Kerio Control VPN, it becomes harder to keep track of which connection is active at the moment. Keeping track of multiple VPN connections are now possible.

In this tutorial, I am providing you a simple way that will easily allow you to check the status of multiple VPN connections easily.

Using Netsh command

The netsh command is used to display connection status. Netsh is a command-line scripting utility that allows you to configure the network or run different commands in batch mode.

  1. Open the Command Prompt window from your system and enter the following command.
    netsh interface show interface
    Check VPN Connection Status From Command Line In Windows 1
  2. This command will list down all networks. Above snapshot is the result when I run the command, the first one is my VPN connection. Which is not connected now, and it shows it disconnected. So this will tell me easily that I am not currently connected to VPN connection.

At Anytime if you are getting an issue with connection and cannot be able to identify whether you are connected or not, this command will always help you out. So you can easily connect again with VPN connection.  If you have disconnected a VPN connection for some time, you can also check it by running the same command, it will tell you connection status of your each VPN network.

Keep monitoring your VPN connections status easily by running a single command.

Latest posts
Uninstall Microsoft Edge on Windows 11 10
How To Uninstall Microsoft Edge On Windows 11, 10

You are no longer stuck with Microsoft Edge as the proprietary browser. Don’t need it? Uninstall Edge with these steps.

View post
How To Fix Windows Update Error Code 0x800f081f
How To Fix Windows Update Error Code 0x800f081f

This error can be annoying to fix, since these isn’t only one cause. Here are all the methods to fix the error 0x800f081f.

View post
How To Remove Or Replace Image Background Using Photos App In Windows 11
How To Remove Or Replace Image Background Using Photos App In Windows 11

Microsoft Photos allows you to edit only the background of your images. Replace or simply remove them using these methods.

View post

Leave the first comment