Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1815
  • Last Modified:

vbscript for vpn

How would I write a vbscript to connect to a vpn connection. I tried using rasdial but this automatically connetcs and I want some kind of dialog pop up showing the status of the connection.
0
thenone
Asked:
thenone
  • 2
1 Solution
 
RobSampsonCommented:
From the article
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rasdial.mspx?mfr=true
"When used without options, rasdial displays the status of current connections."

So, wouldn't you be able to execute just "rasdial" to see the status?

Regards,

Rob.
0
 
thenoneAuthor Commented:
not trying to see the status. I am trying to get a login script to work.
0
 
RobSampsonCommented:
Do need it to work by automatically connecting to a VPN?  Try following the example commands in the link I posted...

Regards,

Rob.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now