Deploy the SCCM 2012 Console using the Application Model

Nicolas PilonConsole, SCCM3 Comments

The installation of SCCM 2012 console can be either manually or automatically. Manual installation remains a good choice if you have a small team. Using role-based access control in SCCM 2012, you can delegate administrative tasks to your team and allow more users with different level of access to the SCCM 2012 console.

At this point, you would rather go the automatic way. This post will explain you how to save time by using the Application Model in SCCM 2012 to automatically deploy the console to all your devices.

We won’t cover the pre-requisites needed to install the SCCM 2012 console on a device. Make sure your devices are compliant.

Step 1 | Create a Collection

To regroup all the devices of users that will be using the console, there’s two possible types of collection to trigger the installation, either user or device collection.

Users

Create a user collection if your goal is to target team’s member. With the User Device Affinity, you make sure that all devices used by a specific user will have the latest console version installed.

The advantage of using user collections is the application catalog. Users will have access to install the console from the portal. However, the Application Catalog web service point and website point must be installed in your environment to use the Application Catalog portal at the desired time.

Devices

Create device collection if your goal is to target devices. With device collection, you make sure that all desired devices will have the latest console version installed.

To update existing consoles to the latest version, include a query rule in the membership rules that targets devices with SCCM 2012 console installed.

WQL 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 on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName LIKE "%Configuration Manager Console%"

You can also refer to the PowerShell script that create operational SCCM collections that include consoles.

Step 2 | Create the Application

First, you will need to point to the files from SCCMInstallationFolder\Tools\ConsoleSetup to your content source location. It will be the source files used to install the console.

SCCM2012ConsoleInstallation013

  • From the console, navigate to Software Library / Overview / Application Management / Applications
  • Right click on Applications and select Create Application
  • The Create Application Wizard window will appear, on General tab, select Manually specify the application information and click Next

SCCM 2012 Console

  • In General Information tab, enter an application name like Microsoft System Center Configuration Manager Console 2012 R2 SP1 or your current version
  • Enter the Publisher field with Microsoft
  • Software Version field with 2012 R2 SP1 and click Next

SCCM2012ConsoleInstallation002

  • In the Application Catalog tab, if you are using user collection than you will need to fill required information
  • In this example, we only fill Localized application name with Microsoft System Center Configuration Manager Console R2 SP1 and click Next

SCCM 2012 Console

  • In the Deployment Types tab, click on Add

SCCM 2012 Console

  • In the Create Deployment Type Wizard, select Script Installer as your deployment type and click Next

SCCM 2012 Console

  • In General Information tab, enter Install as the name of the deployment type and click Next

SCCM 2012 Console

  • In the Content tab, enter the Content Location with this folder SCCMInstallationFolder\Tools\ConsoleSetup
  • At the Installation Program field, enter this program command
    • consolesetup.exe /q TargetDir=”C:\Program Files\ConfigMgr” EnableSQM=1 DefaultSiteServerName=YourSiteServerName
    • Change YourSiteServerName with your site server
  • At the Uninstall Program field, enter this program command
    • consolesetup.exe /q /uninstall
  • Check box Run installation and uninstall program as 32-bit process on 64-bit and click Next

SCCM 2012 Console

  • In the Detection Method tab, click Add Clause
  • In the Detection Rule window, select Windows Installer as the setting type
  • At the Product code field, enter your proper version MSI product code. In this example, we are using SCCM 2012 R2 SP1 which is {7952AC6D-315A-4791-BDE3-0976D6E0AD72} and click Next

The detection method is designed to evaluate whether application is already installed or not. If it turns out that the application is already present, the application will not be installed.

SCCM 2012 Console

  • You will come back to the Detection Method tab, click Next

SCCM 2012 Console

  • In the User Experience tab, at the Installation behavior settings, choose Install for User if you created a user collection and choose Install for Device if you created a device collection. You can also choose Install for system if resource is device; otherwise install for user if you use both type of collections
  • At Login requirement, choose Whether or not a user is logged on
  • At Estimated installation time (minutes), enter 5 minutes
  • Click Next to finalize the process, then Close

SCCM 2012 Console

You see something like this in your application folder.

SCCM2012ConsoleInstallation015

Step 3 | Deploy the Console

The last step is to use the application and deploy to the collection.

  • From your application folder, right click on the application and select Deploy
  • From the Deploy Software Wizard in the General tab, click on Browse, select the previously created collection from the first section and click Next

SCCM 2012 Console

Before you can deploy the application, you must distribute content to your distribution points otherwise you will have deployment issues.

  • In the Content tab, add the distribution points needed for your deployment and click Next

SCCM 2012 Console

  • In the Deployment Settings tab, you have two possibilities for the Purpose of the deployment
    • Required: The application will be enforced
    • Available: The application will be available to install in the Software Center and/or Application Catalog waiting for an user action

What you must understand here is that if you are in position to update your current consoles, we suggest to use the Required option because without the update your console needs to match your site version. It must be apply as soon as possible. The Available option is used to provide the ability to install the console from the Software Center without being enforced.

  • Click Next

SCCM 2012 Console

  • In the Scheduling tab, configure when do want to make it available and installed, then click Next

SCCM 2012 Console

  • In User Experience tab, selecting Display in Software Center and show all notifications will display the status of the application deployment to the logged user.
  • Click Next

SCCM 2012 Console

  • Click Next to the end

Step 4 | Validation

If everything has been properly orchestrated with the Available option, the application will appear in the Software Center as well in your Application Catalog. If you set the Required option, the application will be automatically installed.

  • To open Software Center, simply search for Software Center in your application or type the following command line: C:\WINDOWS\CCM\SCCLIENT.EXE

SCCM2012ConsoleInstallation0211

Monitor your application deployment and that’s it!

 

sccm 2012 console

3 Comments on “Deploy the SCCM 2012 Console using the Application Model”

  1. Thanks for the info. I have created the application as per notes above and still receive a failure with an error code of
    0x87D0067 (-2016410105) I have also tried using the package approach with the same result. I can manually install the admin console but that defeats the purpose. Any suggestions would be appreciated.

    1. Hi Ray,

      0x87D00607 = Content not found. Troubleshoot just like you would in previous versions.
      1) Look in CAS.log to make sure it got the request and queried LocationServices
      2) Check LocationServices.log – this should point you in the right direction to solve the problem
      My guess based upon the limited information you provided is that you may not have a boundary defined and assigned to a boundary group thus the location reply is empty. Less likely but possible is that there is a version mismatch (i.e. policy says use version X but the DP has version X-Y)

      https://social.technet.microsoft.com/forums/systemcenter/en-US/1d460734-779c-4b80-aed6-4ba60fef0129/installing-applications-using-2012-keeps-failing

      Your content is well replicated on your distribution point?

  2. Hello,

    Not sure but I also think you should add “Microsoft Report Viewer 2010 Redistributable Package” as an dependency, along with the console, to be able to run the reports afterwards.

    Amazing blog btw, thank you 🙂

    Cheers.

Leave a Reply

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