Step-by-Step SCCM 2012 R2 CU5 Installation Guide

Benoit LecoursSCCM21 Comments

Here’s a step-by-step SCCM 2012 R2 CU5 Installation guide.

Installing SCCM cumulative updates is very important to your infrastructure. It fix lots of issues, which some of them are important.

As this is a cumulative update, you don’t have to install prior CU(1,2,3,4) before installing CU5. CU5 contains all the fixes included in previous CU.

Improvements/Fixes

There’s no new major functionality in CU5. It mostly applies the latest KB and fixes known bugs. Follow this Microsoft Support page to see a full list of issues that are fixed.

PowerShell changes are no longer included in CU as described in our previous post. You won’t find any changes in PowerShell following this CU.

Before you begin

Installing this update is very similar to CU4. I’ll guide you through the upgrade process step-by-step in a standalone primary scenario.

This update can be applied directly to the following Systems/Roles:

  • The Central Administration Site (CAS)
  • Primary Site
  • Secondary Site
  • SMS Provider
  • Configuration Manager Console

In this guide, I’ll be updating a Primary Site Server, console and clients.

Update the Primary Site

To start the installation, rdp to your Primary Site Server, and run CM12-R2CU5-KB3054451-X64-ENU.exe

A log file will be created in C:\Windows\Temp\CM12-R2CU5-KB3054451-X64-ENU.log

  • On the Welcome Screen, click Next

SCCM 2012 R2 CU5 Installation guide

  • Accept the license agreement, and click Next

SCCM 2012 R2 CU5 Installation guide

  • Ensure that everything is green, and click Next. On my screenshot, a restart is required before installing the CU.

SCCM 2012 R2 CU5 Installation guide

  • Check the box to update the console, click Next

SCCM 2012 R2 CU5 Installation guide

  • Select Yes, update the site database, click Next

SCCM 2012 R2 CU5 Installation guide

  • Check all 3 checkbox (Server, Console and Clients), click Next

SCCM 2012 R2 CU5 Installation guide

  • Edit the package name and program to your need, click Next

SCCM 2012 R2 CU5 Installation guide SCCM 2012 R2 CU5 Installation guide SCCM 2012 R2 CU5 Installation guide

  • Review the Summary page, click Install

SCCM 2012 R2 CU5 Installation guide

  • Installation is in progress

SCCM 2012 R2 CU5 Installation guide SCCM 2012 R2 CU5 Installation guide

  • You can follow the installation progress in the log file (C:\Windows\Temp\CM12-R2CU5-KB3054451-X64-ENU.log)

SCCM 2012 R2 CU5 Installation guide

  • When setup is complete, click Next and then Finish

SCCM 2012 R2 CU5 Installation guide

Verification

Console

After setup is completed, launch the System Center 2012 Configuration Manager Console and verify the build number of the console. If the upgrade was successful, the console build number will be 5.00.7958.1604.

SCCM 2012 R2 CU5 Installation guide

Server

Open registry editor and check the HKLM\Software\Microsoft\SMS\Setup\ key. If the installation succeeded CULevel key value will be 5.

SCCM 2012 R2 CU5 Installation guide

You can also verify both client and console version using PowerShell :

  • Server : Get-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\SMS\Setup -Name "CULevel"
  • Console : (Get-Item ($env:SMS_ADMIN_UI_PATH.Substring(0,$env:SMS_ADMIN_UI_PATH.Length – 5) + '\Microsoft.ConfigurationManagement.exe')).VersionInfo.FileVersion

SCCM 2012 R2 CU5 Installation guide

Clients

The client version will be updated to 5.00.7958.1604 (after updating, see section below)

SCCM 2012 R2 CU5 Installation guide

This update also brings the anti-malware client version to 4.7.0209.0. You can find the version information by clicking About on the Help menu of the Endpoint Protection client UI.

Package distribution

Navigate to Software Library / Packages / Configuration Manager Updates

  • You’ll see that your CU5 updates packages are created

SCCM 2012 R2 CU5 Installation guide

  • Go ahead and Distribute Content to your distribution points

SCCM 2012 R2 CU5 Installation guide

Updating the Clients

We now need to update the clients. This update contains 2 update packages for client installations. One for 32-bit clients and one for 64-bit clients.

Create two collections for the client upgrade. (If not already done in previous CU)

All-x64-based Clients

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_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.SystemType = "X64-based PC"

All-x86-based Clients

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_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.SystemType = "X86-based PC"

Adjust the package options to fit your environments and deploy the update to your clients.

Once deployed I like to create a collection that targets clients without the latest CU. I use it to monitor which client haven’t been updated yet.

Here’s the query to achieve this: (You can also refer to our Set of Operational Collection Powershell Script)

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 where SMS_R_System.ClientVersion != '5.00.7958.1604'

Happy updating ! 🙂

Step-by-Step SCCM 2012 R2 CU5 Installation guide

21 Comments on “Step-by-Step SCCM 2012 R2 CU5 Installation Guide”

  1. After I upgrade to CU5, do I need to push the new client to all my workstations? If I have automatic client push enabled, will this take care of it?

  2. After upgrading to SCCM 2012 R2CU5, One of my secondary site is down and gives below error in sitecomp.log

    *** [08001][2][Microsoft][SQL Server Native Client 11.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
    *** Failed to connect to the SQL Server, connection type: SMS ACCESS.
    CSiteControlEx::GetCurrentSiteInfo: Failed to get SQL connection

    Kindly advise

    1. Sorry, my SQL Express service was stopped on this server. I just started the service and working fine

  3. Pingback: Step-by-Step SCCM 2012 R2 SP1 Upgrade Guide

  4. Very well written, easy to follow. Thank you very much. Installed CU5 without any issues, now planning to upgrade SP1.

    One quick question: I have automatic Client Push Installation setup, do I still need to deploy new client using collection?

    Thank you

  5. I’ve heard that with CU updates you can skip over previous releases, but would just like to double check. Can I skip from the original 2012 R2 release and go directly up to CU5, or would it be a safer bet to ensure environment has enough time to update clients and servers up to CU1 first?

    I read in a earlier comments within the Step-by-Step SCCM 2012 R2 CU3 Installation guide, that you could skip directly to it (CU3).

    1. We skipped over 2,3,4 and went to 5. Although, at this stage I would install the SP1which system center dudes has a good tutorial on.

      1. SP1 contains all fixes in prior CU. If you’re ready, go ahead and install SP1 following our guide 🙂

  6. Hello,

    Same process i am following but i am received one error .

    (Setup exiit status 3003 (Task state :Failed))

    “Task ‘Create Software Update Catalog’ completed, state is ‘failed’ ExceptionText: Error: Setup detected an unexpected problem during installation. Error message: UpdatesPublisher catalog task: File ‘C:\Program Files\Microsoft Configuration Manager\hotfix\KB3054451\Server\x64\CM12-R2CU5-KB3054451-X64-ENU.exe’ does not exist, unable to create catalog. Check the MSI log for the update for information on why the file was not created.

    Error: Setup detected an unexpected problem during installation. Error message: at Microsoft.SystemCenter.UpdateSetup.Tasks.GenerateCatalog.VerifyFileExists(String fileToVerify)
    at Microsoft.SystemCenter.UpdateSetup.Tasks.GenerateCatalog.GetServerUpdateXml()
    at Microsoft.SystemCenter.UpdateSetup.Tasks.GenerateCatalog.DoRun()
    at Microsoft.SystemCenter.UpdateSetup.Tasks.GenericTask.RunThread(Object taskObject)

  7. Thx for the article, and as well for all comments.

    Just to doublecheck… does CU5 affect Win PE ? Will I need to update it ? (I have minor additions in)

    Thx

  8. FYI: You do not need to create separate arch type collections ie. x86 and x64 as the program within the client update package already has requirements set to only update the respective arch type. As an example the x86 client program has a requirement to only update on Windows Server 2003 32-bit, 2003 R2 32-bit, and Server 2008 32-bit.

  9. Nice guide! One question. Seeing that this is not published with Windows Updates, what is the best way to stay notified of these and other hotfixes? I would like to stay on top of these as they come out.

  10. My server had no reboot pending during the pre-check, but I was asked to reboot after the install was done.

  11. I know I asked this for CU4 but would just like to double check for CU5.

    Will this require a reboot for my servers and client machines?

Leave a Reply

Your email address will not be published. Required fields are marked *