devi Posted September 20, 2011 Posted September 20, 2011 I would like to run a program with administration rights under account with administrator in windows 7. For example: c:\ProgramFiles\abc\def\xy.exe user: XXX password: YYY computer name: COMPUTER domain: ZZZ i use RunAs ( "XXX", "COMPUTER", "YYY", 0, "c:\ProgramFiles\abc\def\xy.exe") #RequireAdmin but iam not able t run the exe file.please help me .
Akarillon Posted September 20, 2011 Posted September 20, 2011 put in this line at the top of your script. #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator Challenge accepted!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now