Jump to content




anyweb

Adding a hotfix to the Setup Windows and Configmgr step in a task sequence



Recommended Posts

Step 1. Download the correct Hotfix

 

In this example we'll be applying the following hotfix, KB2509007 (Task sequence that installs many updates stops responding on a System) and as always we need to get the hotfix from Microsoft here.

 

Note: In your scenario you may be applying another hotfix, if so change the references of the patch accordingly.

 

The following files are available, make sure to select the right one for your environment.

 


     
  • SCCM 2007 SMS International Client Pack 2 x86 sp2 SCCM_2007_SP2_KB2509007_ICP2 4.0 4.0.6487.2188 1080369 5/12/2011 9:51:31 PM
  • SCCM 2007 SMS International Client Pack 1 x86 sp2 SCCM_2007_SP2_KB2509007_ICP1 4.0 4.0.6487.2188 1080374 5/12/2011 9:51:31 PM
  • SCCM 2007 Japanese x86 sp2 SCCM_2007_SP2_KB2509007_JPN 4.0 4.0.6487.2188 1084482 5/12/2011 9:51:31 PM
  • SCCM 2007 Russian x86 sp2 SCCM_2007_SP2_KB2509007_RUS 4.0 4.0.6487.2188 1082185 5/12/2011 9:51:32 PM
  • SCCM 2007 Korean x86 sp2 SCCM_2007_SP2_KB2509007_KOR 4.0 4.0.6487.2188 1080301 5/12/2011 9:51:32 PM
  • SCCM 2007 Chinese (Traditional) x86 sp2 SCCM_2007_SP2_KB2509007_CHT 4.0 4.0.6487.2188 1080334 5/12/2011 9:51:30 PM
  • SCCM 2007 Chinese (Simplified) x86 sp2 SCCM_2007_SP2_KB2509007_CHS 4.0 4.0.6487.2188 1080790 5/12/2011 9:51:30 PM
  • SCCM 2007 German x86 sp2 SCCM_2007_SP2_KB2509007_DEU 4.0 4.0.6487.2188 1086683 5/12/2011 9:51:30 PM
  • SCCM 2007 French x86 sp2 SCCM_2007_SP2_KB2509007_FRA 4.0 4.0.6487.2188 1084152 5/12/2011 9:51:30 PM
  • SCCM 2007 English x86 sp2 SCCM_2007_SP2_KB2509007_ENU

 

 

Uncompress the downloaded EXE file and place the SCCM2007-SP2-KB2509007-ENU.msi on your desktop. Copy the file to your SCCM site server.

 

Step 2. Install the hotfix on the Site Server

 

Close the Configuration Manager Console if it is open. Start an administrative command prompt by right clicking on it and choose Run as Administrator. Browse to where the file is copied and type the following

 

msiexec /i SCCM2007-SP2-KB2509007-ENU.msi /l*KB2509007.log

 

administrator command prompt.png

 

click next when prompted by the hotfix wizard

 

hotfix wizard.png

 

accept the license aggreement

 

accept.png

 

click Install to begin installing the hotfix, after a few seconds it will appear to stall, move the wizard window to reveal a window behind asking about creating a package, focus that window, verify yes is selected and click Next

 

yes i want to create.png

 

accept the default names for package/program

 

package.png

 

next we need to verify that the package source listed is correct, if you created a default package from definition as per these instructions then it'll be correct

 

package source.png

 

next you'll get a chance to read the Applying Hotfixes to Configmgr clients readme

 

and finally the wizard is complete. Click Finish.

 

finish.png

 

Verify that the hotfix installed by reviewing the logfile

 

 

 

Step 3. Update your Configmgr Client Package to the DP's

 

Locate your ConfigMgr Client Package and expand it, choose Distribution points and right click, choose Update Distribution Points

 

client package.png

 

answer yes when prompted to copy the new hotfix files to your package on your distribution points.

 

 

Step 4. Add the patch command to your Setup Windows and Configmgr step

 

Open a previously made task sequence and locate the Setup Windows and Configmgr step, look at the Installation Properties, if you havnt added any patches (or other commands) previously it will appear blank

 

setup windows and configmgr step.png

 

paste in the following:

 

PATCH="%_SMSTSMDataPath%\OSD\WNB0004C\i386\hotfix\KB2509007\sccm2007ac-sp2-kb2509007-x86-enu.msp"

 

 

note that the package ID (in green) is the package ID of your Configmgr Client package

 

patch statement.png

 

Apply the changes

 

Step 5. Test the Changes by deploying an OS

 

do a test deploy of your task sequence, once the task sequence is complete, your Configuration Manager client properties should look like this

 

configuration manager properties.png

 

and on the Components tab the ConfigMgr Software Updates Agent should look as follows

 

components configmgr software updates agent.png

 

Step 6. What about multiple Patches ?

 

If you are deploying multiple patches during OSD (and you probably will be...) then separate them with a semicolon ; like so

 

PATCH="%_SMSTSMDataPath%\OSD\WNB0004C\i386\hotfix\KB977203\sccm2007ac-sp2-kb977203-x86.msp";"%_SMSTSMDataPath%\OSD\WNB0004C\i386\hotfix\KB2509007\sccm2007ac-sp2-kb2509007-x86-enu.msp"

 

multiple patches.png

 

it appears that the order you place the patches is important, start with oldest first

Share this post


Link to post
Share on other sites


Hi Nial,

followed your guide adding the patch preperties in an SCCM B&C TS. when it gets to installing the configmgr client the TS falls over & it sits at a windows 7 login screen.

Share this post


Link to post
Share on other sites

what does ccmsetup.log say about that ?

Share this post


Link to post
Share on other sites

Hello anyweb.

Is this a supported solution for patching up the SCCM client with hotfixes during OSD?

 

I tried this with the hotfix above and it worked great for a OS deployment on a "new computer" (a computer that does not have the sccm client), but when i redeploy this computer it hangs on the Windows update step at 0%, and when i force a reboot i see the following error in the sccm console:

MP has rejected a message from client GUID:B73F2B74-4921-42E9-83D1-DC71150CC480 because it was signed with a public key that does not match the key published in the database.

 

If i redeploy the client once more without the patch= option the computer deploys as it should.

 

The workaround now is to delete the computer in the SCCM console, and import it again as a new computer, then there are no errors.

Share this post


Link to post
Share on other sites

also after the redeployment with the patch option, the computer is not set to Obsolete=yes in the sccm console.

Share this post


Link to post
Share on other sites

Hi anyweb, I also have to deploy kb977384 & kb978754.

 

Do I have to deploy all 3 in one shot (with TS) kb2509007, kb977384, kb978754 through SCCM client install (PATCH), through deployment or trough both?

 

I think I need to do both. One to install on existing SCCM clients (classic app deployment) and the other one with PATCH options for newly installed machines.

 

Am I right?

Share this post


Link to post
Share on other sites

Having an issues with the build and capture on the windows updates installing, it sits and then bombs out. I need to include SMSSLP and the PATCH command together. Would this be the correct input for the "Installation Properties"?

 

SMSSLP=server.domain.com;PATCH="%_SMSTSMDataPath%\OSD\MC200004\i386\hotfix\KB2509007\sccm2007ac-sp2-kb2509007-x86-enu.msp"

Share this post


Link to post
Share on other sites

That's cool for newly installed machines but for machines that are used, how can we send this to them?

Share this post


Link to post
Share on other sites

Dear Nail,

 

I applied patch KB2509007 to my client and checked the version (4.0.6487.2188) as you highlighted in the article but still updates are stuck at 0% during the TS? Maybe I'm missing something?!!

 

Thanks

 

Kevin

Share this post


Link to post
Share on other sites

I did this a little differently as the command line did not work for me. I created a cmd line in the task sequence. Remember to change RTP00819 to whatever the package id is. I'm sure there is an easier way but I have been working on this thing for a while and needed to put it to bed.

 

the command line was xcopy /s /e /i \RTP00819 C:\Drivers\RTP00819\

 

I checked Package and selected the KB2509007 - Advanced client hotfix. I do not think it matters what package you select to be honest.

 

My Setup Windows and ConfigMgr task looks as follows

 

SMSCACHESIZE=8000 SMSSLP=yoursccmserver.company.com SMSMP=yoursccmserver.company.com FSP=yoursccmserver.company.com PATCH="C:\Drivers\RTP00819\sccm2007ac-sp2-kb2509007-x86-icp2.msp"

 

hope this helps.

Share this post


Link to post
Share on other sites

Dear Nail,

 

I applied patch KB2509007 to my client and checked the version (4.0.6487.2188) as you highlighted in the article but still updates are stuck at 0% during the TS? Maybe I'm missing something?!!

 

Thanks

 

Kevin

 

kdebono - Please check which hotfix you are installing first, the order does matter.

Share this post


Link to post
Share on other sites

Another note is that with hotfix R3 MS tells you not to use the variable anymore. Use C:\_SmsTaskSequence instead. My environment CMD looks like this.

 

SMSMP=mydp.corp; PATCH="C:\_SMSTaskSequence\OSD\<package ID>\i386\hotfix\KB2509007\SCCM2007AC-SP2-KB2509007-x86-enu.msp";"C:\_SMSTaskSequence\OSD\<package ID>\i386\hotfix\KB977384\SCCM2007AC-SP2-KB977384-x86-enu.msp"

 

http://support.microsoft.com/kb/977384

 

the info is at the bottom.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×