AutoIT Runas Script not working

I am trying to setup a script using AutoIT 3 that will install an application under an user account that does not have admin rights. See below the script I am trying to use

RunAsWait("Username", "Domain", "Password", 0, "Install.bat", @SystemDir)

Should this not install the application?
OTNAdminAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
g000seConnect With a Mentor Commented:
Hi,

I have been looking at the same program AutoIT too.  

I found this link that may shed some light for you- http://www.autoitscript.com/forum/index.php?showtopic=119471&st=0&p=830332&hl=runas&fromsearch=1&#entry830332
0
 
ragnarok89Commented:
I use PSEXEC, it's a great tool for what you describe.

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
0
 
OTNAdminAuthor Commented:
Good Answer
0
 
g000seCommented:
I am glad to help.  
0
All Courses

From novice to tech pro — start learning today.