+ Post New Thread
Results 1 to 9 of 9
Windows Thread, Alt to GPO MSI installs for Laptops - Startup script? in Technical; This is probably going to sound like the dumbest, most obvious question ever but my brain is going into a ...
  1. #1
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118

    Alt to GPO MSI installs for Laptops - Startup script?

    This is probably going to sound like the dumbest, most obvious question ever but my brain is going into a BSOD loop when I try to get my head around this so hopefully folks can help.

    I've got a school with over 80 laptops that I've completely started from scratch with. I did a RIS with a base install on, WSUS setup to push out updates and originally I was relying on GPO to push out applications.

    I'm still trying to resolve issues with the laptops not pre-logging in to accept the Computer Settings from GPO's which predictably means the laptops don't get the GPO and can't access the server space for the installers. The pre-login side of things is pending but it's occured to me that there's another way to approach this and I'd rather not be forced to keep plugging laptops into a small hub every week for days at a time!

    Would it be possible to run a startup script that grabs installers down to the local hard drive and then runs these installers either immediately after or on the next reboot?

    I'm guessing I may have to get "cute" with the login scripts and get them to do the downloading based on some form of registry or text file "flags" which indicate what's required and from where... but aside from that I'm wondering if there are any potential issues with handling a silent exe install under the computer system account?


    Also, I suppose it wouldn't hurt to know if someone else has already resolved this issue or similar and has some pointers.

    I'll post up and resultant scripts and/or tips in the wiki so any suggestions will get due credit and be shared back.

    Thanks in advance.
    Last edited by contink; 22nd September 2008 at 11:52 AM. Reason: Title confusing

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,572 Times in 1,252 Posts
    Rep Power
    340
    I would definitely recommend using GPOs and not scripts for installing applications. Scripts are more suitable for printers, reg files or very small files (like text files).

    It sounds to me your machines are not picking up updated policies (for whatever reason).

    You can try the following command:
    Code:
    gpupdate /target:machine
    or

    Code:
    gpupdate /target:user

  3. Thanks to Michael from:

    contink (22nd September 2008)

  4. #3
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    HI

    Have a look at the bios and make sure you have the latest version so that it turns the wifi card on at boot and make sure that windows in managing the wifi card and not the wifi cards software as this only starts after the user logs on.

    I had to remove the card software and then just loads the driver on its own.

    Just an idea.

    Richard

  5. Thanks to ricki from:

    contink (22nd September 2008)

  6. #4
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118
    Just to respond with a bit more info on the problems experienced.

    1. The GPO is being picked up BUT it's not being picked up until after the wifi card has connected. (Using a RADIUS WPA auth setup that should be auth'ing the laptop and does seem to)

    2. The lack of wifi means that the laptop fails to see the //SERVER location for the actual MSI packages and thus can't install them..


    I've done some extensive checking on this and found the event log is showing the path doesn't exist.. Checking the Wifi controller indicates that the comp is auth'ing properly but it just isn't waiting long enough for the network it seems.

    Other discussions on other threads seem to indicate it's difficult to resolve...

  7. #5

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,204
    Thank Post
    876
    Thanked 2,729 Times in 2,308 Posts
    Blog Entries
    11
    Rep Power
    782
    You may want to enable these GP settings if you have not already as these may help it to process them more reliably:

    Computer Config > Administrative Templates > System > Group Policy : Wireless Policy Processing -enabled
    tick : Allow prosessing across a slow network connection

    Computer Config > Administrative Templates > System > Group Policy : Software installation Policy Processing-enabled
    tick : Allow prosessing across a slow network connection

    You may also want to try activating this which will make the system wait untill the network is fully initialized at boot. This will take a little longer but should make it wait long enough to grab a wireless connection. It will make power ups slow if the user is outside the coverage area and has not switched off the wireless card with the button.

    Computer Config > Administrative Templates > System > Logon : Always wait for network at computer startup and logon

    This one may or may not apply to the standard network wait with wireless but it might also help.

    Computer Config > Administrative Templates > System > netlogon : Expected dial-up delay on logon

  8. Thanks to SYNACK from:

    contink (23rd September 2008)

  9. #6
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118
    Cheers for those... I'll give them a shot with a test OU and a couple of spare units..

  10. #7

    Join Date
    Oct 2005
    Posts
    62
    Thank Post
    7
    Thanked 20 Times in 17 Posts
    Rep Power
    22
    As well as those, also check out:

    Computer Config \ Admin Templates \ System \ Group Policy \ Startup policy processing wait time

    We had an issue just recently with some laptops that weren't applying policies at startup becuase the wireless network wasn't starting quickly enough. After lots of playing around with different policy settings, this is the one that fixed it. We enabled it and set the amount of time to wait to 60 seconds. Now everything seems to work perfectly - it doesn't take anywhere near 60 seconds, but the group policy client will wait up to that amount of time for the network to become available.

    Peter

  11. Thanks to PeterH from:

    contink (23rd September 2008)

  12. #8
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,207
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    I've also found that sometimes you also need to set 'Always wait for network at computer startup and logon' in the local policy in these situations otherwise it never picks the setting up from GP.

  13. Thanks to cookie_monster from:

    contink (23rd September 2008)

  14. #9
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118
    Quote Originally Posted by PeterH View Post
    As well as those, also check out:

    Computer Config \ Admin Templates \ System \ Group Policy \ Startup policy processing wait time
    Thanks for the tip but for anyone else looking all over for this.. it's a Vista only GPO setting.. Not available to XP... which is what I'm using...

SHARE:
+ Post New Thread

Similar Threads

  1. Installing GoogleSketchup 6 via startup script
    By markwilliamson2001 in forum Windows
    Replies: 3
    Last Post: 4th March 2008, 07:26 PM
  2. Detecting/Disabling ICS in a Startup script
    By Geoff in forum Network and Classroom Management
    Replies: 5
    Last Post: 7th February 2008, 05:27 PM
  3. RM CC3 Startup Script
    By randle in forum Windows
    Replies: 4
    Last Post: 30th July 2007, 02:56 PM
  4. Startup script time-out gotcha aargh!!
    By NetworkGeezer in forum Windows
    Replies: 7
    Last Post: 1st June 2006, 05:13 PM
  5. Loading .reg files in a startup script
    By Ric_ in forum Windows
    Replies: 7
    Last Post: 27th September 2005, 04:23 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
  •