Jump to content

Windows Update - Post SP2 Updates - A Quickie Auto!


Chris
 Share

Recommended Posts

Note: This is more for novice users, but if you need help then just say so...

A break from my normal guides this will be a quickie guide to show you how to install post SP2 updates in one go...this is great for fresh installs and has the potential to make it easier with slipstreaming . This is also great for 56K users...:D

Get your updates...

This is easier said than done and updates offered via Windows Updates will vary slightly from installation to installation. First we need to find all the post SP2 updates, that is; all the Windows Updates released after Service Pack 2. We won't include Hot Fixes as that's a whole different ball game...

There are a few ways of finding what Windows Updates we'll need...

1) Search for Windows Updates @ Microsoft Download Center

However you'll find yourself getting bored and sleepy whilst doing this! So I wouldn't bother...

2) Review your update history @ Microsoft/Windows Update

Well you've already downloaded them and you have a history, so why do anything else?

3) Install Windows XP with Service Pack 2 and then take a note of all Windows Updates offered.

Well this is the way I did it, but each to his/her own! ...and helps a little more with another installation; use the same disc.

What your are after is the actual update file itself, so you'll have to download them...this can be time consuming but please read on...

Here is a list of the Windows Updates that were offered to me:

WindowsMedia-KB911564-x86-ENU.exe

WindowsMedia10-KB911565-v2-x86-ENU.exe

WindowsXP-KB873339-x86-ENU.exe

WindowsXP-KB885250-x86-ENU.exe

WindowsXP-KB885835-x86-ENU.exe

WindowsXP-KB885836-x86-ENU.exe

WindowsXP-KB886185-x86-enu.exe

WindowsXP-KB887472-x86-enu.exe

WindowsXP-KB887742-x86-ENU.exe

WindowsXP-KB888113-x86-ENU.exe

WindowsXP-KB888302-x86-ENU.exe

WindowsXP-KB890046-x86-ENU.exe

WindowsXP-KB890859-x86-ENU.exe

WindowsXP-KB893756-x86-ENU.exe

WindowsXP-KB894391-x86-ENU.exe

WindowsXP-KB896358-x86-ENU.exe

WindowsXP-KB896422-x86-ENU.exe

WindowsXP-KB896423-x86-ENU.exe

WindowsXP-KB896424-x86-ENU.exe

WindowsXP-KB896428-x86-ENU.exe

WindowsXP-KB898461-x86-ENU.exe

WindowsXP-KB899589-x86-ENU.exe

WindowsXP-KB899591-x86-ENU.exe

WindowsXP-KB900485-v2-x86-ENU.exe

WindowsXP-KB900725-x86-ENU.exe

WindowsXP-KB901017-x86-ENU.exe

WindowsXP-KB901214-x86-ENU.exe

WindowsXP-KB902400-x86-ENU.exe

WindowsXP-KB904706-v2-x86-ENU.exe

WindowsXP-KB905414-x86-ENU.exe

WindowsXP-KB905749-x86-ENU.exe

WindowsXP-KB908519-x86-ENU.exe

WindowsXP-KB908531-v2-x86-ENU.exe

WindowsXP-KB910437-x86-ENU.exe

WindowsXP-KB911562-x86-ENU.exe

WindowsXP-KB911567-x86-ENU.exe

WindowsXP-KB911927-x86-ENU.exe

WindowsXP-KB912812-x86-ENU.exe

WindowsXP-KB912919-x86-ENU.exe

WindowsXP-KB913446-x86-ENU.exe

WindowsXP-KB913580-x86-ENU.exe

WindowsXP-KB891781-x86-ENU.exe

WindowsInstaller-KB893803-v2-x86.exe

Now download these updates to a folder on your desktop so they are all in the same folder. We now need to output the files names of all files to a text file as this will make life easier later on.

To do this...

dir /b >C:\WU.txt

You should see a text file with all the file names like so...

Now we have the files we'll have to edit this text file so that we can automate the installation process....

This is easy as it's the same for all updates so you'll have to type the first part out but then can copy and paste for the next updates.

The first part is as follows...

start "" /wait

This basically says "Wait until I've finished before going onto the next one". This is important as you could potentially have 40 executable files all trying to install at the sametime.....this is not advisable!!

This is how it should look:

start "" /wait WindowsMedia-KB911564-x86-ENU.exe

The second bit is as follows...

/quiet  /norestart

/quiet - What this does it tell the update to install, but don't show me anything as it installs. That means you don't have to do anything for example clicking a Next button...

/norestart - This tells the update not to restart the computer...it's best to leave this in; no matter what!

When we put it all together this is what it looks like...

start "" /wait WindowsMedia-KB911564-x86-ENU.exe /quiet /norestart

You'll have to do this for each update...but as you already have the code just copy and paste for the rest, you should end up with something like...

echo Installing Updates...
start "" /wait WindowsMedia-KB911564-x86-ENU.exe /quiet /norestart
start "" /wait WindowsMedia10-KB911565-v2-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB873339-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB885250-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB885835-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB885836-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB886185-x86-enu.exe /quiet /norestart
start "" /wait WindowsXP-KB887472-x86-enu.exe /quiet /norestart
start "" /wait WindowsXP-KB887742-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB888113-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB888302-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB890046-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB890859-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB893756-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB894391-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB896358-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB896422-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB896423-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB896424-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB896428-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB898461-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB899587-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB899589-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB899591-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB900485-v2-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB900725-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB901017-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB901214-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB902400-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB904706-v2-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB905414-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB905749-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB908519-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB908531-v2-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB910437-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB911562-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB911567-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB911927-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB912812-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB912919-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB913446-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB913580-x86-ENU.exe /quiet /norestart
start "" /wait WindowsXP-KB891781-x86-ENU.exe /quiet /norestart
start "" /wait WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart
echo Updates Have installed...
pause
exit

Save this file as WU.bat

File, Save as..., WU.bat, Save.

[You should notice a new file appear]

The file name does not really matter but the file extension does, please make sure you add .bat after the file name. Also Place the WU.bat in the WU folder where all the updates are!

When you double click the WU.bat file the updates should install and you will see this:

Advanced...

You can if you wish make that batch file a little more interesting like so...

@echo off
echo.
ECHO @================ M E N U ==================@
ECHO = =
ECHO = 1. Install Windows Updates =
ECHO = =
ECHO = 2. Quit the menu! =
ECHO = =
ECHO @================ M E N U ==================@
SET CHOICE=
ECHO.
SET /P CHOICE=Enter the number of the action you would like to perform:
IF NOT '%CHOICE%'=='' SET CHOICE=%CHOICE:~0,4%
IF '%CHOICE%'=='1' GOTO 1
IF '%CHOICE%'=='2' GOTO 2
ECHO.
ECHO "%CHOICE%" is not a valid action...
ECHO.
GOTO START


rem ***Install the updates bit***

:1
echo Please confirm you want to install the updates...
echo.
pause
echo.
echo.
echo Please Wait...This may take some time !
echo.
echo Started @ %TIME%
echo.
start "" /wait WindowsMedia-KB911564-x86-ENU.exe /passive /norestart
start "" /wait WindowsMedia10-KB911565-v2-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB873339-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB885250-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB885835-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB885836-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB886185-x86-enu.exe /passive /norestart
start "" /wait WindowsXP-KB887472-x86-enu.exe /passive /norestart
start "" /wait WindowsXP-KB887742-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB888113-x86-ENU.exe /passive /norestart
echo Installed 10 Updates...!
start "" /wait WindowsXP-KB888302-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB890046-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB890859-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB893756-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB894391-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB896358-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB896422-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB896423-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB896424-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB896428-x86-ENU.exe /passive /norestart
echo Installed 20 Updates...!
start "" /wait WindowsXP-KB898461-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB899587-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB899589-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB899591-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB900485-v2-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB900725-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB901017-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB901214-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB902400-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB904706-v2-x86-ENU.exe /passive /norestart
echo Installed 30 Updates...!
start "" /wait WindowsXP-KB905414-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB905749-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB908519-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB908531-v2-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB910437-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB911562-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB911567-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB911927-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB912812-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB912919-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB913446-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB913580-x86-ENU.exe /passive /norestart
start "" /wait WindowsXP-KB891781-x86-ENU.exe /passive /norestart
start "" /wait WindowsInstaller-KB893803-v2-x86.exe /passive /norestart
echo Installed 44 Updates...!
echo.
echo Finished @ %TIME%
echo.
echo Installation has completed, the system will now be restarted...
echo.
pause
echo.
echo Restarting in 60 seconds...
shutdown -r -t 60 -c "Start, Run, Type: 'shutdown -a' to abort restart"
echo.
pause
exit


rem ***EXIT MENU***

:2
EXIT

/passive - This will still automate the installation but on each Windows Update install you'll see a few windows appear, it's just a more visual way of seeing what is happening.

This is what you will end up seeing:

Link to comment
Share on other sites

This will slipstream the updates into an XP installation.

You would have to copy the contents of your XP CD to you deskop. I shoved everything in a folder named WUSP2CD

This is the bit that tells the update to integrate to my XP files:

/integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"

and the whole thng will look like:

@echo off
echo.
echo Started @ %TIME%
echo.
start "" /wait WindowsMedia-KB911564-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsMedia10-KB911565-v2-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB873339-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB885250-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB885835-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB885836-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB886185-x86-enu.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB887472-x86-enu.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB887742-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB888113-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
echo Slipstreamed 10 Updates...!
start "" /wait WindowsXP-KB888302-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB890046-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB890859-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB893756-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB894391-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB896358-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB896422-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB896423-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB896424-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB896428-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
echo Slipstreamed 20 Updates...!
start "" /wait WindowsXP-KB898461-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB899587-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB899589-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB899591-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB900485-v2-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB900725-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB901017-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB901214-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB902400-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB904706-v2-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
echo Slipstreamed 30 Updates...!
start "" /wait WindowsXP-KB905414-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB905749-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB908519-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB908531-v2-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB910437-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB911562-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB911567-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB911927-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB912812-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB912919-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB913446-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB913580-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsXP-KB891781-x86-ENU.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
start "" /wait WindowsInstaller-KB893803-v2-x86.exe /passive /integrate:"C:\Documents and Settings\Chris\Desktop\WUSP2CD\"
echo Slipstreamed 44 Updates...!
echo.
echo Finished @ %TIME%
pause
exit

easy eh?

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy