Solved

AutoIT Runas Script not working

Posted on 2010-09-21
4
2,551 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
commonTwo  challenge 63 98
Python - ImportError: No module named 'urllib2' 2 100
mapAB Challlenge 35 85
python question 5 57
This is an explanation of a simple data model to help parse a JSON feed
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

706 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

15 Experts available now in Live!

Get 1:1 Help Now