Guest JPB Posted March 29, 2005 Share Posted March 29, 2005 (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 March 29, 2005 by JPB Link to comment Share on other sites More sharing options...
sykes Posted March 29, 2005 Share Posted March 29, 2005 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? Link to comment Share on other sites More sharing options...
Jeepy Fault Posted October 5, 2005 Share Posted October 5, 2005 Alternative that uses saved username/password: runwait("Rasphone.exe -d connectionname") Link to comment Share on other sites More sharing options...
sykes Posted October 5, 2005 Share Posted October 5, 2005 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? Link to comment Share on other sites More sharing options...
AutoChris Posted October 6, 2005 Share Posted October 6, 2005 Do you guys realize this post was answered over 6 months ago? I don't think the original poster needs any clarification anymore. Link to comment Share on other sites More sharing options...
sykes Posted October 6, 2005 Share Posted October 6, 2005 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? Link to comment Share on other sites More sharing options...
Jmtyra Posted July 14, 2009 Share Posted July 14, 2009 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:: Link to comment Share on other sites More sharing options...
nguyenbason Posted July 15, 2009 Share Posted July 15, 2009 I don't think you need to reply a topic 4 years old. UnderWorldVN- Just play the way you like it Link to comment Share on other sites More sharing options...
Jmtyra Posted July 19, 2009 Share Posted July 19, 2009 I don't think you need to reply a topic 4 years old.Gee, I don't think you should have either. iamkoshr 1 Link to comment Share on other sites More sharing options...
UnsteadyReady Posted May 9, 2018 Share Posted May 9, 2018 *Bump Link to comment Share on other sites More sharing options...
Developers Jos Posted May 9, 2018 Developers Share Posted May 9, 2018 6 hours ago, UnsteadyReady said: *Bump you bump this thread ....because? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
soheil1234 Posted June 19, 2018 Share Posted June 19, 2018 hi all you can use Rasdial.exe "Connection name" username password /PHONEBOOK:"THE PBK FILE FULL PATH" this command try to connect you vpn saved on a pbk file How can create PBK File? send Rasphone.exe -f "THE PBK FILE FULL PATH" command on cmd this while show window you can create own vpn config and name and save this to disconnect: Rasdial.exe "Connection name" /DISCONNECT Link to comment Share on other sites More sharing options...
Developers Jos Posted June 19, 2018 Developers Share Posted June 19, 2018 (edited) Welcome @soheil1234, Wondering why you elected to post in this thread as well? Have you actually read through the thread and seen it is only some 13 years old and focused on WinXP? Jos Edited June 19, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now