+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
Windows Thread, Script to force install all Windows Update/WSUS in Technical; Does anyone have a copy of the windows updates script WITH the looping code? I too am looking for a ...
  1. #16

    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Does anyone have a copy of the windows updates script WITH the looping code? I too am looking for a way to automate the update-reboot-update again sequence.

    please post to this thread if you have the code.

    many thanks

  2. #17

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    Quote Originally Posted by pacifico View Post
    Hi,

    I'm looking for a script to do exactly what you have described here!

    Is there any chance you got it to work with SP3 updates?
    I don't do any new installs of XP anymore, but this is what I wrote/used. You can just update this as required.

    .NET Framework Script:
    Code:
    @echo off
    setlocal
    set PATHTOFIXES=C:\logistixonline.com\NET_Framework
    TITLE Installing Microsoft .NET Framework 1.1, 2.0, 3.0, 3.5 + 4.0...
    echo.
    echo Installing .NET Framework 1.1 SP1...
    start /wait dotnetfx1.exe /q:a /c:"install.exe /q"
    echo.
    echo Installing .NET Framework 1.1 SP1 Update 1...
    start /wait NDP1.1sp1-KB867460-X86.exe /q /i
    echo.
    echo Installing .NET Framework 1.1 SP1 Update 2...
    start /wait NDP1.1sp1-KB2416447-X86.exe /q /norestart
    echo.
    echo Installing .NET Framework 2.0 SP2...
    start /wait dotnetfx2.exe /q:a /c:"install.exe /q"
    echo.
    echo Installing .NET Framework 3.0 SP2...
    start /wait dotnetfx3.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.5 SP1...
    start /wait dotnetfx35.exe /q /norestart
    echo.
    echo Installing .NET Framework 2.0 SP2 Update 1...
    %PATHTOFIXES%\NDP20SP2-KB979909-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 2.0 SP2 Update 2...
    %PATHTOFIXES%\NDP20SP2-KB2418241-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 2.0 SP2 Update 3...
    %PATHTOFIXES%\NDP20SP2-KB2446704-v2-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 2.0 SP2 Update 4...
    %PATHTOFIXES%\NDP20SP2-KB958481-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.0 SP2 Update 1...
    %PATHTOFIXES%\NDP30SP2-KB977354-v2-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.0 SP2 Update 2...
    %PATHTOFIXES%\NDP30SP2-KB982168-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.0 SP2 Update 3...
    %PATHTOFIXES%\NDP30SP2-KB958483-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.5 SP1 Update 1...
    %PATHTOFIXES%\NDP35SP1-KB958484-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.5 SP1 Update 2...
    %PATHTOFIXES%\NDP35SP1-KB963707-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 3.5 SP1 Update 3...
    %PATHTOFIXES%\NDP35SP1-KB2416473-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 4.0...
    start /wait dotnetfx4.exe /q /norestart
    echo.
    echo Installing .NET Framework 4.0 Update 1...
    %PATHTOFIXES%\NDP40-KB2416472-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 4.0 Update 2...
    %PATHTOFIXES%\NDP40-KB2518870-x86.exe /q /norestart
    echo.
    echo Installing .NET Framework 4.0 Update 3...
    %PATHTOFIXES%\NDP40-KB2478663-x86.exe /q /norestart
    echo.
    PAUSE
    EXIT

  3. #18

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    Windows XP SP3 Script:
    Code:
    @echo off
    setlocal
    TITLE Windows XP SP3 Post Hotfixes - logistixonline.com
    set PATHTOFIXES=C:\logistixonline.com\XPSP3
    TITLE Installing Microsoft Windows Internet Explorer 8
    echo.
    echo Installing IE8-WindowsXP-x86-ENU.exe...
    %PATHTOFIXES%\IE8-WindowsXP-x86-ENU.exe /quiet /passive /norestart
    echo.
    TITLE Installing Windows Media Player 11
    echo.
    echo Installing Windows Media Player 11 Part 1...
    %PATHTOFIXES%\wmfdist11.exe /quiet /passive /norestart
    echo.
    echo Installing Windows Media Player 11 Part 2... 
    %PATHTOFIXES%\wmp11.exe /quiet /passive /norestart
    echo.
    echo Installing WindowsXP-KB941569-x86-ENU.EXE... 
    %PATHTOFIXES%\WindowsXP-KB941569-x86-ENU.EXE /quiet /passive
    echo.
    TITLE Installing Adobe Flash 10.3.181.34
    echo.
    echo Installing Adobe Flash 10.3.181.34...
    %PATHTOFIXES%\Flash-Flash-10.3.181.34.msi /quiet /norestart
    echo.
    echo Installing Adobe Flash 10.3.181.34 FF...
    %PATHTOFIXES%\Flash-10.3.181.34-FF.msi /quiet /norestart
    echo.
    TITLE Installing Windows XP SP3 Post Hotfixes 
    echo.
    echo Installing WindowsXP-KB898461-x86-ENU.exe... 1 of 173
    %PATHTOFIXES%\WindowsXP-KB898461-x86-ENU.exe /quiet /norestart
    echo.
    echo Installing WindowsXP-KB950760-x86-ENU.exe... 
    %PATHTOFIXES%\WindowsXP-KB950760-x86-ENU.exe /quiet /norestart
    echo.
    echo Installing WindowsXP-KB950762-x86-ENU.exe...
    %PATHTOFIXES%\WindowsXP-KB950762-x86-ENU.exe /quiet /norestart
    echo.
    PAUSE
    EXIT
    I can't upload the whole lot as it's too long I'm afraid, but you get the idea. Download Windows Updates, save them in a folder and update the script as required.

  4. #19

    Join Date
    Sep 2013
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thumbs up

    There's at least one tool out there that handles the problem of installing Windows Updates remotely, including update + reboot cycle options, which enable you to do an automated loop of the installation and reboot process as many times as you want. The evaluation version is free and fully functional, though it limits the number of hosts you can do simultaneously.

    Check it out: BatchPatch
    Last edited by d-edugeek; 12th September 2013 at 05:47 PM.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 13
    Last Post: 8th November 2007, 02:53 PM
  2. Replies: 4
    Last Post: 12th July 2007, 08:11 PM
  3. Replies: 11
    Last Post: 20th October 2006, 04:14 PM
  4. Replies: 5
    Last Post: 16th October 2006, 10:02 PM
  5. Force Teachers to update laptops
    By eejit in forum Windows
    Replies: 18
    Last Post: 13th July 2006, 06:03 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
  •