Sign in to follow this  
Followers 0
Guest JPB

Start VPN network connection

9 posts in this topic

#1 ·  Posted (edited)

Hi,

under Windows XP I created a VPN connection to a remote computer.

I would like to create a script that could start this VPN connection automatically after login.

Please help ?

How can I start a Network connection trough AutoIT. I know how to push the connect button automatically, but I have no succes at this moment on starting the connection window.

Please advise.

Jean-Paul

Edited by JPB

Share this post


Link to post
Share on other sites



Hi,

under Windows XP I created a VPN connection to a remote computer.

I would like to create a script that could start this VPN connection automatically after login.

Please help ?

How can I start a Network connection trough AutoIT. I know how to push the connect button automatically, but I have no succes at this moment on starting the connection window.

Please advise.

Jean-Paul

<{POST_SNAPBACK}>

runwait("Rasdial.exe connectionname username password")

We have enough youth. How about a fountain of SMART?

Share this post


Link to post
Share on other sites

Alternative that uses saved username/password:

runwait("Rasphone.exe -d connectionname")

Share this post


Link to post
Share on other sites

Alternative that uses saved username/password:

runwait("Rasphone.exe -d connectionname")

Rasdial works the same way ... the username/password combination makes sure it isn't prompting you for a username/password when Windows "forgets" its settings ... an all to familiar occurrence with Windows it seems....

We have enough youth. How about a fountain of SMART?

Share this post


Link to post
Share on other sites

Do you guys realize this post was answered over 6 months ago? I don't think the original poster needs any clarification anymore.

Share this post


Link to post
Share on other sites

Do you guys realize this post was answered over 6 months ago? I don't think the original poster needs any clarification anymore.

Sure do .... A neat thing happens when someone answers a post though. It shows up as a recent post. I was simply clarifying the information for anyone else who needed the information.

We have enough youth. How about a fountain of SMART?

Share this post


Link to post
Share on other sites

runwait("Rasdial.exe connectionname username password")

Thank you! While I'm not the OP, I was looking for an answer to something similar like this.

Appreciate it! =^.^=

PS -- And who says no-one uses the forum 'search' function? ::grin::

Share this post


Link to post
Share on other sites

I don't think you need to reply a topic 4 years old.


UnderWorldVN- Just play the way you like it

Share this post


Link to post
Share on other sites

I don't think you need to reply a topic 4 years old.

Gee, I don't think you should have either. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0