Quantcast
Channel: Jay Connor – HappySCCM
Viewing all articles
Browse latest Browse all 107

Yearly clean up for Software Update Automatic Deployment Rules

$
0
0

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


Viewing all articles
Browse latest Browse all 107

Trending Articles