Question Locked

Create a custom Update CD

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need a cd (or two if that is what it takes) to upgrade windows xp from sp1 to sp2 along with all the service updates. This should be an auto install that does NOT turn on the fire wall and does NOT enable automatic updates. I need this CD by Monday.

4 replies

by grassiap

you're going to have a tough and busy week

Sp2 : on MS site get the redistributable version of service pack 2 (200 MB I think)
then from the securiy bulletin get the list and download each and every patch.
make sure you have the list in chronological order

make a script that will call then all in order in "unattended", "no reboot" mode (typically -u -z command switch)

dig the MS technet to get the proper local or group policy to turn off the firewall and put it at the end of the script
ditto for the updates (you may also use a regedit patch changing the startup key of the service to 4 meaning disabled)

as far as auto install goes, create an autorun.inf at the root of the CD that invokes the script

if you want it to do the job in a boot from CD session, you'll have some extra overtime this week.
make a bootable CD, if the target computers are NTFS formatted, use an MPE or BartPE CD (make sure you're ok with the licensing)
have it copy the SP2 patches and script in a relevant folder on the HDD, then update the runonce registry key to call the script (like start /min c:\myupdates\launch.bat).
make sure your script ends up invoking the shutdown.exe that you can download from sysinternal (now microsoft) in order to enact the changes.

I've not checked but there may be a point were you absolutely HAVE to reboot before proceeding to the next update, then you'll have to break your global script in as many script that will update the runonce key with the next script before rebooting.

then if I may I find it strange that you'll want to turn off the firewall, but I'm not to judge.

last month I had to catch up the sec patches after an SP2 install, it was something like 40 updates.

just curious does the charter include the update of the .net framework ?

HTH

Philippe

by grassiap

if you get this done smoothly, you'll be very grounded to ask your boss for a big extra.

if you get this granted, please be kind enough to mention the tech republic community.

This discussion is closed to new replies.