Jump to content
Sign in to follow this  
jp10558

Problem with RunAs() In compiled script on Win 7 x64

Recommended Posts

jp10558

I'm trying to setup a script to run the OpenVPN GUI as Administrator from a User account on Windows 7 x64. My script for XP works great, so I've only modified it slightly:

Runas("User",@ComputerName,"Password",0,"C:\Program Files (x86)\OpenVPN\bin\openvpn-gui-1.0.3.exe","C:\Program Files (x86)\OpenVPN")

But it just doesn't seem to do anything that I can tell... "User" is an Administrator account on the computer. UAC is off. Any ideas why this would fail?

Share this post


Link to post
Share on other sites
jp10558

Never Mind - updating AutoIT fixed it.

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  

×