SCCM2012 How deploying Console only install

Hi!

SCCM 2012 St.

How deploying Console only install. 

I set up a package from definition to \\server\SMS_S01\bin\i386\adminconsole.msi but the install attempts ended in error. 
I tried this: 
msiexec /i adminconsole.msi DEFAULTSITESERVERNAME=SERVER.LOCAL TargetDir=%programfiles%\SCCM2012Console /qn 
does not work well. 
Is the solution?

May 23rd, 2012 9:08am

You should use consolesetup.exe: http://technet.microsoft.com/en-us/library/gg712320.aspx#BKMK_InstallConsole
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 9:19am

0 reactions

The Executive:

consolesetup.exe /q EnableSQM=0 DefaultSiteServerName=SERVER.LOCAL

May 23rd, 2012 10:12am

Please re-read the article again. It says: "TargetDir | Use this option to specify the installation folder to install the Configuration Manager console. This option is required when used with the /q option."
You added "/q", so you have to provide TargetDir, too.
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 10:30am

Whatever I do with consolesetup.exe nothing happens. If the executive adminconsole.msi the wizard opens, and can install the SCCM console.

Run / cmd (as admin.)

\\sccmserver.local\SMS_ST1\bin\i386\consolesetup.exe /q TargetDir=C:\Program Files\ConfigMgr EnableSQM=0 DefaultSiteServerName=sccmserver.local

0 reactions.

Perhaps it is related to the OS language? My test Windows 7, the MUI is not English.

May 23rd, 2012 12:56pm

\\sccmserver.local\SMS_ST1\bin\i386\consolesetup.exe /q TargetDir=C:\Program Files\ConfigMgr EnableSQM=0 DefaultSiteServerName=sccmserver.local

The path contains a space, so you should try
consolesetup.exe /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=sccmserver.local
instead.
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 1:01pm

space is not to blame. 
May 23rd, 2012 1:19pm

Torsten is correct, a space in a command-line like that *will* cause the command-line to be improperly parsed. You must enclose paths passed on the command-line with spaces in them in quotes.
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 2:52pm

There is no question of the correctness of space, in generalized terms. I had tried, without space. And the result did not change.

I tried to use the msi:

msiexec \\sccmserver.local\SMS_ST0\bin\i386\AdminConsole.msi DEFAULTSITESERVERNAME=SCCMSERVER.LOCAL TARGETDIR=%programfiles%\SCCM2012RC2console /qn

but it does not work.

May 24th, 2012 7:25am

I am using
ConsoleSetup.exe /q TargetDir="%programfiles%\ConfigMgrConsole" EnableSQM=0 DefaultSiteServerName=SERVER.FQDN.BLA
as the command line for a deployment type in my lab and i works perfectly fine. (I created an application using a "script installer" DT using \\<Server>\D$\SCCM\tools\ConsoleSetup\ as the content source).
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 7:50am

Sorry about the mind fucking. The problem is my test Win7 PC. Tried it on another Win7 and XP PC works great. Thank you for your p
May 24th, 2012 8:58am

Unbelievable that a SCCM tool is so difficult to deploy using SCCM. Spend all day trying to get this to work. Assumed that using the msi directly would be the sccm way to go, but that didn't work. Then started using the consolesetup.exe and only after a lot of troubleshooting i found out that after copying the executable it still was looking for the msi file in its oroginal location on the sccm server. Since the deploy account had no access to this location it failed. After manually opening the consolesetup from the new location I got a popup asking me for the msi location and after pointing it to the new location it finally worked. I still suspect the executable opens the msi file from the new package location instead using the msi from the ccmcache, but thats something I can live with.
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2012 12:43pm

we are also having issues pushing out the console from SCCM.... I can copy the command to my workstation and it runs find from my source directory used for SCCM apps and it installs fine. copy the command to a SCCM app and push it out and it Fails with a SCCM software center error of "The software change returned error code 0x87D00324(-2016410844)."  the AppEnforce.log file reports that the install returned and exit code of 0

really lost at what the problem is..... we have also tried the MSI with no luck.

the command below is copied from the AppEnforce.log for a syntax check we have also tried to wrap the whole command line in CM12 with quotes at the start and finish but that also doesn't help.

 Prepared command line: "C:\Windows\ccmcache\z\ConsoleSetup.exe" /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=sccm.Domain.local

June 18th, 2012 8:23pm

Please provide the relevant lines from AppEnforce.log. I *guess* that the installation finished successfully, but the detection method failed and it was not detected as being installed.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2012 8:45pm

The install is not successful on the workstation here is the log file, please let me know if you need more info.

    App enforcement environment:
    Context: Machine
    Command line: ConsoleSetup.exe /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=sccm.domain.local
    Allow user interaction: No
    UI mode: 0
    User token: null
    Session Id: 1
    Content path: C:\Windows\ccmcache\z
    Working directory:     AppEnforce    6/18/2012 4:28:52 PM    11432 (0x2CA8)
    Prepared working directory: C:\Windows\ccmcache\z    AppEnforce    6/18/2012 4:28:52 PM    11432 (0x2CA8)
    Prepared command line: "C:\Windows\ccmcache\z\ConsoleSetup.exe" /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=sccm.domain.local    AppEnforce    6/18/2012 4:28:52 PM    11432 (0x2CA8)
    Post install behavior is BasedOnExitCode    AppEnforce    6/18/2012 4:28:52 PM    11432 (0x2CA8)
    Waiting for process 11288 to finish.  Timeout = 15 minutes.    AppEnforce    6/18/2012 4:28:52 PM    11432 (0x2CA8)
    Process 11288 terminated with exitcode: 0    AppEnforce    6/18/2012 4:28:53 PM    11432 (0x2CA8)
    Looking for exit code 0 in exit codes table...    AppEnforce    6/18/2012 4:28:53 PM    11432 (0x2CA8)
    Matched exit code 0 to a Success entry in exit codes table.    AppEnforce    6/18/2012 4:28:53 PM    11432 (0x2CA8)
    Performing detection of app deployment type SCCM Admin Console(ScopeId_531ED6A1-C8E9-410C-A756-2CDCB229C68A/DeploymentType_e2fd9d47-5fde-4648-82a6-9564bfcad313, revision 3) for system.    AppEnforce    6/18/2012 4:28:53 PM    11432 (0x2CA8)
+++ Application not discovered. [AppDT Id: ScopeId_531ED6A1-C8E9-410C-A756-2CDCB229C68A/DeploymentType_e2fd9d47-5fde-4648-82a6-9564bfcad313, Revision: 3]    AppEnforce    6/18/2012 4:28:53 PM    11432 (0x2CA8)
++++++ App enforcement completed (1 seconds) for App DT "SCCM Admin Console" [ScopeId_531ED6A1-C8E9-410C-A756-2CDCB229C68A/DeploymentType_e2fd9d47-5fde-4648-82a6-9564bfcad313], Revision: 3, User SID: ] ++++++    AppEnforce    6/18/2012 4:28:53 PM    11432 (0x2CA8)

June 18th, 2012 9:21pm

For some reason mine would only run when I didn't use any quotes at all. Here's what it looks like.

consolesetup.exe /q TargetDir=%programfiles%\ConfigMgrConsole EnableSQM=0 DefaultSiteServerName=sccm-server.mjw.root.local

Note that I've configured it to persist in cache and to download and run locally.

Free Windows Admin Tool Kit Click here and download it now
February 25th, 2013 10:04pm

I created an application for SCCM console and .NET 4 Full and set .NET as a dependency in my SCCM console application and it works great.  Here is my setup:

msiexec /i "AdminConsole.msi" DEFAULTSITESERVERNAME="SCCM.domain.net" TargetDir="C:\Program Files (x86)\Microsoft Configuration Manager" /qn

  • Proposed as answer by Wally1169 Friday, December 27, 2013 8:59 PM
February 27th, 2013 7:17pm

I created an application for SCCM console and .NET 4 Full and set .NET as a dependency in my SCCM console application and it works great.  Here is my setup:

msiexec /i "AdminConsole.msi" DEFAULTSITESERVERNAME="SCCM.domain.net" TargetDir="C:\Program Files (x86)\Microsoft Configuration Manager" /qn

  • Proposed as answer by Wally1169 Friday, December 27, 2013 8:59 PM
Free Windows Admin Tool Kit Click here and download it now
February 27th, 2013 7:17pm

That is not right to force us to use targetdir= even though we use /q.  I want it to locate the default folder locations for each arch (x86 or x64) by itself, like any other app.  Really stupid and still applies to R2.  thanks Microsoft.
December 16th, 2013 5:34pm

That is not right to force us to use targetdir= even though we use /q.  I want it to locate the default folder locations for each arch (x86 or x64) by itself, like any other app.  Really stupid and still applies to R2.  thanks Microsoft.
If you use %programfiles% it will install to the (x86) directory since the console is a 32-bit app.
Free Windows Admin Tool Kit Click here and download it now
December 27th, 2013 8:59pm

If you use %programfiles% it will install to the (x86) directory since the console is a 32-bit app.

That's not correct. The value of the environment variable will be determined by the application using the variable and not the console; the console bit-ness plays no part in this.
December 27th, 2013 9:32pm

Unbelievable that a SCCM tool is so difficult to deploy using SCCM.

Njaah, itt not difficult, you just should find this thread and look for Torstens answer ;)

Thanks for help! Work like a charm!

Free Windows Admin Tool Kit Click here and download it now
April 14th, 2015 2:30am

Hi,

Lucky for some that it works.  For me, I have spent hours trying to get this to work without success.

SCCM application copies the files to the target workstation but the install does not start.

As a process of deduction I tried to run the same command locally on a workstation.  I have local admin on the workstation.

If I run the command line as below manually at an admin cmd prompt it does not install.  Nothing appears to happen.

consolesetup.exe DefaultSiteServerName=srvadmin.abc.local TargetDir="C:\Program Files (x86)\Configuration Manager\AdminConsole" EnableSQM=0 /q

After a lot of testing I finally got it to install from the command prompt.  The problem was that I was trying to install the console to a target other than the default location.

I amended the app in SCCM and tried to install again.  I now get the following in the appEnforce.log.

<![LOG[+++ Starting Install enforcement for App DT "System Center 2012 R2 Configuration Manager Console - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317, Revision - 9, ContentPath - C:\Windows\ccmcache\e, Execution Context - System]LOG]!><time="15:32:48.582-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:1702">
<![LOG[    A user is logged on to the system.]LOG]!><time="15:32:48.583-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:2083">
<![LOG[    Performing detection of app deployment type System Center 2012 R2 Configuration Manager Console - Windows Installer (*.msi file)(ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317, revision 9) for system.]LOG]!><time="15:32:48.586-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:2148">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317, Revision: 9]]LOG]!><time="15:32:48.594-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="localapphandler.cpp:291">
<![LOG[    App enforcement environment:
 Context: Machine
 Command line: consolesetup.exe DefaultSiteServerName=SRVFHQSCCM01.DRBY.LOCAL TargetDir=C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole EnableSQM=0 /q
 Allow user interaction: No
 UI mode: 0
 User token: null
 Session Id: 4294967295
 Content path: C:\Windows\ccmcache\e
 Working directory: ]LOG]!><time="15:32:48.595-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcontext.cpp:85">
<![LOG[    Prepared working directory: C:\Windows\ccmcache\e]LOG]!><time="15:32:48.596-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcontext.cpp:189">
<![LOG[    Prepared command line: "C:\Windows\ccmcache\e\ConsoleSetup.exe" DefaultSiteServerName=SRVFHQSCCM01.DRBY.LOCAL TargetDir=C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole EnableSQM=0 /q]LOG]!><time="15:32:48.774-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcontext.cpp:338">
<![LOG[    Post install behavior is BasedOnExitCode]LOG]!><time="15:32:48.836-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appcommon.cpp:1094">
<![LOG[    Waiting for process 5756 to finish.  Timeout = 120 minutes.]LOG]!><time="15:32:48.837-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appexcnlib.cpp:2015">
<![LOG[    Process 5756 terminated with exitcode: 2147942487]LOG]!><time="15:32:48.850-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appexcnlib.cpp:2024">
<![LOG[    Looking for exit code -2147024809 in exit codes table...]LOG]!><time="15:32:48.850-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appexcnlib.cpp:508">
<![LOG[    Unmatched exit code (2147942487) is considered an execution failure.]LOG]!><time="15:32:48.851-60" date="05-26-2015" component="AppEnforce" context="" type="2" thread="3352" file="appexcnlib.cpp:594">
<![LOG[++++++ App enforcement completed (0 seconds) for App DT "System Center 2012 R2 Configuration Manager Console - Windows Installer (*.msi file)" [ScopeId_61A1051E-23F3-42BC-8426-D31F32615FBB/DeploymentType_104a922a-2c23-449f-b2bb-c5624f970317], Revision: 9, User SID: ] ++++++]LOG]!><time="15:32:48.852-60" date="05-26-2015" component="AppEnforce" context="" type="1" thread="3352" file="appprovider.cpp:2448">

I've also noticed that every time this runs a copy of the msi file is copied into a folder at C:\Program Files (x86)\ConfigMgr10\AdminconsoleSetup\{foldername}

Can anyone shed any light on this problem please?


  • Edited by Horace O 17 hours 0 minutes ago
May 26th, 2015 10:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics