Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

ConfigMgr 2012 Adminconsole unattended installation

Posted on May 31, 2012June 22, 2012 by Jörgen Nilsson

I have written a couple of scripts before to install the SCCM 2007 console which is a challenge with R3 and hotfixes e.t.c. In System Center 2012 Configuration Manager this has now changed, it is really simple to install the Admin Console unattended.

There is no need to run Setup and use an unattended file anymore, the setup files for the Adminconsole is located on the Primary Site Server in the Configuration Manager installation folder under Tools\ConsoleSetup. In that folder there are two files ConsoleSetup.exe and Adminconsole.msi(if you install more languages there will be more files)

Compared to using the ConfigMgr2012 installation media you will save a lot of disk space on the DP’s using this method.

Configmgr2012

The installation must be done using the ConsoleSetup.exe as it provides more functionality than simply running the AdminConsole.MSI file.

Here is how to do it:

  1. Simply copy the whole ConsoleSetup Directory to my package source share
  2. Create a new Application and Manually enter the information needed.
  3. Name it for instance AdminConsole with Script Installer(Native) as the deployment type.
  4. As detection method use Windows Installer and select the Adminconsole.msi file.
  5. In the Command Line use the following:
    “consolesetup.exe /q TargetDir=”C:\Program Files\ConfigMgr” EnableSQM=0 DefaultSiteServerName=Siteserver1.contoso.com”
  6. Replace Siteserver1.contoso.com with the FQDN for your site.
  7. Deploy it to the collection of your choice and you are finished.

Incredibly simple!!

Don’t forget that the AdminConsole requires the Full .Net Framework 4 to be installed before so either add it as a dependency or requirement, dependent on how you have designed you application management.

For more information including how to install the AdminConsole in different languages see Technet :http://technet.microsoft.com/en-in/library/gg712320(en-us).aspx

12 thoughts on “ConfigMgr 2012 Adminconsole unattended installation”

  1. Shashank says:
    August 27, 2012 at 10:54 am

    Thanks Dude. It worked perfectly with me after 2 days of struggle 🙂

    Reply
  2. Julio Torres says:
    October 29, 2012 at 6:14 pm

    Excelent! Thank you very much.

    Reply
  3. Chatchai.w says:
    December 12, 2012 at 8:13 am

    Dear Jorgen, I am newbie of SCCM2012 I try to install Admin console by manually on my colleague laptop but found error like following, so where I can find the prerequisite of Admin Console ? (as one I knew is .NET 4.0 but his laptop is Windows8)
    Thank you in advance
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    The Configuration Manager console cannot connect to the Configuration Manager site database. Verify the following:

    • This computer has network connectivity to the SMS Provider computer.
    • Your user account has Remote Activation permission on the Configuration Manager site server and the SMS Provider computer.
    • The Configuration Manager console version is supported by the site server.
    • You are assigned to at least one role-based administration security role.
    • You have the following WMI permissions to the Root\SMS and Root\SMS\site_ namespaces: Execute Methods, Provider Write, Enable Account, and Remote Enable.

    Reply
    1. Jörgen Nilsson says:
      December 13, 2012 at 9:19 pm

      Windows 8 support will be included in SP1.
      /Jörgen

      Reply
  4. Tom says:
    January 24, 2013 at 9:02 pm

    Been trying to do this for a few days! I can run the above script fine through command line, but it fails every time pushing it through SCCM2012 SP1. I get in log file “MSI: Microsoft System Center 2012 Configuration Manager Console does not support per-user installations”
    Windows 7 Enterprise, with .NET 4.5
    Ideas? is it a SP1 problem preventing this install?

    Reply
  5. shetty says:
    September 26, 2013 at 8:50 pm

    I am not able to install the console as a 64 bit (the console always gets installed as a 32 bit application i.e. ProgramFiles(x86)). Is there something I am missing

    Reply
    1. Jörgen Nilsson says:
      September 26, 2013 at 9:56 pm

      Hi,
      The console is only available as a 32 bit application.
      Regards
      Jörgen

      Reply
  6. Jordan Mills says:
    September 19, 2014 at 6:46 am

    To fix the sccm admin console msi, need to add property for DEFAULTSITESERVERNAME and copy AdminConsoleInstallDir/702 from InstallUISequence to InstallExecuteSequence

    I spent some time fighting with getting the msi to deploy natively without some lame exe managing it. Even if you specify DEFAULTSITESERVERNAME and TARGETDIR as properties (e.g. msiexec /i AdminConsole.msi DEFAULTSITESERVERNAME=sccm.domain.local TARGETDIR=”%PROGRAMFILES%Microsoft Configuration Manager\AdminConsole” /passive), the install will barf and fail with an error.

    The problem is that they made an error when they built the MSI. There is one custom action that is in the InstallUISequence and not InstallExecuteSequence. If you open the MSI in Orca, go to the InstallUISequence, find the line with AdminConsoleInstallDir (its sequence number is 702), you can right click on it and select “copy row”, go to the InstallExecuteSequence, right click anywhere on the element list, and click “paste row(s)”, and save it. That will allow the MSI to run without a UI. It’s obviously an oversight because the previous custom action (CcmSetPrimaryFolder) is in both tables and the custom action has a type value that tells the installer to not run that action in InstallExecuteSequence if it already ran in InstallUISequence.

    While you’re editing it, you might also want to add an entry for DEFAULTSITESERVERNAME in the Properties table so you can do thinks like call msi from an installer instance instead of hoping the command line works. Feel free to email me if you want the transform that adds AdminConsoleInstallDir to InstallExecuteSequence.

    Reply
  7. Mike Belsley says:
    September 26, 2014 at 5:51 pm

    Thank you Jordan Mills. Your modifcations to the AdminConsole.msi file fixed my issue with installing the console silently. Keep up the good work.

    Reply
  8. nick says:
    January 22, 2015 at 4:12 pm

    Jordan,

    try consolesetup.exe DEFAULTSITESERVERNAME=sccm.domain.local TARGETDIR=”%PROGRAMFILES%\Microsoft Configuration Manager\AdminConsole”

    Reply
  9. Robert says:
    September 13, 2016 at 2:35 pm

    Hi Jorgen, I know this thread is old, so not sure if you are still monitoring it. I have a question, How would I install the console with the Patches? Example, I run the ConsoleSetup.exe with the switches but I need to add:
    configmgr2012adminui-sp2r2sp1-kb3074857-i386.msp
    configmgr2012adminui-sp2r2sp1-kb3135680-i386.msp
    Thanks

    Reply
    1. Jörgen Nilsson says:
      September 13, 2016 at 11:24 pm

      Hi,
      I will update it/write a new this week.
      /Jörgen

      Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Tweets by ccmexec

Recent Posts

  • Windows Servicing, Personal Teams and Success.cmd
  • Windows MDM Security Baseline – Settings Catalog
  • Configuring MS Edge Security Baseline v107 using Settings Catalog
  • Configuring Desktop App Installer using CSP and script?!
  • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell

©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT