Jump to content
Sign in to follow this  

Can Autoit be used to connect to a vpn and map drives?

Recommended Posts



First post so go steady with me :)

Im looking to understand what exactly AutoIT does and if its possible to use it to either create a script or exe which can connect to a vpn prompting for a username and password and then map drives just like the user was on the lan. The user logs in locally as a different account and so it will have to use the VPN auth method and store the username to map the relative home directory - any advice please?


Edited by shabbaranks

Share this post

Link to post
Share on other sites

Hi, shabbaranks, welcome to the forum. The short answer to your two questions is yes, AutoIt can do that (it's rare that we say AutoIt can't do something). I would suggest using the forum search for VPN, which should give you some idea of what others have done in the past. It really depends on a lot of variables, such as the type of VPN (it is far different scripting a PPTP VPN vs. a Juniper SSL VPN).

Once you've looked at what others have done, try writing something out. If you get stuck, feel free to post back here (even if it doesn't work) and we'll be glad to help :)

  • Like 1

√-1 2^3 ∑ π, and it was delicious!

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.