Jump to content

Recommended Posts

Posted

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?

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
  • Recently Browsing   0 members

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