Jump to content

Run program as Administrator


Recommended Posts

Hi,

i am newie in autoit, can you help me with my problem? I would like to run a program with administration rights under account with resctricted rights. For example:

c:\ProgramFiles\programXY\xy.exe

user: XXX

password: YYY

computer name: COMPUTER

domain: ZZZ

i downloaded AutoIt3 and i dont know how to use it. Thanx for your help.

Link to comment
Share on other sites

2both of you, thanx for your quick answers.

AdmiralAlkex: runas working perfect!

it looks like this:

RunAs ( "XXX", "COMPUTER", "YYY", 0, "c:\ProgramFiles\programXY\xy.exe")

so easy to use, thanx for your helpfully information!

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...