Home > System Center Configuration Manager > Implementing Configuration Manager 2012 R2 Cumulative Update 1

Implementing Configuration Manager 2012 R2 Cumulative Update 1

This post outlines the implementation of Cumulative Update 1 for Configuration Manager 2012 R2 in a lab environment. Note that this update is applicable for R2 only, if you are currently still running Configuration Manager 2012 SP1 please refer to my previous blog post on implementing Cumulative Update 4 for ConfigMgr SP1.

The detailed description and download link for this Cumulative Update  are available here: http://support.microsoft.com/kb/2938441/en-us .

The CU is applicable directly to the following components:

    • CAS
    • Primary Sites
    • Secondary Sites
    • SMS Provider(s)
    • Console(s)

    Additionally it contains updates for the following components:

    • CAS
    • Primary Sites
    • Secondary Sites
    • SMS Provider(s)
    • Consoles
    • Clients

    The lab infrastructure on which we will implement the CU is rather small: a standalone primary site with the site database and all site system roles installed on a single server. Additionally there is one remote Distribution Point. There are no secondary sites.

Primary Site

A CU implementation needs to be done from top to bottom so we start with the site server first.  Make sure there are no console connections open and then run the installer with elevated privileges.

image

The installation wizard is started:

image

Click Next on the welcome screen.

image

Accept the license terms and click Next.

image

Review all checks and click Next.

image

Leave the option to install the update for the console and click Next.

image

Leave the option to update the Site Database and click Next.

image

As part of the setup process Configuration Manager can create packages to update other components part of the environment. Leave the options to have these packages created and click Next.

image

Leave the default options for the first Update Package and click Next.

image

Leave the default options for the update package for consoles and click Next.

image

And finally also leave the default options for the remaining packages for clients. Click Next.

image

Review the setup summary and click Install to kick off the installation.

image

Installation progress is shown.

image

If you are interested in what is happening under the hood make sure to have a look at the installation log files in the %windir%\temp directory.

image

Click Next once all steps have been completed successfully.

image

Click Finish and restart the server.

In ARP there should be two entries indicating that the Cumulative Update was installed on the system: one for the site server and one for the console. Both are shown in the screenshot below:

image

Also in the registry the CU level for the site can be verified:

image

When opening the About Configuration Manager window from the console the version should show 5.0.7958.1203

image

Remember that at one point we opted to have packages created to implement the CU on other components. These packages are now available in the Software Library workspace:

image

Do not forget to distribute the content for these packages to your Distribution Points. This is not something that is done automatically!

 

Secondary Sites

If there are any Secondary Sites in your environment the next step is to implement the CU on those sites. The server update package can be used to automate this. To target the site servers a collection can be built which is populated based on the following query:

    • select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
      SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName = "System Center 2012 R2 Configuration Manager Secondary Site Setup"

    Consoles

    As part of the implementation process on the site server the locally installed console was updated as well. Any remote consoles in the environment can be updated using the console upgrade package which was automatically created during the installation process.

    To build a collection containing the machines with the console installed the following query could be used:

  • select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM. ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "System Center 2012 R2 Configuration Manager Console"

Clients

Last but not least also the clients within the environment need to be brought up to the level of the Cumulative Update. There are multiple approaches to accomplish this; one method could be to deploy the client update packages which were also created automatically during the implementation process.

As there is a package per processor architecture we will also create matching collections to target our deployments. This is an example query for a collection containing all 64-bit clients with a client version not equal to CU1:

  • select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
    SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_R_System.ClientVersion != "5.00.7958.1203" and SMS_G_System_SYSTEM.SystemType = "X64-based PC"
    The query for the collection with 32-bit clients is identical; just replace “x64-based PC” with “x86-based PC”.
    A client with the CU installed should have the following version displayed in the properties:

image

 

And the updated components:

image  image

 

That concludes the work in our lab. I hope this post gives you a good overview on how you could implement the Cumulative Update in your environment.

Until next time!

Tim

Advertisements
  1. Tony Chirillo
    May 27, 2014 at 6:13 pm

    When installing SCCM’s R2 Cumulative Update 1 in my test lab (with no internet access), the setup goes fine until I get to the part where the wizard says “Create Software Update Catalog” and then it fails with an error. When I re-run the setup the wizard skips to the parts that were already updated and goes directly to the same part and fails. The failure occurs at the creation of the software update catalog. I have been searching the web, but have been unsuccessful in finding a solution to my problem. I am wondering if it is because my test lab does not have internet access or something permission based regarding the SCCM network access account. I am kind of at a loss right now and any assistance is greatly appreciated! I can also provide screen shots.

    • May 27, 2014 at 6:36 pm

      Hi Tony,

      Did you already have a look at the installation log files? It may give you some more insights on why the installation fails.

      The log should be located in the %windir%\temp directory.

      • Tony Chirillo
        May 27, 2014 at 9:42 pm

        Tim

        Here is the error from the cm12-r2cu1-kb2938441-x64-enu log file located in the %windir%\temp directory. I have been searching the web for possible solutions all day, but have came up empty. Any suggestions?

        “Task ‘Create Software Update Catalog’ completed, state is ‘failed’ ExceptionText: Error: Setup detected an unexpected problem during installation. Error message: A valid file name is required.
        Parameter name: fileName

        Error: Setup detected an unexpected problem during installation. Error message: at Microsoft.SystemCenter.UpdateSetup.SystemUtilities.CalculateSHA1Base64(String fileName)
        at Microsoft.SystemCenter.UpdateSetup.Tasks.GenerateCatalog.ReplaceCommonInsertionStrings(String startText, String packageFile)
        at Microsoft.SystemCenter.UpdateSetup.Tasks.GenerateCatalog.GetServerUpdateXml()
        at Microsoft.SystemCenter.UpdateSetup.Tasks.GenerateCatalog.DoRun()
        at Microsoft.SystemCenter.UpdateSetup.Tasks.GenericTask.RunThread(Object taskObject)”

        –Tony

  2. Tony Chirillo
    May 28, 2014 at 7:40 pm

    Ok. Here is how I worked though this problem. Essentially, I uninstalled the SCCM R2 CU1 and re-installed. Since I was unable to uninstall the cumulative update from control panel, I used a blog which describes how to uninstall a Configuration Manager cumulative update from the command prompt.

    1.Open an elevated command prompt
    2.Navigate to the folder of the cumulative update
    3.Run: CM12-R2CU1-KB2938441-x64-enu.exe /x to extract the .msi
    4.Run: MSIEXEC /X CM12-R2CU1-KB2938441-x64-enu.msi to start the uninstallation

    From here I was able reboot the server and run and complete the SCCM R2 CU1 setup without any errors.

    On a side note, I also used different downloaded copy of the cummlative update, so I am unable to determine the exact cause:

    •Corrupt original install
    •Corrupt cumulative update installer
    •Both

    • May 28, 2014 at 10:41 pm

      Hi Tony,

      Good to hear you got the problem resolved. Thanks for sharing your method to resolve it as well.

      My money would be on the corrupt CU installation source. Downloading the new copy most likely has brought the solution.

  3. space-man@live.com
    September 26, 2014 at 4:00 pm

    Tony,
    To answer your question: Corrupt cumulative installer. /ASM

  4. FrankW
    November 10, 2014 at 3:30 pm

    This also works for CU3 (can have the same problem)
    Msiexec.exe /X {D9E97CFF-7E7A-4B38-ACCC-99920E49D7AF}

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: