About This Site

I'm a Tech Guy for over 30 Years Knowledge of Computers, Networks, PC Gadgets. This site is to be used to share some of my knowledge and reviews

Show VPN Connections On Windows Server

Client uses VPN on a Windows 2012 server and would like to know if users are connected before restarting the server.

The easiest way I found is to create a batch file and then run it as Administrator.

Here is the lines used in the batch file:

@echo off
netsh ras show client
pause

 

Once you create the batch file containing these lines then just right-click on the file and select run as administrator

It will then show the names of the users logged in.

 

Comments are closed.