Jump to content

Cannot automate VPN connection with rasautou


 Share

Recommended Posts

I prefer not to store my password for a vpn connection.

So I want to open the dialog where I can put manually my password.

Via the Windows Run dialog, I type :

image.thumb.png.03553d29225a6171fa61d2ca4bccc642.png

(blurred the VPN name) and it does what I expect. A screen shows and I can put my password and connect the VPN.

 

However, when I put it in an AutoIt script (au3 and exe)

image.thumb.png.7cf0cd0a2cbc541ef0d992ea499f37a4.png

it only shows the command window, and closes the command window again.

Tried already with Run, RunWait, ShellExecute and ShellExecuteWait.

Also with putting C:\Windows instead of @WindowsDir.

The debug info shows no error.

image.thumb.png.ec6721fb0fcedb0c42f7dae675560d3f.png

image.png

Edited by Ontrack16
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...