+ Post New Thread
Results 1 to 7 of 7
Windows Thread, software via autoit in AD in Technical; I usually install software by using autoit but install it by visiting each machine, not as bad as it sounds ...
  1. #1
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,506
    Thank Post
    141
    Thanked 66 Times in 61 Posts
    Rep Power
    46

    software via autoit in AD

    I usually install software by using autoit but install it by visiting each machine, not as bad as it sounds only 22 in suite. But thought I'd try to be a bit cleverer and remotely install from now on. So I made a test user and set my auotit complied script as a logon script in gpo (user configuration) but found that the script will only install if I made my test user a domain administrator which would mean I would have to logon at each machine.

    I think I read that if the script is run as a startup script it doesn't need admin permissions. So I trotted back to the server to put the suite computers in an ou to set a gpo just for them, but found that all the computers appear in just a folder named computers in AD with no option to make sub ou. Now confused.

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: software via autoit in AD

    'Computers' is a container which is not the same as an OU hence why a OU cannot be placed inside it.

    Simply create an OU and then place your computers within that.

    You were correct about the startup script (sartup/shutdown scripts run as local system and logon/logoff scripts run as the user).

  3. #3
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,506
    Thank Post
    141
    Thanked 66 Times in 61 Posts
    Rep Power
    46

    Re: software via autoit in AD

    Thanks - did it!
    Created ou for set of computers, new gpo and set autoit script to run at startup, worked but didn't create any startmenu or desktop icons, so had a go with using a MS package with a ready made msi and used gpo/computer/software install this was much better.
    Silly question now though - when software is installed do you just leave the package in the gpo software install section or delete the gpo and set up a new one when next software needs installing?

  4. #4
    mrcrazy04's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire/Cheltenham, UK
    Posts
    258
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    17

    Re: software via autoit in AD

    You can leave the package in the GPO. If you remove the package, I'm pretty sure it will be removed from the machines.
    What I did was make a new GPO for each piece of software, which just installed that piece of software, so deploying and removing as as easy as adding or removing that specific GPO from a computer, and I could do it across OUs.

  5. #5

    Join Date
    Nov 2006
    Location
    Reading, UK
    Posts
    486
    Thank Post
    30
    Thanked 14 Times in 8 Posts
    Rep Power
    18

    Re: software via autoit in AD

    Leave the GPO and it will continue to check the software is installed, and install it on new machines added to the OU/Security Group that the GPO is linked with.

    When you delete the GPO I believe the software is uninstalled. When you remove the MSI from the GPO you're given an option to uninstall the software on all machines or leave it on the machine without installing it on any new machines added to the OU/Security Group.

    Hope that helps.

  6. #6
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,506
    Thank Post
    141
    Thanked 66 Times in 61 Posts
    Rep Power
    46

    Re: software via autoit in AD

    I have 4 or 5 pieces of software I want to install, do I create a new gpo for each one therefore having 5 gpo's applying to one ou, or can I put them on one gpo thus having a list of packages to install.

  7. #7

    Join Date
    Nov 2006
    Location
    Reading, UK
    Posts
    486
    Thank Post
    30
    Thanked 14 Times in 8 Posts
    Rep Power
    18

    Re: software via autoit in AD

    Either way works, depending on the software I generally have them in different GPO's.

    That way I can easily assign just one of the applications to another set of computers by easily linking just that software GPO.

    I do assign programs like Office and Learning Essentials in the same GPO, as they're similar and so forth.

    Hope that helps.

SHARE:
+ Post New Thread

Similar Threads

  1. AutoIT help.
    By K.C.Leblanc in forum Scripts
    Replies: 7
    Last Post: 28th November 2007, 03:27 PM
  2. AutoIT help
    By randle in forum Windows
    Replies: 14
    Last Post: 11th July 2007, 09:26 AM
  3. AutoIT
    By Gatt in forum Scripts
    Replies: 3
    Last Post: 3rd July 2007, 01:29 PM
  4. AutoIT process communication
    By NetworkGeezer in forum Scripts
    Replies: 2
    Last Post: 9th May 2007, 08:00 PM
  5. Install software using AutoIT??
    By SpuffMonkey in forum How do you do....it?
    Replies: 3
    Last Post: 21st March 2007, 01:50 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
  •