ITT Pinterest Profile Pic
ITECHTICS
10246 Subscribers

Check VPN Connection Status From Command Line In Windows

Maham Mukhtar
Computer Scientist | Tech Enthusiast
August 31, 2022
people liked this post

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.

0

Save for Later
Enjoy this article?
Let us know your thoughts and join the conversation. Your feedback helps us create better content
ic_fluent_emoji_24_regularCreated with Sketch. ThanksReport
Maham Mukhtar
Computer Scientist | Tech Enthusiast
76 Articles
Having done MPhil in Computer Sciences, I'm passionate about new IT technologies and eager to learn. I write about tech trends, new tools and software, and rapidly emerging technologies.
ITT Pinterest Profile Pic
Stay in the loop
Get weekly insights, tips and exclusive content delivered straight to your inbox.
Subscription Form Bottom

Leave the first comment

ITT Pinterest Profile Pic
Stay in the loop

Get weekly insights, tips and exclusive content delivered straight to your inbox.

Subscription Form Top
Report an issue
Report Form
Talk to us now

Talk to us straight and get your questions answered right away

Tell Us About Your Project