Disconnect VPN from command prompt?

B

BS

All-

Is there a way to disconnect an active PPTP VPN session from the command
prompt? If so, what is the way?!

I have a situation where my connection icon doesn't appear in the tray even
though the option is checked. In such cases, it would be handy to be able
to disconnect my session via the command prompt.

Thanks.
 
D

DE

BS said:
All-

Is there a way to disconnect an active PPTP VPN session from the command
prompt? If so, what is the way?!

I have a situation where my connection icon doesn't appear in the tray even
though the option is checked. In such cases, it would be handy to be able
to disconnect my session via the command prompt.

Thanks.

rasphone -h "[connection-name]"

without the square brackets, with the quotes, and substitute the *exact*
case-sensitive name of the VPN connection for the space between the square
brackets in the line shown.

-- DE
 
M

Marc Reynolds [MSFT]

I believe you can use rasdial

rasdial <connection name> /DISCONNECT

--

Thanks,
Marc Reynolds
Microsoft Technical Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top