Jump to content


  • 0
Tobie

Deploy Service Pack with SCCM 2007

Question

Deploy Service Pack with SCCM 2007

 

You can distribute a Service Pack in several ways and I will show you how to do it with a installation program in SCCM. In this guide I'm deploying Windows Vista Service Pack 2 Beta to Windows Vista machines to show you one of the ways to do it. You can distribute the same Service Pack to Windows Server 2008 operating systems as well. It's not recomended to distribute this Service Pack to clients in your corporate enterprise since it's still in the beta stage, this is just for testing purpose.

 

Start the download of Windows Vista SP2 Beta while you continue to follow this guide.

http://www.microsoft.com/downloads/details...;displaylang=en

 

Create Collection

 

Expand Site Database, Computer Management, Collections, right click and choose New, Collection.

post-2397-1234093670_thumb.jpg

 

Name your Collection to a suitable name, e.g. Deploy Windows Vista Service Pack 2 Beta Eng. Press Next.

post-2397-1234094053_thumb.jpg

 

Press Next in the Membership Rules section.We do not need to create a query on this Collection because it's for test/demonstration only!. When everything is ready we will do a "Direct Membership" and we'll get back to that later in this guide.

 

Press OK.

post-2397-1234094384_thumb.jpg

 

Press Next in the Advertisement section.

 

Press Finish to create the Collection.

 

Result:

post-2397-1234094881_thumb.jpg

 

 

 

Create a Package

 

Expand Site Database, Computer Management, Software Disitribution, Packages, right click and choose New, Package.

post-2397-1234095045_thumb.jpg

 

Give the package a name, e.g. Microsoft Vista Service Pack 2 Beta Eng, press Next.

post-2397-1234099228_thumb.jpg

 

Point out the Source Directory (the folder where your Service Pack installation file is placed) and verify that Always obtain files from source directory is checked.

post-2397-1234099970_thumb.jpg

 

Press Next in the Data Access section.

 

Press Next in the Distribution Settings section.

 

Press Next in the Reporting section.

 

Press Next in the Security section.

 

Reiview the summary and press Next.

post-2397-1234100747_thumb.jpg

 

Reiview the confirmation window and press Close.

post-2397-1234100889_thumb.jpg

 

 

 

Create Distribution Point(s).

 

Expand your newly created package and right click on Distribution Point, New Distribution Point.

post-2397-1234101407_thumb.jpg

 

Press Next in the Welcome window.

 

Select your distributions point(s) and press Next.

post-2397-1234101826_thumb.jpg

 

Review confirmation and press Close.

post-2397-1234101980_thumb.jpg

 

Use report ID 136 the verify that the package has been installed on your distribution point(s).

http://<SERVER_NAME>/SMSReporting_<SITE_CODE>/Report.asp?ReportID=136

 

 

 

Create a Program

 

Expand your newly created package and right click on Programs, New Program.

post-2397-1234102356_thumb.jpg

 

Name your program to Install and enter your command line, press Next.

post-2397-1234102576_thumb.jpg

´

Command Line:

Windows6.0-KB948465-X86.exe /quiet /nodialog /forcerestart

/quiet = silent install

/nodialog = No windows is shown on the computer where the Service Pack is installed to

/forcerestart = As it sounds, force a restart if it's required.

 

I have choosen to use this values since a Service Pack is always important to install on clients since it contains all the latest updates and fixes and we want to install it ASAP.

 

Enter requirements, press Next.

post-2397-1234103025_thumb.jpg

 

Choose that this program can run when Whether or not a user is logged on, press Next.

post-2397-1234103134_thumb.jpg

 

Press Next in the Advanced section.

 

Press Next in the Windows Installer section.

 

Press Next in the MOM Mentenance section.

 

Review the summary and press Next.

 

Revied the confirmation and press Close.

 

 

 

Create a Advertisement

 

Expand Site Database, Computer Management, Software Disitribution, Advertisements, right click and choose New, Advertisement.

post-2397-1234103966_thumb.jpg

 

Give your advertisement a name (e.g. Windows Vista Service Pack 2 Beta Eng) and uncheck Include members of subcollections, press on Browse (Package).

post-2397-1234104738_thumb.jpg

 

Select your package and press OK.

post-2397-1234104914_thumb.jpg

 

Press on Browse (Collection).

post-2397-1234105048_thumb.jpg

 

Choose your Collection and Press OK.

post-2397-1234105200_thumb.jpg

 

Press Next.

post-2397-1234105341_thumb.jpg

 

Create a mandatory assigment by pressing the icon in the red circle.

post-2397-1234105566_thumb.jpg

 

Choose As soon as possible and press OK.

post-2397-1234105682_thumb.jpg

 

Press Next.

post-2397-1234105767_thumb.jpg

 

Choose to Download content from distribution point and run locally and press Next.

post-2397-1234105906_thumb.jpg

 

Press Next in the Interaction section.

 

Press Next in the Security section.

 

Review the summary and press Next.

 

Press Close.

 

 

 

Deploy Service Pack

 

Go to collection Deploy Windows Vista Service Pack 2 Beta Eng and right click and choose Properties, click on Membership Rules tab.

 

Click on Direct Membership icon.

post-2397-1234106477_thumb.jpg

 

Press Next on the welcome screen.

 

Use the below resources to make a membership to your collection.

Resource class: System Resource

Attribute name: Netbios Name

 

Enter your computername in the Value field, press Next.

post-2397-1234106834_thumb.jpg

 

Press Next in the Collection Limiting section.

 

Select the computer that you want to distribute your service pack to, press Next.

post-2397-1234107648_thumb.jpg

 

Verify that correct resource was selected and press Finish.

post-2397-1234107753_thumb.jpg

 

Verify that your resource is listed, press OK.

post-2397-1234107882_thumb.jpg

 

Select your collection and hit F5 to refresh your collection. Verify that your computer is shown in the collection. The deployment of your service pack will begin shortly.

post-2397-1234108195_thumb.jpg

 

Open SMS Report ID 126 to fallow the deployment (detail level: LOW)

http://<SERVER_NAME>/SMSReporting_<SITE_CODE>/Report.asp?ReportID=126&ComputerName=<COMPUTERNAME>

 

If you want to be shure that the installation has started on your computer, open the task manager on your Vista machine and look for process spinstall.exe

post-2397-1234108958_thumb.jpg

 

The package has not been advertised to the client yet.

post-2397-1234109124_thumb.jpg

 

The computer is downlading the package (service pack) to the local cache folder (C:\Windows\System32\CCM\Cache) before the installation will start since we choosen this erlier when we created the advertisement.

post-2397-1234109215_thumb.jpg

 

The installation is running.

post-2397-1234109260_thumb.jpg

 

The installation has finished.

post-2397-1234109293_thumb.jpg

 

 

 

Verify the installation

 

To be 150% shure that your service pack has been installed, do like this... On your Vista comuter, press Start, Run.

Type winver, press Enter.

post-2397-1234109718_thumb.jpg

 

Good luck...

post-2397-1234094305_thumb.jpg

post-2397-1234094551_thumb.jpg

post-2397-1234094709_thumb.jpg

post-2397-1234100198_thumb.jpg

post-2397-1234100310_thumb.jpg

post-2397-1234100565_thumb.jpg

post-2397-1234100659_thumb.jpg

post-2397-1234103180_thumb.jpg

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

hi, i have a task to deploy Vista Service PackI&II to my vista clients. i have created the package for it as usual like i do for other software deployments & i become unsuccessful. when I found your post i took the long breath & feel happy but got the same in result after step by step.

 

my vista clients receives the advertisement & in task manager i can see the spintall & KB936330 is running & a folder is also created in C: but all the processes stuck at some point and after 3Hrs it fails with the error run time exceeded.

 

Kindly help

Share this post


Link to post
Share on other sites

  • 0

hi, i have a task to deploy Vista Service PackI&II to my vista clients. i have created the package for it as usual like i do for other software deployments & i become unsuccessful. when I found your post i took the long breath & feel happy but got the same in result after step by step.

 

my vista clients receives the advertisement & in task manager i can see the spintall & KB936330 is running & a folder is also created in C: but all the processes stuck at some point and after 3Hrs it fails with the error run time exceeded.

 

Kindly help

 

That it fails after 3hours is proberbly because you have spesified a maximum runtime of 180minutes in your program.

If you look in the eventlog on one of the computers you are trying to deply the update to, do you see any posts that could help you understand why it fails? Does your computer perform any restart? SP updates needs atleast 1 restart.

 

how does your commandline look for your update?

Share this post


Link to post
Share on other sites

  • 0

That it fails after 3hours is proberbly because you have spesified a maximum runtime of 180minutes in your program.

If you look in the eventlog on one of the computers you are trying to deply the update to, do you see any posts that could help you understand why it fails? Does your computer perform any restart? SP updates needs atleast 1 restart.

 

how does your commandline look for your update?

 

 

Thanks for your reply. i have set the run time 180 mins which i think is enough for SP installation. Nothing happens with my computer. Actually my computer receives the advertisement & it also initiate the installation process but it stops at some point & fails when run time completes. i dont understand where it stops & why. im trying to find out the relevant helpful post on net. I use the command line xxxxxxxxxxxxxxx.exe /q /nodialog /forcerestart. my client log is below

 

Raising event:

[sMS_CodePage(437), SMS_LocaleID(1033)]

instance of SoftDistProgramStartedEvent

{

AdvertisementId = "ITG200AA";

ClientID = "GUID:4B646249-3918-4587-AD25-04A032B6A4BC";

CommandLine = "\"C:\\Windows\\system32\\CCM\\Cache\\ITG00046.1.System\\Windows6.0-KB936330-X86-wave0.exe\" /q /nodialog /forcerestart";

DateTime = "20090820054750.752000+000";

MachineName = "VISTA-SCCM";

PackageName = "ITG00046";

ProcessID = 2464;

ProgramName = "Vista SP2";

SiteCode = "ITG";

ThreadID = 2520;

UserContext = "NT AUTHORITY\\SYSTEM";

WorkingDirectory = "C:\\Windows\\system32\\CCM\\Cache\\ITG00046.1.System\\";

};

execmgr 8/20/2009 10:47:50 AM 2520 (0x09D8)

Raised Program Started Event for Ad:ITG200AA, Package:ITG00046, Program: Vista SP2 execmgr 8/20/2009 10:47:50 AM 2520 (0x09D8)

Program exit code 259 execmgr 8/20/2009 12:47:51 PM 3972 (0x0F84)

Looking for MIF file to get program status execmgr 8/20/2009 12:47:51 PM 3972 (0x0F84)

Program ran past its maximum runtime. It will be orphaned execmgr 8/20/2009 12:47:51 PM 3972 (0x0F84)

Raising event:

[sMS_CodePage(437), SMS_LocaleID(1033)]

instance of SoftDistProgramExceededTimeMom

{

AdvertisementId = "ITG200AA";

ClientID = "GUID:4B646249-3918-4587-AD25-04A032B6A4BC";

DateTime = "20090820074751.181000+000";

MachineName = "VISTA-SCCM";

MaximumTime = "120";

PackageName = "ITG00046";

ProcessID = 2464;

ProgramName = "Vista SP2";

SiteCode = "ITG";

ThreadID = 3972;

};

execmgr 8/20/2009 12:47:51 PM 3972 (0x0F84)

Raised Program Exceeded Time Mom Event for Ad:ITG200AA, Package:ITG00046, Program: Vista SP2 execmgr 8/20/2009 12:47:51 PM 3972 (0x0F84)

Execution is complete for program Vista SP2. The exit code is 259, the execution status is Unknown Status execmgr 8/20/2009 12:47:51 PM 1620 (0x0654)

Policy is updated for Program: Vista SP2, Package: ITG00046, Advert: ITG200AA execmgr 8/20/2009 2:14:19 PM 436 (0x01B4)

The user has logged off. execmgr 8/20/2009 5:57:33 PM 3692 (0x0E6C)

Policy is updated for Program: Vista SP2, Package: ITG00046, Advert: ITG200AA execmgr 8/22/2009 10:44:17 AM 460 (0x01CC)

Share this post


Link to post
Share on other sites

  • 0

Hm looks strange, i can see that your servicepack installation is initiated by SCCM and the commandline looks correct.

 

I think there is some compabillity problem on your vista machine. Are you trying to deploy the same language as that you have installed on your Operating System, etc english OS needs the english SP. Do you have enough harddrive space, servicepacks generally requires allot of space.

 

Allso make sure you have followed all "predeployment tasks" on the below site

http://technet.microsoft.com/en-us/library/dd335037(WS.10).aspx

 

 

What happens if you run the servicepack directly from the computer (skip these "/q /nodialog /forcerestart")? Do you get any error messages?

Do you get any posts in the eventlog on the machine?

Share this post


Link to post
Share on other sites

  • 0

yah looks very strange to me2. i have spent two days over it but still the same. i have tried manually install everything works fine no error regarding compatibility or else, I also run the package in normal mood by displaying the advertisement everything was perfect. i got an advt. & process initiated. i dont know why its not working silently? i have 40 GB available in C drive.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • 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.