Solved

AutoIT Runas Script not working

Posted on 2010-09-21
4
2,660 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:OTNAdmin
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
g000se earned 500 total points
ID: 33726360
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
 
LVL 8

Expert Comment

by:ragnarok89
ID: 33726396
I use PSEXEC, it's a great tool for what you describe.

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
0
 

Author Closing Comment

by:OTNAdmin
ID: 33728221
Good Answer
0
 
LVL 11

Expert Comment

by:g000se
ID: 33729112
I am glad to help.  
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question