AutoIT Runas Script not working

Posted on 2010-09-21
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?
Question by:OTNAdmin
  • 2
LVL 11

Accepted Solution

g000se earned 500 total points
ID: 33726360

I have been looking at the same program AutoIT too.  

I found this link that may shed some light for you-

Expert Comment

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

Author Closing Comment

ID: 33728221
Good Answer
LVL 11

Expert Comment

ID: 33729112
I am glad to help.  

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
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.

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now