chrenko Posted January 6, 2010 Share Posted January 6, 2010 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 More sharing options...
Fire Posted January 6, 2010 Share Posted January 6, 2010 Hi chrenko. Glad to see you in Autoit Community. I think you need #RequireAdmin Just add it to bottom of your script. [size="5"] [/size] Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 6, 2010 Share Posted January 6, 2010 RunAs .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
chrenko Posted January 6, 2010 Author Share Posted January 6, 2010 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 More sharing options...
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