Disconnect VPN user with Session ID
Hello,
I need a command to api or ... that could use in my program to disconnect user based that user session id.
[assume two user with same username connected [with radius authentication] and I want disconnect just one of them]
how can I do it with command line?
June 5th, 2011 8:57pm
Hi,
It seems that there is no command to disconnect a VPN connection according to user session ID. However you can restrict only one VPN connection per user by writing a RAS administration DLL for this purpose.
To disconnect a dial-up or VPN connection by using a command prompt
http://technet.microsoft.com/en-us/library/cc732379(WS.10).aspx#BKMK_Anchor4
Steps to develop a RAS administration DLL using Visual Studio
http://blogs.technet.com/b/rrasblog/archive/2007/12/20/steps-to-develop-a-ras-administration-dll-using-visual-studio.aspx
BrentPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 1:55am
Hi,
I mean my program run in RRAS server not vpn client.
http://technet.microsoft.com/en-us/library/cc732379(WS.10).aspx#BKMK_Anchor4 is useful for vpn clients
and about http://blogs.technet.com/b/rrasblog/archive/2007/12/20/steps-to-develop-a-ras-administration-dll-using-visual-studio.aspx I don't know where can I user it. (or is better to say how can I use that dll file)
June 7th, 2011 7:28pm