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.
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:
- Simply copy the whole ConsoleSetup Directory to my package source share
- Create a new Application and Manually enter the information needed.
- Name it for instance AdminConsole with Script Installer(Native) as the deployment type.
- As detection method use Windows Installer and select the Adminconsole.msi file.
- In the Command Line use the following:
“consolesetup.exe /q TargetDir=”C:\Program Files\ConfigMgr” EnableSQM=0 DefaultSiteServerName=Siteserver1.contoso.com” - Replace Siteserver1.contoso.com with the FQDN for your site.
- 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
Thanks Dude. It worked perfectly with me after 2 days of struggle 🙂
Excelent! Thank you very much.
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.
Windows 8 support will be included in SP1.
/Jörgen
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?
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
Hi,
The console is only available as a 32 bit application.
Regards
Jörgen
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.
Thank you Jordan Mills. Your modifcations to the AdminConsole.msi file fixed my issue with installing the console silently. Keep up the good work.
Jordan,
try consolesetup.exe DEFAULTSITESERVERNAME=sccm.domain.local TARGETDIR=”%PROGRAMFILES%\Microsoft Configuration Manager\AdminConsole”
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
Hi,
I will update it/write a new this week.
/Jörgen
Thanks Jordan Mills. The consolesetup.exe looks like it no longer supports the options they specify. Adding the capability to the msi fixed my issue.