+ Post New Thread
Results 1 to 9 of 9
How do you do....it? Thread, Run once in Technical; I need to run a particular piece of software on all the machines in the school. how do i set ...
  1. #1
    Admiral208's Avatar
    Join Date
    Mar 2008
    Location
    Bridgwater
    Posts
    719
    Thank Post
    176
    Thanked 63 Times in 55 Posts
    Rep Power
    39

    Run once

    I need to run a particular piece of software on all the machines in the school. how do i set it up to run once on every machine when a user logs on, and then never again??

    thanks

    James

  2. #2
    StewartKnight's Avatar
    Join Date
    Jun 2005
    Posts
    1,587
    Thank Post
    2
    Thanked 27 Times in 21 Posts
    Rep Power
    30
    running a script on the machine could do it, deployed by AD or added to the start menu locally.

  3. #3
    Admiral208's Avatar
    Join Date
    Mar 2008
    Location
    Bridgwater
    Posts
    719
    Thank Post
    176
    Thanked 63 Times in 55 Posts
    Rep Power
    39
    ok, thanks. its not a program, its an .exe file full of updates, IE7, the most recent .NET framework etc. so i cant use the start menu option. i have never used or written a script before, can anyone recommend where i can find a template to do this? or where do i need to look in AD?

  4. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    You should have said, and I'd have told you to use Windows Server Update Services (WSUS) Home

  5. #5
    Admiral208's Avatar
    Join Date
    Mar 2008
    Location
    Bridgwater
    Posts
    719
    Thank Post
    176
    Thanked 63 Times in 55 Posts
    Rep Power
    39
    thanks powdarrmonkey, that would do the job but its not just microsoft updates, there are a few updates for programs that the local council provide as well. I got given it on a cd, copied the whole thing to a folder on the shared drive and need to run the 'runme.exe' file when a user logs on.

  6. #6

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    I agree in a domain environment, WSUS would be more appropriate. However, if you're referring to the update pack I created I recommend you follow this method:

    Open the .exe using an application like WinRAR and extract to a share \\servername\UPDATES

    Locate a file called Install Hotfixes.bat and create a shortcut. Copy this shortcut to wherever you need it and run it (either using a script or manually).

    Please note this will create a lot of traffic, so perform the update during lunch time or at the end of the day otherwise it will cause disruption to users and the network itself.

  7. #7

    Join Date
    Dec 2007
    Posts
    83
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Write a Batch file and put it in the startup scripts in a active group policy.

    Echo off
    REM Checks to see if the file exists on local machine before loading exe
    IF EXIST "C:\Program files\Example\runme.exe" GOTO END

    REM Full UNC Path of where to launch the software from.
    CALL \\serverwhere\software\is\loaded\runme.exe

    :END

    Good place to put it is in the startup scripts, although need to ensure that it doesn't take more than 10 minutes to install else it could time out as IIRC the defualt max time for a startup script is 10 min.

    Other options would be to use PSEXEC of insert an MSI into a group policy or use WSUS.

  8. #8
    GlennT's Avatar
    Join Date
    Sep 2006
    Location
    Zummmerzet!
    Posts
    249
    Thank Post
    19
    Thanked 17 Times in 16 Posts
    Rep Power
    19
    Hi James,
    Is this the SWO/SCC Summer Updates CD?
    If so, you don't need to use the RunMe. [It forces a reboot between each install and is a total pain in the arse!]
    As each app has it's own folder, you can just create a quick script to point to the installers and use the command line switches i.e.

    ::================= SummerUpdates.bat ================
    ::
    :: Save this as SummerUpdates.bat
    ::
    ::================================================ =
    @echo off
    P:\SummerUpdates\WindowsXP-KB936929-SP3-x86-ENU /quiet /norestart

    Sorry, can't remember all the apps so not sure of switches etc but you should be able to google it.
    Does that help?
    Cheers,
    Glenn.

  9. Thanks to GlennT from:

    Admiral208 (16th September 2008)

  10. #9
    Admiral208's Avatar
    Join Date
    Mar 2008
    Location
    Bridgwater
    Posts
    719
    Thank Post
    176
    Thanked 63 Times in 55 Posts
    Rep Power
    39
    you got it glenn, restarting between everyone is very annoying.

    ill give it a try

    cheers

SHARE:
+ Post New Thread

Similar Threads

  1. Maybe their AV will run better now
    By mattx in forum General Chat
    Replies: 1
    Last Post: 8th September 2008, 03:39 PM
  2. Would this run well?
    By binky in forum Windows Server 2008
    Replies: 8
    Last Post: 4th July 2008, 12:06 AM
  3. Replies: 0
    Last Post: 27th September 2007, 08:11 PM
  4. IE7 run once
    By davyboi in forum General Chat
    Replies: 3
    Last Post: 28th March 2007, 02:51 PM
  5. What software do you run?
    By Ste_Harve in forum Educational Software
    Replies: 10
    Last Post: 16th May 2006, 07:24 AM

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
  •