How to configure Automatic Client Upgrade for Configuration Manager 2012 R2 SP1 CU1

 

Microsoft recently released the Cumulative Update 1 which fixed a lot of bugs that was introduced with Configuration Manager 2012 R2 SP1. One of the nice features with Configuration Manager R2 SP1 CU1 is that it is now possible to Automatically Upgrade clients to the latest CU version. Automatic Client Upgrade was present before but it only worked for new builds of the client, i.e Service Packs.

One trick here to keep in mind is that when installing the Cumulative Update is that you need to update Automatic Updates in the Hierarchy Settings before you run the CU1 wizard.

If you don’t, you will not see this step in the wizard:

 

Automatic Client Upgrade Wizard SCCM 2012 R2 SP1 CU1

 

When selecting Automatically apply this happens:

  1. The latest client patch file is added to the Site Server
  2. Updates the content on all Distribution Points and on all Child Sites if you are running a CAS
  3. The Client Package will be upgraded on the Local Site. Note that you need to run the CU1 upgrade on all child sites as well if you have an hierarchy to make sure that the latest version is on all Management Points. This Client Package is used if there are no Distribution Points available during Client Installation.

 

This is how you enable Automatic Client Upgrade:

1. Select your Site and select Hierarchy Settings in the top ribbon.

SCCM 2012 R2 SP1 CU1 Hierarchy Settings Automatic Client Upgrade
2. Go to the Automatic Client Upgrade tab
3. Check Upgrade client automatically when new client updates are available and press OK in the window that pop ups

When enabling the Automatic Client Upgrade, Configuration Manager will create a Scheduled Task for each client machine that have a version number lower that the Latest Version property. The Schedule Task will be created with a random run interval, which means that all of the clients will not be updated at the same time, which could cause performance issues. Define during which interval the clients will be upgraded. 7 days is the default, which is usually fine, but change it according to your requirements.

 

Automatic Client Upgrade SCCM 2012 R2 SP1

 

Once you have configured the Automatic Client Upgrade, simply run through the CU1 installation wizard, and you will see the step where you can select Automatically Apply as I previously mentioned.

One confusion you might run in to is when you go back and check the Latest version property in the Automatic Client Upgrade tab again after the CU1 upgrade. This version will not be changed and will remain at the Configuration Manager R2 SP1 level.

 

Automatic Client Upgrade SCCM 2012 R2 SP1

 

 

Here is the TechNet article referencing this.

Powershell: Script for configuring collection update refresh settings in Configuration Manager 2012

 

Sometimes you might want to configure how collections update in Configuration Manager 2012. Accomplishing this for a few collections works fine using the GUI, but if you want to change collection update settings for hundreds, or thousands of collections at the same time, this won’t be an option.

 

Configuration Manager SCCM 2012 Collection Updates

 

If you need to do this, use this script :) It reads the collections IDs from a file called “collections.txt” that needs to be in the same folder as the script and then sets the necesserary options.

Collection options, i.e Incremental Updates, Scheduled Updates, are set using the collection property “refreshtype”. Depedning on what integer is set here, different options will be set. These are the available options:

6 = Incremental and Scheduled Updates
4 = Incremental Updates Only
2 = Scheduled Updates only
1 = Manual Update only

The script needs to be run with one of these set and also the type of collections that are defined in collections.txt. Valid options here are User or Device.

If you would want to configure device collections in collections.txt to only update on a schedule, you would run this command:

Note that if you tick the “Schedule a full update on this collection” it will set the value that is set to the collection object. If you have changed that value sometime in the past, it will use that value or if you have never changed it, it will use the default value “Occurs every 2 weeks on Thursday effective 2/1/1970 12:00 AM”.

Here is the output of the sciprt.

Powershell script to set Configuration Manager SCCM 2012 collection update

 

Download the script from the TechNet Library.
Source code:

Powershell: Export a list of all dependencies for a Configuration Manager 2012 Task Sequence

Here is a Powershell script I wrote the other day which exports a list of all dependencies for a specific Task Sequence to a CSV file.

How to run it:

1. Run the script using .\Export-Task_Sequence_Dependencies.ps1 -TSID “Task Sequence Package ID”
2. Open dependencies.csv to find the dependencies for the given Task Sequence.

Please provide any feedback you might have.

You can also find the script in the TechNet Gallery.

1 2 3 4 57