Welcome to MSDN Blogs Sign in | Join | Help

Adding security patches to a new Windows XP installation

It's common knowledge that you can integrate a service pack with the installation bits of Windows (a technique called splistreaming). However, the security update that prevents the Blaster worm is post SP1. Recently I've been asked to figure out a way to prevent 10.000 new XP workstations of infection. We were installing Windows XP SP1 in a network where the Blaster worm was running loose. Because the installation was made through the network using unnatended setup, we wanted to avoid all these machines to get infected during the installation itself.

Well this didn't seem like an easy problem to solve. Tests were being made at the customer and the results were overwhelming. All workstations installed through this process were getting infected.

The first thing that we tried was enabling ICF during the unnatended install. You can accomplish this by specifying the following keys in the unnatended.txt file:

[Homenet]

InternetConnectionFirewall=Adapter1, [adapter2]

where Adapter1, adapter2 are known references inserted in the [NetAdapters] section of the same file. Please look at ref.chm in the deploy.cab package included in the Windows XP CD.

However, this approach did not work. ICF only gets enabled in the final boot so we would still get some infected machines. I assume they were getting infected soon after the network settings configuration.

So, I started to worry and began working on a script to run on the first logon that would clean the workstation from the Blaster worm. However this approach was not the best either.

Fortunately, I found out that in XP (and 2003) it is possible to integrate hotfixes during an unattended setup. This is documented in a KB article but I found out that it wasn't really common knowledge. Here you can find a link to the section of the article that covers this procedure:

http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/hfdeploy.asp#the_combination_installation_gxsi

Oh, and in case you're wondering...we tried it and it worked ;)

Published Friday, March 12, 2004 10:33 AM by nunos
Filed under:

Comments

Friday, March 12, 2004 3:03 PM by Scott

# re: Adding security patches to a new Windows XP installation

Had you looked into doing a SYSPREP image with the patches incorporated? SYSPREP under XP is more flexible than before with one image being able to support multiple hardware platforms.

Scott
Friday, March 12, 2004 6:13 PM by nunos

# re: Adding security patches to a new Windows XP installation

Thanks. I'm familiar with the sysprep process. However, this specific customer uses (for historic reasons) an unnatended setup process that they didn't want to change. We knew the alternatives, we just wanted to provide a good way to sustain the current process while solving the security issues.
Tuesday, June 01, 2004 10:23 AM by Mahavir Jain

# re: Adding security patches to a new Windows XP installation

Is there any way where we can schedule the download and installation of the security patches as and when they are released, they should ofcourse backup the earlier files, just incase of a mess

# nunos s Blog Adding security patches to a new Windows XP installation | debt consolidator

Anonymous comments are disabled
 
Page view tracker