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
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

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

Windows XP SP3 Script:
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.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
There are currently 1 users browsing this thread. (0 members and 1 guests)