How do you do....it? Thread, Install software using AutoIT?? in Technical; Hi
Just starting to write scripts using AutoIT to install some software (ExamBase KS3 Testing client) - it works fine ...
-
21st March 2007, 02:03 PM #1 Install software using AutoIT??
Hi
Just starting to write scripts using AutoIT to install some software (ExamBase KS3 Testing client) - it works fine if I call it from the client PC whilst logged in as administrator, but I would like to automate the process on a suite of PCs - whats the easiest way to achioeve that?
Thanks
-
-
IDG Tech News
-
21st March 2007, 02:25 PM #2
- Rep Power
- 0
Re: Install software using AutoIT??
Well if you use a GPO startup script then this will run with admin rights.
Alternatively you could use psexec and a feed it a list of computer names.
You can also do remote process invocation using WSH via your favourite script language VBS/JS,PSH,KiX etc.
With psexec and WSH you would have to call the script with an account that would have admin rights on the target machines. Also exceptions will be needed if the XP/Visata firewall is enabled.
-
-
21st March 2007, 02:36 PM #3 Re: Install software using AutoIT??
I use the RunAsSet command:
RunAsSet("administrator", @ComputerName, "PASSWORD")
WHAT YOU WANT TO DO
RunAsSet()
Have it running at startup or when a user logs on. I tend to stick flags in the scripts so they will either run or not run if you get my drift....
Hope that helps.
-
-
21st March 2007, 02:50 PM #4
- Rep Power
- 0
Re: Install software using AutoIT??

Originally Posted by
mattx I use the RunAsSet command:
Have it running at startup or when a user logs on. I tend to stick flags in the scripts so they will either run or not run if you get my drift....
Hope that helps.
A word of caution Mattx. There is some danger of your administrative password being discovered. I know you can compile an AU3 script to EXE with a password but this is as about as strong as a ZIP or Office file password.
There is a little secuirty through obscurity as the user would have to find the GPO, then the find the script and then undo the compilation. Akward but not impossible.
-
SHARE:
Similar Threads
-
By chrbb in forum Windows
Replies: 6
Last Post: 14th November 2007, 09:15 AM
-
By tickmike in forum How do you do....it?
Replies: 8
Last Post: 8th September 2006, 11:45 AM
-
By tosca925 in forum How do you do....it?
Replies: 6
Last Post: 23rd January 2006, 12:12 AM
-
By browolf in forum Windows
Replies: 11
Last Post: 2nd December 2005, 12:08 PM
-
By kingswood in forum How do you do....it?
Replies: 21
Last Post: 4th August 2005, 04:00 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules