February, 2015

Creating Collections to deploy ConfigMgr client updates (the easy way)

main

Get the Servicing Exstension from Microsoft NOW as it does all the work!!! http://blogs.technet.com/b/configmgrteam/archive/2014/12/09/now-available-microsoft-system-center-2012-configuration-manager-servicing-extension.aspx

Once you have this, in the Admin node, there's a site servicing section -> client targeting. You click 'Create Query' and it makes a nice query for your collections.

CreateColls

Then you go about creating your collection.

Screenshot 2015-02-05 09.39.11

click next. Select Add Rule -> Query Rule

 

Click Import Query Statement and choose the nice query microsoft made for you.

Screenshot 2015-02-05 09.44.29

Deploy the cumulative update to the clients.

 

 

Yearly clean up for Software Update Automatic Deployment Rules

OK Shield

okshield

Each year it is good to clean up the software update packages so they don't grow out of control and cause havoc in your sccm town.

Review current Deployment Packages.

 

  1. If not already fix up, rename and date the Deployment Packages appending the year. Ie;
  • Windows 7 x64 Updates - 2014
  • Windows 7 x86 Updates - 2014
  • Windows 8 x64 Updates - 2014
  • Office 2013 Updates - 2014
  • etc

  1. Under Deployment Packages ensure the packages aren’t having any distribution problems, Green is good.  If so the package may have too many updates (Limit is 1000, I still think it should be 500) and you should move some to a new package.

Create new Deployment Packages for each type of update

 

Creating yearly packages will reduce the size of the packages and will have less distribution problems. The easiest way is to use a powershell script created by Nickolaj Andersen as creating packages in the console is stupid and slow. Check out http://www.scconfigmgr.com/2014/11/06/create-a-deployment-package-in-configmgr-2012-with-powershell/ for the script.

Usage:

.New-CMDeploymentPackage.ps1 -SiteServer SiteServerName -Name "Windows 7 x64 Updates - 2015" -Description "Windows 7 x64 Updates - 2015" -SourcePath "\PathWindows7x64-2015" –Verbose

 

Replace the bold with whatever makes you happy.

Next, add the new packages to distribution points by right clicking them and choosing Distribute Content

 

Modify the Automatic Deployment Rules to use the new packages.

 

Modify each Automatic Deployment Rules (ADR) to use new deployment packages for the new year.

  • Open Properties of the ADR
  • Go to the Deployment Package page
  • Click Browse and choose the new package.

OK Shield

  • Click Browse and choose the new package.

 

Remove Expired and Superseeded Updates

 

Under All Software Updates run a search with the criteria Expired = Yes.

Select all then updates then click Edit Membership

Untick all the updates in the next window

 

You can also do this for superseded updates by changing the search criteria to Superseeded = Yes. For more information about superseedence and expired updates visit https://technet.microsoft.com/en-us/library/cc708465%28v=ws.10%29.aspx