lightrain125 Posted July 29, 2018 Posted July 29, 2018 How to change Host Name VPN and Connect VPN ?. I need using autoit. Thank everyone
TheXman Posted July 29, 2018 Posted July 29, 2018 (edited) @lightrain125 Familiarize yourself with either the Windows Remote Access Services APIs and/or the Windows RASDial command. Use your favorite search engine (Google, Bing, DuckDuckGo, etc.). There's plenty of info and examples on the web. Then, translate what you've learned in AutoIT commands. If you run into problems, then come back with your code in-hand and ask for assistance getting past whatever specific issue(s) you're having. Or if you are lucky and someone is feeling benevolent, maybe they'll write the script for you. Here's a tip, you can find the existing VPN entries in your user profile (unless you made them available to everyone). They have a .pbk extension. Specifically, they can be found in this directory: %userprofile%\AppData\Roaming\Microsoft\Network\Connections\Pbk The .pbk files are in INI file format. So if you wanted to go the easiest route, you could use AutoIt INI file functions to modify the entries and the rasdial command to connect to the VPN. Happy scripting! Edited July 30, 2018 by TheXman CryptoNG UDF: Cryptography API: Next Gen jq UDF: Powerful and Flexible JSON Processor | jqPlayground: An Interactive JSON Processor Xml2Json UDF: Transform XML to JSON | HttpApi UDF: HTTP Server API | Roku Remote: Example Script About Me How To Ask Good Questions On Technical And Scientific Forums (Detailed) | How to Ask Good Technical Questions (Brief) "Any fool can know. The point is to understand." -Albert Einstein "If you think you're a big fish, it's probably because you only swim in small ponds." ~TheXman
lightrain125 Posted July 30, 2018 Author Posted July 30, 2018 Thank @TheXman, I have complelte. Next ask, check firefox browsing open?
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